Commit Graph

832 Commits

Author SHA1 Message Date
Marco Martin
3065e80679 adjust borders when the panel moves 2013-08-02 17:33:57 +02:00
Marco Martin
e5eb38faad enable borders based on location 2013-08-02 16:26:36 +02:00
l10n daemon script
07181e036c SVN_SILENT made messages (.desktop file) 2013-08-02 04:25:21 +00:00
Kevin Ottens
3eaa4d83f4 runnermodeltest is manual not automated 2013-08-01 12:38:47 +02:00
Sebastian Kügler
3e35fe8baa Fix multiline qDebug 2013-08-01 12:20:29 +02:00
Sebastian Kügler
d9aa851e17 Fix fallout from qDebug -> kDebug porting
* Multi-line debug statements were essentially broken
* There's still a bunch of #include "QDebug" in there, which seems wrong

* It's not necessary to comment most occurrences in src/plasma, since
  they're wrapped wiht #ifdef NDEBUG already.

CCMAIL:ervin@kde.org
2013-08-01 12:15:38 +02:00
Sebastian Kügler
767cd813ae Fix qDebug/kDebug port
Kevin, this apparently wasn't caught by your script. Just so you know.
:)

CCMAIL:ervin@kde.org
2013-08-01 11:47:01 +02:00
Sebastian Kügler
f034b84daf add ctor back in that got lost during the merge 2013-07-30 21:31:12 +02:00
Sebastian Kügler
b9dec2cd99 Use kservice test as well 2013-07-30 21:26:47 +02:00
Sebastian Kügler
fd65125a24 Change macro name according to change in kdelibs 2013-07-30 21:26:16 +02:00
Kevin Ottens
0e590217f8 Port away from kdebug 2013-07-30 08:05:09 +02:00
Sebastian Kügler
839c271535 Merge branch 'master' into sebas/kplugins 2013-07-30 01:09:40 +02:00
Giorgos Tsiapaliokas
6d000fe183 s/QVariantHash/QVariantMap.
QVariantHash isn't consumable from QML
2013-07-29 19:09:06 +03:00
Sebastian Kügler
33e7bc3f90 QVL is not needed in private parts 2013-07-29 17:25:08 +02:00
Sebastian Kügler
bed3980eba Add macro for metadata handling, clean up 2013-07-29 17:22:59 +02:00
Sebastian Kügler
66bcd2ba95 Process arguments -- unbreaks plasmapkg 2013-07-29 16:40:11 +02:00
Sebastian Kügler
8da8375802 brutally add KDE4Attic 2013-07-29 11:50:47 +02:00
Sebastian Kügler
89d886ddf9 Port away from KDE4* macros 2013-07-29 00:40:41 +02:00
Sebastian Kügler
66a0a5d4e7 Clean up some KDE4-specific calls 2013-07-29 00:39:32 +02:00
Sebastian Kügler
cf04b69494 Port away from KDE4 2013-07-29 00:18:14 +02:00
Sebastian Kügler
302c10cd9e Check if applet's plugininfo is valid 2013-07-29 00:16:21 +02:00
Sebastian Kügler
6aeac53535 Remove QVariantList from DataEngine ctor 2013-07-28 13:06:32 +02:00
Sebastian Kügler
8f65a6c349 Disable KIO::KEMailSettings until it's fixed 2013-07-26 00:54:42 +02:00
Sebastian Kügler
8d21b76595 Reinstate K_EXPORT_PLUGIN 2013-07-26 00:54:12 +02:00
Sebastian Kügler
d3b9cf5f35 merge 2013-07-25 14:45:49 +02:00
Kevin Ottens
c42406cabc Pull in the KDE4Attic dependency 2013-07-25 11:54:15 +02:00
Martin Gräßlin
20b9d17e4c Adjust RunnerManager to new ThreadWeaver API using JobPointer
ThreadWeaver does not use Job* anymore which made the code compile fail
and some connects being wrong.

This patch adjusts RunnerManager to also use QSharedPointer<FindMatchJob>
instead of FindMatchJob*. It simplifies a few things as we do no longer
have to call e.g. qDeleteAll and fixes the incorrect connects.

