Commit Graph

11231 Commits

Author SHA1 Message Date
Sebastian Kügler
946a800a7a Replace QAction with KAction in containment
With this commit, plasma-framework is free from (direct) usage of
KAction. \o/

Removes any left-over KAction includes and fw-declarations.
2013-07-10 01:59:39 +02:00
Sebastian Kügler
af46f93a57 Corona's lock action becomes a QAction 2013-07-10 01:49:59 +02:00
Sebastian Kügler
fc2afcb9a1 Port global applet shortcut from KAction to QAction
- use QAction instead of KAction
- use KGlobalAccel for global shortcut registration and query
2013-07-10 01:45:41 +02:00
Sebastian Kügler
e02925b7b5 Use QAction internally in defaultActions() 2013-07-10 00:15:55 +02:00
Sebastian Kügler
dcc5b79aba Adapt to latest buildsystem changes 2013-07-10 00:12:26 +02:00
Sebastian Kügler
46cbf56226 Use module name in includes 2013-07-10 00:12:26 +02:00
Sebastian Kügler
aff9c00761 KMenu becomes QMenu throughout 2013-07-10 00:12:26 +02:00
Sebastian Kügler
f770f2903c ktextwidgets is gone 2013-07-10 00:12:26 +02:00
Alex Neundorf
a99fb9d901 -require cmake 2.8.11
plasma-frameworks doesn't seem to build with 2.8.10.1:
qt5/include/QtCore/qglobal.h:975:4: error: #error "You must build your code with position independent code if Qt was built with -reduce-relocations. " "Compile your code with -fPIC or -fPIE."

This is most probably related to all the target-property related work from Stephen in CMake 2.8.11.

Alex
2013-07-09 23:12:35 +02:00
Sebastian Kügler
377e0d72f3 fix some includes in porting script 2013-07-03 22:29:20 +02:00
Aleix Pol
b66943c9c5 fix compilation
Those components are required by some libraries. It seems to me that
this should be fixed elsewhere, but also it's not acceptable to have
modules that aren't compiling.
2013-07-03 19:19:30 +02:00
Aleix Pol
80bf4d66da Adapt to changes in QCommandLine 2013-07-03 19:16:19 +02:00
Marco Martin
5b0b17f86a respect contents hints 2013-07-01 18:21:29 +02:00
Kevin Ottens
597397b41f Revert "Enabling C++11 flags for clang and gcc"
This reverts commit 7c5e2e49ae.

In KF5, C++11 is not to be assumed on all our platforms. So don't force
it from cmake. That said we have to make sure our code builds in both
case (C++11 available or not). I'll get in touch with the build.kde.org
admins to sort that out.

CCMAIL: ivan.cukic@kde.org
2013-06-28 10:07:49 +02:00
Kevin Ottens
f9f11653ee KIconThemes have to come first 2013-06-28 07:54:08 +02:00
Kevin Ottens
be417bd8b3 Just in case we'd have just a local path 2013-06-27 22:58:24 +02:00
Kevin Ottens
12b2cdd19a Now this returns true 2013-06-27 18:36:20 +02:00
Kevin Ottens
c36c625d9c Port away from KUrl 2013-06-27 16:39:03 +02:00
Ivan Čukić
b78db9acd6 Properly initialize kded dbus object
- kded module uses underscore instead of a dash
- dbus interface is based on the generated adapter
- added the d_ptr template class
2013-06-24 09:01:16 +02:00
Ivan Čukić
7c5e2e49ae Enabling C++11 flags for clang and gcc 2013-06-23 10:37:36 +02:00
Sebastian Kügler
66e8c5aee8 KWallet has moved out of kdeui 2013-06-21 02:22:42 +02:00
Sebastian Kügler
6389825172 User Q_ macros for signals and slots 2013-06-21 02:22:02 +02:00
Sebastian Kügler
fae07da91c Bump required Qt version to a more realistic 5.2.0 2013-06-21 01:38:58 +02:00
Marco Martin
b324f520fb qt5 port of DirModel 2013-06-19 17:38:06 +02:00
Sebastian Kügler
9e6295d6b3 update comment accordingly 2013-06-19 02:53:49 +02:00
Sebastian Kügler
2b6eea985e use ecm macros for tests in qtextracomponents 2013-06-19 02:51:59 +02:00
Sebastian Kügler
66ed317518 Port and enable unit tests for core bindings
All pass.
2013-06-19 02:48:09 +02:00
Sebastian Kügler
cd7f92e648 Port libplasma unit tests to ECM macros 2013-06-19 02:06:55 +02:00
Sebastian Kügler
1fa0ab960b kguiaddons and KDE4_DEFINITIONS are not needed anymore
Also add a comment to the KDE4Libs find
2013-06-19 01:15:28 +02:00
Sebastian Kügler
eafac77910 clean up include 2013-06-19 01:15:08 +02:00
l10n daemon script
0c6c2fae87 SVN_SILENT made messages (.desktop file) 2013-06-18 03:57:44 +00:00
Andrea Scarpino
0ea93fd3d3 MacroLogFeature has been removed. See ECM_SouceIncompatChanges
REVIEW:111074
2013-06-17 21:43:59 +02:00
Sebastian Kügler
728cf2e53f don't use startdragdistance here
emit click if the cursor is still in the area regardless of the
distance travelled
this because MouseEventListener doesn't start drags