REVIEW: 111650
2013-07-25 06:58:21 +02:00
l10n daemon script
07df8225d8 SVN_SILENT made messages (.desktop file) 2013-07-23 04:05:37 +00:00
Sebastian Kügler
1ac357d06b pimp plugintest -- all work 2013-07-23 03:28:37 +02:00
Sebastian Kügler
7a4a2c438f Clean up dataengine ctor 2013-07-23 01:49:13 +02:00
Sebastian Kügler
20aab89cd7 test name has changed 2013-07-23 01:30:52 +02:00
Sebastian Kügler
58b0398089 test name streamlined 2013-07-23 00:33:22 +02:00
Sebastian Kügler
f1f2c0518b Disable non-compiling line, add warning 2013-07-22 23:34:29 +02:00
Sebastian Kügler
ec29302515 Update types API 2013-07-22 17:00:02 +02:00
Sebastian Kügler
4141a5f074 Update types API 2013-07-22 16:59:40 +02:00
Sebastian Kügler
0d6098875d Merge branch 'master' into sebas/kplugins 2013-07-22 16:45:13 +02:00
Sebastian Kügler
98fa023616 KDEDModule has moved to KDBusAddons 2013-07-22 16:44:54 +02:00
Sebastian Kügler
c7927b907b Merge branch 'master' into sebas/kplugins 2013-07-22 16:37:25 +02:00
Sebastian Kügler
3894e8989e Adapt to new threadweaver API
dequeueRaw is not yet in threadweaver, so this commit goes from "doesn't
build" to "almost builds", it will fix itself once Mirko has committed
the dequeueRaw patch to threadweaver, however.
2013-07-22 14:13:45 +02:00
Sebastian Kügler
06925637a7 Merge branch 'master' into sebas/kplugins 2013-07-18 11:59:42 +02:00
Marco Martin
0234bae6d4 port category delegate to qtcontrols 2013-07-16 23:37:20 +02:00
Marco Martin
6f8cda6fea appletconfiguration completely ported 2013-07-16 21:20:41 +02:00
Marco Martin
8e9ae71e19 first porting of simple pieces to QtControls 2013-07-16 21:16:28 +02:00
Marco Martin
c0f3730686 forward port the scrolling fixes of plasma1 vers 2013-07-16 19:30:25 +02:00
Sebastian Kügler
668a1bc05e Merge branch 'master' into sebas/kplugins 2013-07-16 17:49:21 +02:00
Benjamin Port
ec8cb5662b Remove include dirs for ki18n not needed anymore with Target 2013-07-16 11:05:03 +02:00
Benjamin Port
a730d47c3c fix build (ki18n rename) 2013-07-15 16:01:59 +02:00
Benjamin Port
239d12360c kprotocolinfo header not in kio/ anymore 2013-07-15 15:24:25 +02:00
l10n daemon script
f8c4a90b14 SVN_SILENT made messages (.desktop file) 2013-07-14 04:18:53 +00:00
Sebastian Kügler
84cd704368 Merge branch 'master' into sebas/kplugins 2013-07-12 10:35:09 +02:00
Alex Neundorf
454bf83be3 -adapt to current changes in kdelibs regarding kde4support: use ${KDE4Support_LIBRARIES} when using it
Search for KDE4Support, but after searching KDELibs4, this is hackish, but currentlx necessary due to
cyclic dependencies we still have

Alex
2013-07-11 22:57:04 +02:00
Sebastian Kügler
20e67f4db6 Merge branch 'master' into sebas/kplugins
Conflicts:
	CMakeLists.txt
2013-07-10 03:48:15 +02:00
Sebastian Kügler
0d2b2e2893 Port widgetsexplorer from KStandardDirs to QStandardPaths 2013-07-10 03:46:22 +02:00
Sebastian Kügler
d56bf246de Port PluginLoader from KStandardDirs to QStandardPaths 2013-07-10 03:27:19 +02:00
Sebastian Kügler
0822e4cb9e Applet::globalShortcut becomes QKeySequence
- Port away from KShortcut
- Use QKeySequence instead of QShortcut (which might be the obvious
  choice, for two reasons:
	- QKeySequence doesn't require QWidgets
	- It's really all we need

This reduces KShortcut and QShortcut usage in plasma-framework to zarro.
2013-07-10 02:33:28 +02:00
Sebastian Kügler
843ad0b429 Remove kmenu include -- reduces warnings 2013-07-10 02:32:30 +02:00
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
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
6edfe46e56 Use QAction internally in defaultActions() 2013-07-10 00:11:58 +02:00
Sebastian Kügler
21c04fd3d3 Merge branch 'master' into sebas/kplugins
Conflicts:
	CMakeLists.txt
2013-07-09 02:34:36 +02:00
Sebastian Kügler
ca3d78dd46 Use module name in includes 2013-07-09 01:50:34 +02:00
Sebastian Kügler
ca5c059ecf KMenu becomes QMenu throughout 2013-07-09 00:55:03 +02:00
Sebastian Kügler
e9a459a262 Instantiate KPluginInfo from args
This uses the new ctor in KPluginInfo, which handles the args passed
from KPluginLoader nicely and constructs a KPluginInfo from them.
2013-07-04 02:58:26 +02:00
Aleix Pol
80bf4d66da Adapt to changes in QCommandLine 2013-07-03 19:16:19 +02:00
Sebastian Kügler
de78cb0b95 Port away from KService usage 2013-07-03 17:22:39 +02:00
Sebastian Kügler
c035f704a1 Port away from KService usage 2013-07-03 17:22:20 +02:00
Sebastian Kügler
5d41347527 Experiment with loading the KPluginInfo from the plugin's metadata 2013-07-03 05:13:25 +02:00
Sebastian Kügler
a9c022f5b9 Cleanups 2013-07-03 05:12:30 +02:00
Sebastian Kügler
95aa0eee7d remove tdata accessor again 2013-07-03 00:41:54 +02:00
Sebastian Kügler
f9502edb14 Convert to use QVariantMap throughout
This makes it possible again to use DataSource.data from QML. Some more
optimizations are needed, but it already basically works.
2013-07-03 00:39:54 +02:00
Sebastian Kügler
ad08301db4 Add temporary QVariantMap data accessor 2013-07-02 03:21:30 +02:00
Marco Martin
5b0b17f86a respect contents hints 2013-07-01 18:21:29 +02:00
Sebastian Kügler
8b2eae67c5 Add missing cmake file 2013-07-01 13:51:04 +02:00
Sebastian Kügler
07c17812ca Merge branch 'master' into plugins
Conflicts:
	CMakeLists.txt
2013-07-01 04:17:09 +02:00
Sebastian Kügler
13e7584eea Port to new macro 2013-07-01 03:58:25 +02:00
Sebastian Kügler
a21400096a Load the time engine from the KService 2013-06-29 05:50:59 +02:00
Sebastian Kügler
9035691567 Adjust test to new api 2013-06-29 05:50:59 +02:00
Sebastian Kügler
6c0a13f3b1 use create factory 2013-06-29 05:50:59 +02:00
Sebastian Kügler
849d0a2b17 header has changed 2013-06-29 05:50:59 +02:00
Sebastian Kügler
dac60f8ab8 Load the time engine and get data out of it. 2013-06-29 05:50:59 +02:00
Ivan Čukić
1680e728ee 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-29 05:50:59 +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
Sebastian Kügler
dc94c2c83b Add pluginstest to build 2013-06-24 15:24:33 +02:00
Sebastian Kügler
7830cad43c small test app for plugin loading
Loads a dataengine right now, for testing purposes of KPlugin*
2013-06-24 15:23:45 +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
Sebastian Kügler
6389825172 User Q_ macros for signals and slots 2013-06-21 02:22:02 +02:00
Marco Martin
b324f520fb qt5 port of DirModel 2013-06-19 17:38:06 +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
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
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
Script Kiddy
8df122a0f6 SVN_SILENT made messages (.desktop file) 2013-05-20 09:04:00 +02:00
Script Kiddy
34a379c706 SVN_SILENT made messages (.desktop file) 2013-05-17 09:45:57 +02:00
Marco Martin
669ed7a35c register Units 2013-05-16 13:39:30 +02:00
Marco Martin
9930890ce3 blur behind in the panel controller 2013-05-16 13:08:05 +02:00
Marco Martin
f22e4be172 fix startupcompleted constraints
use the new panel toolbox
2013-05-16 13:08:05 +02:00
Marco Martin
981ae1cdd6 close on focus out 2013-05-16 13:05:04 +02:00
Alex Merry
98130b33fe Add the "theme" directory to the plasmoid directory structure
This adds an extra step to the lookup of SVG images created with the
Svg() global function: after looking in images/ in the plasmoid and then
in the desktop theme, it looks in theme/$DESKTOP_THEME_NAME and then
theme/ in the plasmoid.

This allows plasmoid authors to add images that they want to allow theme
authors to override.

Forward-port of review request 109857.
2013-05-16 13:05:04 +02:00
Alex Merry
ba1a7d0d35 Fix debug build
Fix a pointer-dereference of a non-pointer variable.
2013-05-16 13:05:04 +02:00
Script Kiddy
436fdf1de6 SVN_SILENT made messages (.desktop file) 2013-05-16 09:58:04 +02:00
Marco Martin
749d8d900c add private ctor 2013-05-15 19:56:13 +02:00
Marco Martin
570d0bdc05 export the Plasma::Types object 2013-05-15 19:51:05 +02:00
Marco Martin
aa2c4a6595 add all Q_ENUMS in Plasma::Types 2013-05-15 19:48:44 +02:00
Marco Martin
75cbf80f47 add Units from Plasma1 2013-05-15 17:58:30 +02:00
Marco Martin
e07cbe99af allow last column to be bigger
last column wisth is regulated by the page's implicitWidth, but the
final with will always be a multiple of columnWidth
2013-05-15 14:16:44 +02:00
Marco Martin
40fd2f23ca Rename BackgroundHints 2013-05-14 21:02:54 +02:00
Marco Martin
13045faffa rename ItemStatus 2013-05-14 20:49:50 +02:00
Marco Martin
6e113e6176 rename MarginEdge 2013-05-14 20:37:16 +02:00
Marco Martin
8f2e5b2375 renamed ComponentType 2013-05-14 20:33:34 +02:00
Marco Martin
7761a995f2 rename ImmutabilityType 2013-05-14 20:27:32 +02:00
Aaron Seigo
e4739a9aad Merge branch 'kded_platformstatus' 2013-05-14 19:26:40 +02:00
Marco Martin
aad4945cf8 rename PopupPlacement 2013-05-14 19:16:37 +02:00
Marco Martin
7b3c29ee07 rename Plasma::Position 2013-05-14 19:08:43 +02:00
Marco Martin
6b4d1f31d1 rename Plasma::Direction 2013-05-14 18:44:12 +02:00
Marco Martin
52b42a247e rename Plasma::ActionType 2013-05-14 18:39:07 +02:00
Marco Martin
c90e6d23cf rename Plasma::ContainmentType 2013-05-14 18:34:40 +02:00
Marco Martin
812b9a06ab get rid of Plasma::Location 2013-05-14 18:27:27 +02:00
Marco Martin
9b9fbf6eb9 get rid of Plasma::FormFactor 2013-05-14 18:19:33 +02:00
Marco Martin
ad2fe77745 get rid of Plasma::Constraint 2013-05-14 18:08:58 +02:00
Marco Martin
042267f7a0 blur behind in the panel controller 2013-05-13 17:40:58 +02:00
Marco Martin
bc5d14ddb1 fix startupcompleted constraints
use the new panel toolbox
2013-05-13 14:25:57 +02:00
Marco Martin
9b56022d12 close on focus out 2013-05-13 11:20:42 +02:00
Alex Merry
33d41aea3d Add the "theme" directory to the plasmoid directory structure
This adds an extra step to the lookup of SVG images created with the
Svg() global function: after looking in images/ in the plasmoid and then
in the desktop theme, it looks in theme/$DESKTOP_THEME_NAME and then
theme/ in the plasmoid.

This allows plasmoid authors to add images that they want to allow theme
authors to override.

Forward-port of review request 109857.
2013-05-11 12:30:07 +01:00
Alex Merry
355a95fe92 Fix debug build
Fix a pointer-dereference of a non-pointer variable.
2013-05-11 12:24:24 +01:00
Marco Martin
e07600a83f Put all Plasma emums in a Types class
This makes possible to use them directly frmo QML
as a minus, is not pretty and requires tons of search and replace in old
c++ code
2013-05-10 19:29:13 +02:00
Marco Martin
13c5cf9380 use dialogRoot.vertical 2013-05-09 20:48:36 +02:00
Marco Martin
8d4ddfe2a5 snap 2013-05-09 20:46:51 +02:00