BUG:320893
FIXED-IN:4.11

cherry-picked from ac9592832893cd6562dc0747f8afc1d7f89442c8 in
kde-runtime
2013-06-17 15:25:29 +02:00
Sebastian Kügler
057d592a1a Ensure the busyindicator is square 2013-06-17 15:22:15 +02:00
Sebastian Kügler
22d261759b Fix up library finding
* Generate and install and include PlasmaTargets.cmake file
* set Plasma_LIBRARIES to KF5::plasma

-> kde-workspace build works for me.
2013-06-13 16:01:06 +02:00
Sebastian Kügler
d492584d39 Clean up macro usage
exclusively use the installPackage definition from PlasmaMacros.cmake
2013-06-13 02:19:37 +02:00
Sebastian Kügler
1156d89fce find package plasma works now 2013-06-13 01:43:35 +02:00
Sebastian Kügler
7ca5c68ddb Merge branch 'master' into cmake-config 2013-06-13 00:56:55 +02:00
Marco Martin
50ee44b70d Merge branch 'PlasmaTypesClass' 2013-06-12 11:24:03 +02:00
Sebastian Kügler
9900faefa0 Disable all TextAreas
Initializing a TextArea crashes the shell, there's a Qt bug
https://bugreports.qt-project.org/browse/QTBUG-30925 filed about this.

Since we now can't even build against an old-enough Qt, which doesn't
suffer from this crasher, disable the textareas in our code until it's
fixed.
2013-06-11 02:10:06 +02:00
l10n daemon script
6b185d2ba4 SVN_SILENT made messages (.desktop file) 2013-06-08 03:48:30 +00:00
l10n daemon script
881ad505a1 SVN_SILENT made messages (.desktop file) 2013-06-07 03:42:19 +00:00
Gregor Tätzner
ad6f58a16c Fix build error: convert qdatetime to uint 2013-06-05 19:41:58 +02:00
Aaron Seigo
3074728198 missing const 2013-06-05 16:03:54 +02:00
Aaron Seigo
57fc52b385 forward port the cache file versioning so it drops properly in all cases 2013-06-05 15:58:51 +02:00
Aaron Seigo
a1fec8dba8 add ConfigGroup here as well 2013-06-05 14:58:03 +02:00
Marco Martin
7a7914126e Switch is a CheckBox on desktop
the sliding Switch is touch specific
2013-05-25 12:50:32 +02:00
David Faure
3355360444 Ported to QCommandLineParser
(mostly because linking to kde4support doesn't actually work...)
2013-05-24 02:04:08 +02:00
Kevin Ottens
9d93cb7ccc Those files are gone, don't try to install them 2013-05-22 11:06:21 +02:00
Marco Martin
e258111e68 remove some services of deleted stuff
such as wallpapers and toolboxes
2013-05-21 12:02:42 +02:00