Commit Graph

1721 Commits

Author SHA1 Message Date
Andrea Scarpino
2495df8b01 Allow builds with Qt 5.2
REVIEW:114239
2013-12-02 12:27:34 +01:00
David Edmundson
9462866755 Set geometry to fill each screen correctly
DesktopView incorrectly filled the geometry of screen()
screen() will be the screen of the parent shell, not the correct
screen.

As we are using QScreen, shellcorona is ported to use that instead
of QDesktopWidget.

REVIEW: 114149
2013-11-28 14:46:18 +01:00
David Edmundson
66094ef733 Remove X-Plasma-DefaultSize from applet service type 2013-11-27 17:04:17 +01:00
Martin Klapetek
13d1f5568f Remove KLocale bindings
KLocale is now kde4support and we have QLocale QML bindings. This patch
removes the KLocale bindings from plasma-framework (they are not used
anywhere anyway).

If we miss something from KLocale in QLocale, we should upstream it.

REVIEW: 114150
2013-11-27 16:28:46 +01:00
Martin Klapetek
c29773656e Make isToday compare actual dates
So we don't have to construct awkward strings everytime.
2013-11-27 00:23:41 +01:00
Martin Klapetek
6eea4da70d Use proper index validity checking 2013-11-27 00:22:57 +01:00
Martin Klapetek
cb4d7e8b4c Emit proper signals everywhere 2013-11-27 00:22:08 +01:00
Martin Klapetek
e80e2960c6 Shuffle the code around a bit
These methods are in the middle of other together-related methods, for
no reason. Looks like corn flakes in the middle of beer. Sure, you can
do that, but why would you. Actually I should try that.
2013-11-27 00:21:22 +01:00
Martin Klapetek
33f2670f07 Remove empty Q_SIGNALS & Q_SLOTS 2013-11-27 00:13:44 +01:00
Martin Klapetek
f9cca29bd1 Make MonthMenu items not hardcoded
That's just wrong.
2013-11-27 00:07:30 +01:00
Martin Klapetek
5c6b1c9251 Rename isTodayMonth() to today()
Whoever named the method like that should be slapped over his fingers.
2013-11-26 17:28:15 +01:00
Martin Klapetek
ab97884c00 Calculate days before current month properly 2013-11-26 16:24:04 +01:00
Martin Klapetek
d1dc311345 Reinstate the month name capitalization
Some CLDR (locale) data used by Qt have standalone month names
starting with lower-case letters. So if we want to provide consistent
look across locales, we need to capitalize it ourselves

See https://bugreports.qt-project.org/browse/QTBUG-35100
2013-11-25 17:00:19 +01:00
Martin Klapetek
580d7d198a Revert capitalizing the month's name
That's a locale thing/bug.
2013-11-25 13:42:54 +01:00
Martin Klapetek
ff47006845 Add some docs to Calendar binginds 2013-11-25 13:24:49 +01:00
Martin Klapetek
224e1a620b Make the calendar applet follow current locale with first day in week
Also rename startDay property to firstDayOfWeek property so it's more
clear what it does. Handling the first day of week is changed a bit too
as QML uses 0 for Sunday while QDate uses 7 for Sunday, so the
getter/setter is accomodated to that fact and converts from 0 to 7 on
setting and vice-versa in the getter.

REVIEW: 114099
2013-11-25 13:24:30 +01:00
l10n daemon script
dca0a1119b SVN_SILENT made messages (.desktop file) 2013-11-25 04:12:18 +00:00
l10n daemon script
7726bc82e9 SVN_SILENT made messages (.desktop file) 2013-11-24 04:10:26 +00:00
Aleix Pol
f187db1e86 Remove KDE4Support dependency from plasma-frameworks (almost)
Stop using classes from kde4support:
- KComponentData is deprecated, it will be using QCoreApplication::
applicationName() and QCoreApplication::applicationVersion(). Of course,
this means that the existing shells will have to be ported. I have no
problem with doing that port myself, if I'm told where to look into.
- Drop usage of KLocale, ported to QLocale
- Drop usage of KStandardDirs, ported to QStandardPaths
- Drop usage of KIcon, ported to QIcon

Furthermore, there's a module in src/declarativeimports/locale that IIUC
exposes KLocale bindings to QML. A specific plan to port it should happen
as well.

REVIEW: 113920
2013-11-22 13:03:29 +01:00
Sebastian Kügler
ccca440859 Default to BottomEdge in Dialog
Also add a little bit of debugging to check sizing.
2013-11-20 04:05:35 +01:00
Ivan Čukić
655769c8a4 Fixed the assertion 2013-11-18 14:23:58 +01:00
Ivan Čukić
3dbb992e61 Killing containments that do not belong to any activity
Removing the legacy migration code which guesses what to do with
containments that are not assigned to an activity.

REVIEW:113919
2013-11-18 12:54:19 +01:00
Ivan Čukić
0fb9549dea Not NotRunning is not the same as Running 2013-11-18 11:08:10 +01:00
Aleix Pol
f97f506acb Remove unused variables from the cmake scripts 2013-11-15 17:00:56 +01:00
Aleix Pol
2cb4ebd6f5 Code cleanup
Remove unused includes
Remove void code logic (KCMUTILS_LIBS was always empty anyway)
2013-11-15 16:56:17 +01:00
Aleix Pol
0fa21b4af5 Iterate over the cmake scripts
Prefer using imported targets rather than cmake variables.
2013-11-15 16:46:59 +01:00
Aleix Pol
7088c9eb0d Deprecate plasma_add_plugin 2013-11-14 17:42:26 +01:00
Aleix Pol
3ef13c53dc Remove predicates on cmake end commands
http://techbase.kde.org/Policies/CMake_Coding_Style#End_commands
2013-11-14 17:25:10 +01:00
Mark Gaiser
d56f690fcf Add license to calendar component classes. 2013-11-13 13:41:41 +01:00
Bhushan Shah
80cb807aaa Make plasma-framework build without tests
REVIEW: 113831
2013-11-13 12:04:22 +05:30
Sebastian Kügler
085e232641 Export MonthMenu, calendar 2013-11-13 06:05:52 +01:00
Sebastian Kügler
4337daa38e Various layout improvements 2013-11-13 05:28:42 +01:00
Sebastian Kügler
95dc36f0ee large spacing is defaultFont.mSize().height 2013-11-13 05:26:18 +01:00
Sebastian Kügler
d248fe1955 clean up a bit 2013-11-12 05:56:10 +01:00
Sebastian Kügler
6f8d1b6ab2 correct initial date setting, theming improvement 2013-11-12 05:51:45 +01:00
Sebastian Kügler
6134503899 Navigation improvements
- fix today highlighting
- click on month name opens menu to switch month
- jump to today works
2013-11-12 04:53:50 +01:00
Sebastian Kügler
19db9c9663 Add calendar QML components to the Plugin
This allows us to keep minimal API, since the calendar view and import
really belong together. Also makes it a lot easier to provide a separate
Calendar Plasmoid.
2013-11-12 03:40:52 +01:00
Sebastian Kügler
859e2ce352 theme.smallSpacing and theme.largeSpacing
Accessors to allow centralized control of spacing in a DPI-friendly way.
Will be used to unify spacing across default widget to make them look
more consistent.

Currently, smallSpacing is font height / 10, large is font height / 2.
2013-11-11 22:53:42 +01:00
Aleix Pol
ed3e004a0d Fix build on jenkins
Don't look for QCA, it hasn't been ported to Qt5 yet, apparently
No need to use Transitional packages anymore
2013-11-11 18:40:19 +01:00
Aleix Pol
392fa639b6 Only include QCA includes where needed
There's no need to make all the framework look for the QCA includes while
they're only being used by the remote part. It could possibly be made more
specific, but I don't think those are yet being used anyway.
2013-11-11 18:29:32 +01:00
Aleix Pol
1d3da96d88 Make sure that plasma-framework is not using anything from kdelibs4
Stop finding the packages
Remove KDE4_ includes
Remove unused LIBINTL finder, provided by kdelibs
2013-11-11 18:29:32 +01:00
David Faure
f4e6d019f6 Add missing include, after all-of-QtDBus-and-QtCore removal in kdelibs headers 2013-11-10 13:03:50 +01:00
Marco Martin
2b55808042 remove qmlpackages
belongs to kde-workspace
2013-11-08 22:25:13 +01:00
Martin Gräßlin
9e32090b50 Do not add dialog to DialogShadows before it became visible at least once
Calling DialogShadows::self()->addWindow(...) will create the low level window.
If this is called before the property windowFlags is evaluated the window flag
X11BypassWindowManagerHint has no effect as that one must be present when the
window is created through the low level xcb call.

This was breaking declarative KWin scripts as KWin's windows need to have the
X11BypassWindowManagerHint.

REVIEW: 113700
2013-11-07 10:33:56 +01:00
Sebastian Kügler
44a27ca40a Update buttonDownPos in event filter
This basically fixes the clicked signal, probably a sutble change in Qt
between 4 and 5 revealed this bug.
2013-11-07 00:21:56 +01:00
Marco Martin
67f459609a make apidocs reflect reality 2013-11-04 13:11:54 +01:00
David Faure
b892f68e3e Fix compilation 2013-11-03 00:28:30 +01:00
l10n daemon script
130ccfb50d SVN_SILENT made messages (.desktop file) 2013-11-02 03:45:23 +00:00
Christoph Feck
f114f7310d Fix build with latest ThreadWeaver
REVIEW: 113535
2013-11-01 19:08:45 +01:00
Sebastian Kügler
b771cc5cb7 Panel layout: kickoff, taskmanager, systemtray
Let's see how this works for other people. :)
2013-10-31 03:00:47 +01:00
Marco Martin
3530130b19 make sure is frameless 2013-10-30 18:39:42 +01:00
Marco Martin
512aecb803 removing panels works 2013-10-30 18:37:40 +01:00
Marco Martin
33e4c1cd44 add panel action is back 2013-10-30 17:43:43 +01:00
Sebastian Kügler
7b0faed939 Remove QIconItem 2013-10-30 17:20:57 +01:00
Sebastian Kügler
4806ff5a97 No QIcon in QML anymore 2013-10-30 17:18:39 +01:00
Sebastian Kügler
77acb3b971 Fix one more icon 2013-10-30 17:03:01 +01:00
Sebastian Kügler
f30193bdfc Fix icons in ActivityManager 2013-10-30 16:51:28 +01:00
Marco Martin
b71f307ed6 hide remove action for desktop containments
they can only be removed by killing the activity itself
2013-10-30 15:33:56 +01:00
Marco Martin
1c435c56a4 ensure no borders 2013-10-30 15:18:14 +01:00
Marco Martin
ba5f74899a be more insistent on the proper size 2013-10-30 14:42:29 +01:00
Marco Martin
eedde2c2f4 remove dead code 2013-10-30 14:29:17 +01:00
Marco Martin
26c8786e57 fix close button 2013-10-30 14:11:11 +01:00
Marco Martin
1898432387 better window management 2013-10-30 14:08:32 +01:00
Marco Martin
5ab1867657 try to expose containment directly
this is something that should not be done, still searching the least invasive way
2013-10-30 13:25:46 +01:00
Marco Martin
d20bc0ea1b use a generic plasmaquickview 2013-10-30 12:46:25 +01:00
Marco Martin
b2b74b4eaa the tooltip works again 2013-10-30 12:13:04 +01:00
Marco Martin
e3a6fce753 fix listing 2013-10-30 11:50:47 +01:00
Marco Martin
1129c99296 remove close() slot 2013-10-30 11:08:35 +01:00
Marco Martin
d713dc1c13 application property 2013-10-30 11:02:54 +01:00
Marco Martin
8fbc0a4493 widgetexplorer is a pure qobject
doesn't try to load qml
2013-10-30 10:51:27 +01:00
Marco Martin
10a1a422e9 make the c++ widget explorer a pure import 2013-10-30 10:45:24 +01:00
Marco Martin
d0fd982933 rework widget explorer models as component 2013-10-29 20:55:00 +01:00
Marco Martin
3b6c2c82e3 a very raw activity manager
it's just a port of the old qml code, will need more rework
2013-10-29 18:09:05 +01:00
Kevin Ottens
8507084d62 Use the target now that KDE4Support exports one 2013-10-28 12:56:13 +01:00
Sebastian Kügler
079863cb5c show which shell is loaded in debug output 2013-10-28 04:23:55 +01:00
Sebastian Kügler
ee1ac62eb6 Fix theme font size calculation 2013-10-28 04:22:40 +01:00
Sebastian Kügler
79ad02c244 Out of bounds checking for array access
This fixes a crasher in v4, without backtrace. Trying to reproduce it
in a simpler case, but this at least makes PageStack work.
2013-10-28 04:20:52 +01:00
Sebastian Kügler
51de1b4a59 debug-- 2013-10-28 04:19:58 +01:00
l10n daemon script
beb8322c3d SVN_SILENT made messages (.desktop file) 2013-10-27 04:03:10 +00:00
Marco Martin
2d02ce8861 hide the config view at second trigger 2013-10-24 15:00:48 +02:00
Marco Martin
f14e0ee1e4 skip taskbar 2013-10-24 14:47:43 +02:00
Marco Martin
990fd3b860 get completely rid of the packageaccessmanager 2013-10-24 13:27:02 +02:00
Marco Martin
6ff8554ae7 manage plasmapackage:/ with the interceptor
not with the networkaccessmanager
2013-10-24 12:47:56 +02:00
Stephen Kelly
b071260d15 Use target name instead of variable. 2013-10-24 12:45:26 +02:00
Marco Martin
7edc668961 support close button for activity switcher 2013-10-24 12:00:35 +02:00
Marco Martin
177f000c66 rename to activitymanager 2013-10-24 11:47:18 +02:00
Marco Martin
d840f5ac69 make sure to destroy the page when closed 2013-10-24 11:39:13 +02:00
Marco Martin
52b95779ad functionality for widget explorer is there 2013-10-23 22:49:17 +02:00
Marco Martin
60e5a57c23 don't double signal containmentAdded 2013-10-23 22:38:41 +02:00
Marco Martin
e495c7cde4 new procedure of widget explorer
similar to activity switcher
2013-10-23 18:42:41 +02:00
Martin Klapetek
17e95850fa Use proper default containment name
Fixes the case when loading the default containment would fail because
the default one couldn't be found

Reviewed-by: Sebastian Kügler
2013-10-23 15:25:02 +02:00
Marco Martin
5e29c61fb7 use a Loader 2013-10-23 13:34:58 +02:00
Sebastian Kügler
3665e3b382 Add help option to plasmapkg 2013-10-23 13:08:02 +02:00
Kevin Ottens
c61c65d8e7 Make it link 2013-10-22 21:56:11 +02:00
Kevin Ottens
ce00ca976e KDE4Attic is gone 2013-10-22 18:02:39 +02:00
Kevin Ottens
e79c58807a KLocale moved in KDE4Support 2013-10-22 17:58:24 +02:00
Marco Martin
6747a13c21 stub for activitySwitcher component 2013-10-22 17:56:31 +02:00
Marco Martin
8ee1cecd81 an empty window for an activity switcher
still a stub
2013-10-22 17:35:54 +02:00
Marco Martin
e6151ac159 hide from taskbar 2013-10-22 16:36:41 +02:00
Marco Martin
c41a4f3761 smarter positioning when there is no visualparent 2013-10-22 16:19:09 +02:00
Marco Martin
82ef02217d better delay of panel creation
it also avoids recursive checkLoadingDesktopsComplete that caused a crash
2013-10-22 14:55:46 +02:00
Marco Martin
b9382aefb2 ensure waitingPanels doesn't have duplicates 2013-10-22 13:22:25 +02:00
Marco Martin
973f4a08a3 use setParentItem
should crash less (or if it does produce more readable backtraces)
2013-10-22 13:10:58 +02:00
Marco Martin
d797985ffa some fixes in the dialog 2013-10-22 13:05:13 +02:00
Marco Martin
d7aa34cc6c implement uninstall() 2013-10-22 11:20:42 +02:00
Marco Martin
bf9aefb9ad remove dead code 2013-10-22 10:51:31 +02:00
Aleix Pol
af8a7bad7d Stop using Qt5Transitional in Plasma Frameworks
Removes the find_package(Qt5Transitional) and does the proper
find_package(Qt5) with the list of modules.

Most of the porting is about using the Qt5:: targets.

REVIEW: 113345
2013-10-22 00:40:17 +02:00
Marco Martin
92847333a0 Merge branch 'mart/useActivities'
Conflicts:
	src/shell/shellcorona.cpp
2013-10-21 22:27:13 +02:00
Marco Martin
876ade83a0 get rid of WidgetExplorerView
The widget explorer window is done by a Dialog, allowing for more flexibility in shell packages
2013-10-21 22:05:38 +02:00
Martin Klapetek
2f042a51f6 Add --help option to plasma-shell executable
Reviewed-by: Sebastian Kügler
2013-10-21 16:02:02 +02:00
Marco Martin
391d6ea70b sliding popups are back 2013-10-18 17:46:57 +02:00
Marco Martin
17e133b77b dead code -- 2013-10-18 17:23:20 +02:00
Marco Martin
f81fbea365 simpler and more correct border calculation 2013-10-18 17:20:59 +02:00
Marco Martin
9423ad57f2 use Plasma::Types::Location 2013-10-18 16:50:56 +02:00
Marco Martin
0baecfcdb5 a toggleActivityManager action
still a stub, will be completely managed in qml
2013-10-18 15:56:24 +02:00
Marco Martin
9b002a8bea activity switching animation 2013-10-18 13:07:28 +02:00
Marco Martin
76fcaeae69 link to KF5::KActivities 2013-10-17 21:00:07 +02:00
Marco Martin
76260be71f make activity switching work
there is a problem in ownership of containment graphics objects, we can't reparent to 0 at the moment or it crashes
2013-10-17 20:03:44 +02:00
l10n daemon script
a709c7a64b SVN_SILENT made messages (.desktop file) 2013-10-17 03:49:12 +00:00
Marco Martin
800e5ec91c use the ctivity class and Kactivities
just building, issues with linking with kactivities, not used yet
2013-10-16 21:01:39 +02:00
Marco Martin
26c5d923fb crash--
check if the corona package is valid
2013-10-16 16:59:31 +02:00
Sebastian Kügler
0417906b60 Target names instead of vars 2013-10-16 01:40:50 +02:00
Sebastian Kügler
d5bef21f7b Rename target plasma to Plasma
This is in line with the frameworks naming policy, camelcasing. Up until
now, libplasma was the only library being KF5::plasma, that is now
KF5::Plasma.
2013-10-16 00:47:47 +02:00
Sebastian Kügler
cd5ee90d0e Clean up libplasma cmake 2013-10-16 00:28:02 +02:00
Sebastian Kügler
6f44a32c94 Clean up scriptengine's cmake 2013-10-16 00:17:34 +02:00
Sebastian Kügler
4f5aa5fab4 Disable debug output in hot path, more QString ctor improvements 2013-10-15 02:58:15 +02:00
Sebastian Kügler
0435cc8b47 Speed up interceptor
Using QStringLiterals and explicit QByteArray ctors makes it possible
for the compiler to skip the more expensive QString ctors and use very
cheap ones. This should give the interceptor a nice speedup.
2013-10-15 02:48:58 +02:00
Sebastian Kügler
9f85a7dc11 Add basic test for url interceptor 2013-10-15 02:37:06 +02:00
Sebastian Kügler
48d9bcb9f5 static QQmlNetworkAccessManagerFactory creator in urlinterceptor
Adding this one static to PackageUrlInterceptor allows us to hide it
otherwise from the API. Files can also move into private subdir, and the
factory header isn't installed anymore.
2013-10-15 02:15:54 +02:00
Sebastian Kügler
c42974f52e Move PackageUrlInterceptor and PackageAccessManager into PlasmaQuick 2013-10-15 01:08:47 +02:00
Alex Richardson
e597f66af2 fix some warnings
REVIEW: 113193
2013-10-13 15:44:08 +02:00
Sebastian Kügler
c7c9e8fefc Put steve's changes back in
CCMAIL:steveire@gmail.com
2013-10-13 02:00:32 +02:00
Sebastian Kügler
bb1c0b17de Apparently the CMakeLists.txt file got lost during last commit 2013-10-12 22:18:59 +02:00
Sebastian Kügler
c2be5b6b12 Revert bef789642e
That commit breaks the build, not finding qtest_kde.h, and cascading
errors from there.

CCMAIL:steveire@gmail.com
2013-10-12 21:47:07 +02:00
Stephen Kelly
53f12ccdde Add the dir for the plasma_export.h file. 2013-10-12 15:55:19 +02:00
Stephen Kelly
383660433c Try to fix the plasma include dirs failure on bko.
I can't reproduce it.
2013-10-12 15:49:47 +02:00
Stephen Kelly
bef789642e Remove obsolete include_directories use. 2013-10-12 15:25:19 +02:00
Aleix Pol
a3c7a9690f Make the runners API compile again
Recently there's been some big changes in the ThreadWeaver API.
So big that they break the source compatibility we were supposed to
maintain, big time.

This patch tries to port plasma-framework to that new API.

REVIEW: 113179
2013-10-10 20:28:46 +02:00
Stephen Kelly
badeec199d Add the include/KDE dir to the needed incude directories. 2013-10-10 13:03:14 +02:00
Marco Martin
63e0942ac2 visibilitymode property
doesn't do much, just disables struts
2013-10-09 18:41:08 +02:00
Marco Martin
8592875eac set the struts
sets reserved space and is on all desktops: looks like a real panel now.
visibility modes it still have to be restored
2013-10-09 18:31:28 +02:00
Aurélien Gâteau
d53a7ff03c Fix build failing to find Qt5DeclarativeConfig.cmake 2013-10-08 17:48:18 +02:00
Sebastian Kügler
bf03242380 Disable krunner-related code from the build 2013-10-08 17:37:15 +02:00
Sebastian Kügler
36dfe61309 Disable krunner-related classes from libplasma
They will be rethought, but would be blocking a threadweaver merge right
now

CCMAIL:me@vhanda.in
2013-10-08 13:47:16 +02:00
Ben Cooksley
1757ef8899 Reverse accidental change 2013-10-07 23:49:28 +13:00
Ben Cooksley
d2115ae938 Set an include path with the KF5::plasma target.
REVIEW: 113139
2013-10-07 23:48:05 +13:00
l10n daemon script
bb47758956 SVN_SILENT made messages (.desktop file) 2013-10-07 04:11:22 +00:00
Mirko Boehm (Endocode)
03e79e5c86 Fix initialization order for WallpaperInterface. 2013-10-07 01:09:47 +02:00
Mirko Boehm (Endocode)
bbe4c3cb4a Fix initialization order for WidgetExplorerView. 2013-10-07 00:57:32 +02:00
Mirko Boehm (Endocode)
a4af408b59 Fix initiaization order for Calendar. 2013-10-07 00:40:50 +02:00
Mirko Boehm (Endocode)
b590226a24 Fix initialization order for DialogProxy. 2013-10-07 00:40:41 +02:00
David Faure
f432b46fbd script-ported with kde-dev-scripts/kf5/convert-kstandarddirs.pl 2013-10-05 12:49:18 +02:00
Sebastian Kügler
f83e8f421a remove unneeded includes 2013-10-05 06:19:51 +02:00
Sebastian Kügler
6df4a21e8a Port declarative theme away from KGlobalSettings` 2013-10-05 06:19:51 +02:00
Sebastian Kügler
c244c5a24a Port theme away from KGlobalSettings 2013-10-05 06:19:51 +02:00
Sebastian Kügler
18c12fb520 Port Plasma::Svg away from KGlobalSettings 2013-10-05 06:19:51 +02:00
Sebastian Kügler
5b17b0f082 Reenable tests in declarativeimports 2013-10-05 06:19:51 +02:00
Sebastian Kügler
2ca0e0eff2 find KDELibs4 2013-10-05 04:30:19 +02:00
Sebastian Kügler
dad1466757 lower case headers 2013-10-05 04:28:26 +02:00
Sebastian Kügler
62d5e96e00 lower case headers 2013-10-05 04:26:02 +02:00
Sebastian Kügler
b0b984ac62 Port away from KStandardDirs 2013-10-05 04:22:00 +02:00
Sebastian Kügler
e6ac1d4fc8 Make scriptengine build without kde4support 2013-10-05 02:48:09 +02:00
Sebastian Kügler
42e0eb7f7a lower case includes 2013-10-05 02:48:09 +02:00
Sebastian Kügler
2c66324684 lower case includes 2013-10-05 02:48:09 +02:00
Sebastian Kügler
b036e790a2 build without kde4support 2013-10-05 02:48:09 +02:00
Sebastian Kügler
2ad8ff7c55 plasmacomponents builds without kde4support 2013-10-05 02:48:09 +02:00
Sebastian Kügler
3c81603a8b Crudely make corebindings kde4support free 2013-10-05 02:48:09 +02:00
Sebastian Kügler
7ee3a698b0 No more kde4support for dirmodel plugin 2013-10-05 02:48:09 +02:00
Sebastian Kügler
38fb14baaa KGlobalSettings replaced by QFontDatabase for smallestReadableFont 2013-10-05 02:48:09 +02:00
Sebastian Kügler
1d42fdb7a0 use lowercase includes 2013-10-05 02:48:09 +02:00
Sebastian Kügler
0aa6247dd9 Use target instead of var for KF5::KI18n 2013-10-04 23:44:36 +02:00
Sebastian Kügler
47a38c5edd Use target instead of var for KF5::KService and KCoreAddons 2013-10-04 23:42:16 +02:00
Sebastian Kügler
80a4e61a4e Use target instead of var for KF5::Solid 2013-10-04 23:40:30 +02:00
Sebastian Kügler
b2121c1e06 cmake fixes
- finally remove KDE4_KIO_LIBS
- change KDeclarative to KF5::KDeclarative
- add KService where needed
2013-10-04 19:18:34 +02:00
Aleix Pol
1891066fc2 Adapt to kdelibs ab56e2f. 2013-10-04 18:40:47 +02:00
Stephen Kelly
0e8f31644b Add some missing links.
The
2013-10-01 14:12:29 +02:00
Martin Gräßlin
ea376016c0 Add notify signal for Svg::imagePath property
The missing notify signal was causing problems in QtQuick2:
"depends on non-NOTIFYable properties".

Reviewed-By: Marco Martin
2013-10-01 11:34:39 +02:00
Sebastian Kügler
8dcfa386d0 Fix test 2013-09-26 02:00:03 +02:00
Sebastian Kügler
c49c093573 Merge branch 'master' into sebas/pluginlocator 2013-09-26 01:38:16 +02:00
Sebastian Kügler
041b11a80e Put us a taskmanager in the default panel
remove testapplet and windowlist
2013-09-26 01:37:39 +02:00
Sebastian Kügler
5b33844a0b Look up dataengines in kf5/plasma/dataengines
This changes the path where to find dataengines to the
subdirectory-per-servicetype setup.

Note: You'll need to update and reinstall kde-workspace/plasma, to
install the dataengines into the new path.

CCMAIL:plasma-devel@kde.org
2013-09-26 01:34:27 +02:00
Sebastian Kügler
8c93578acf Adjust to new API 2013-09-25 17:57:12 +02:00
Sebastian Kügler
8ba9ea0d59 Put us a taskmanager in the default panel
remove testapplet and windowlist
2013-09-25 17:42:37 +02:00
Eike Hein
7f10a19acd Fix build. 2013-09-25 09:36:33 +02:00
Marco Martin
fab4818c92 allow plasmoids to change icon
changing icon will change the icon of the default compact representation
2013-09-23 16:44:31 +02:00
Marco Martin
135d4039aa remove temp file hack and applets args 2013-09-23 11:56:49 +02:00
Marco Martin
14a3bced4a crash-- 2013-09-23 11:39:52 +02:00
Marco Martin
e16c30142f resize the graphics object as soon as possible
it avoids many resizes that take cpu cycles and mess with the layout
2013-09-20 23:28:38 +02:00
Marco Martin
4767f3a8d0 emit appletadded only when manually added
when the containment's component.oncompleted is hitted, the applet list is guaranteed to be completely correctly restored from config

we may want to support both cases in the future to make writing containment easier
2013-09-20 18:18:46 +02:00
Marco Martin
b14c23bed0 new way for sending data
plasmoid has an externalData signal, and will be used like
Connections {
        target: plasmoid
        onExternalData: {
            if (mimetype === "text/plain") {
                noteText.text = data
            }
        }
    }

a notes example applet describes its use
2013-09-20 12:59:35 +02:00
Marco Martin
3656c416f2 manage args also for pasted text without urls 2013-09-19 19:52:53 +02:00
Marco Martin
7489fa32f8 argsrc for config that can be passed as parameter
instead of args of the applet ctor, applets can define an argsrc file for what is acceptable as mimedata on drag and drop (or any other dynamic creation)
2013-09-19 19:37:10 +02:00
Marco Martin
9b3b387b0b new install targe 2013-09-18 21:36:36 +02:00
Sebastian Kügler
6307275a33 Fix include 2013-09-18 18:09:33 +02:00
Marco Martin
5b0fcd8113 platform specific resolution of imports 2013-09-18 16:34:31 +02:00
Marco Martin
d567b3414b catch file types by extension too 2013-09-18 15:41:21 +02:00
Marco Martin
6d65ece95a more strict in package resolution
also resolve js files too
2013-09-18 14:11:16 +02:00
Marco Martin
b1c49c5d44 working package redirection for qml files 2013-09-18 12:49:09 +02:00
Marco Martin
930c8647e6 add a dummy url interceptor
will be used for device specific stuff
2013-09-18 12:10:03 +02:00
Marco Martin
8f20c41931 moved containmentconfigview out of libplasmaquick 2013-09-16 19:45:49 +02:00
Marco Martin
5c25b8675a a very primitive dashboard
right now we have a single view, that gets brought to front and the wallpaper made translucent.
probably it will eventually need splitting the walppaper and the widgets in two separate views, but needs a more complex logic
2013-09-16 19:30:34 +02:00
Marco Martin
f654bf31eb action for dashboard toggle 2013-09-16 17:17:57 +02:00
Marco Martin
70cef22211 expose containmentInterface::actions
the toolbox will use it
2013-09-16 17:10:02 +02:00
Sebastian Kügler
2817591bee kcoreauthorized.h -> kauthorized.h 2013-09-16 16:16:52 +02:00
Marco Martin
e923afe0ee correctly restore popup size 2013-09-16 16:09:13 +02:00
Marco Martin
0ead10fe0b correctly save DialogHeight/DialogWidth
piece needed for Popupapplet features, still has to correctly restore it
2013-09-16 13:05:42 +02:00
l10n daemon script
cb69c812f5 SVN_SILENT made messages (.desktop file) 2013-09-15 04:18:15 +00:00
Marco Martin
786bd7b7af emit uiready also for empty containments 2013-09-13 20:03:25 +02:00
Marco Martin
1586c1b82a if size is empty don't do the compact check
with a null size none of the representations will work anyways. an empty
size may happen when the applet has just been loaded and the containment
still has to adjust it
2013-09-13 19:55:55 +02:00
Marco Martin
ee510e5fca add --windowed option
if passed the destop view is windowed no matter what. probably useful
only in the early stages of development
2013-09-13 18:34:21 +02:00
Marco Martin
cb1064fd32 the desktop view exposes a way to be desktop win
the desktop shell will set the window as a "desktop" window, always
behind. some other shells will have the desktop as a normal window
the api can still expand
2013-09-13 16:42:07 +02:00
Aaron Seigo
0c68fa35bc indentation is not rocket science, but without it we lose maintainability 2013-09-13 16:29:30 +02:00
Aaron Seigo
5903d97966 regexps are expensive to create, we ask for packages a lot, cache the re 2013-09-13 16:29:29 +02:00
Marco Martin
5735faec03 move setsource into desktopview 2013-09-13 15:20:36 +02:00
Marco Martin
9bc1c68fca remove the private init 2013-09-13 15:11:49 +02:00
Marco Martin
15d4de4b4a correctly load panels when the shell gets switched 2013-09-13 14:50:05 +02:00
Eike Hein
7c9ad840d1 Make panels default to spanning the screen axis. 2013-09-12 19:21:50 +02:00
Marco Martin
29d10cc4b5 add a todo where shellmanager panel management should be done 2013-09-12 18:58:16 +02:00
Ivan Čukić
fe58688e09 Desktop is now always willing 2013-09-12 18:41:10 +02:00
Giorgos Tsiapaliokas
443216a29b KF5::plasmaquick -> KF5::PlasmaQuick 2013-09-12 17:16:30 +03:00
l10n daemon script
7996972078 SVN_SILENT made messages (.desktop file) 2013-09-12 04:08:57 +00:00
Sebastian Kügler
2d46621818 Test for loading a dataengine 2013-09-12 02:29:33 +02:00
Sebastian Kügler
cd5be142ed Use KPluginTrader to load dataengine 2013-09-12 02:29:09 +02:00
Sebastian Kügler
5e845c7c4b Add more tests, esp for containment loading 2013-09-12 02:04:32 +02:00
Sebastian Kügler
e81b635406 Use KPluginTrader to locate the dataengine. 2013-09-12 02:03:52 +02:00
Sebastian Kügler
58a2a8d6bb Tests for Plasma::PluginLoader 2013-09-12 01:31:37 +02:00
Eike Hein
eaef6cfbcb Make KDeclarativeMouseEvent's button prop usable in QML.
Qt::MouseButton is not registered, so use int instead. This
matches QML's own MouseEvent.button property.

Ack'ed by Marco Martin.
2013-09-11 19:02:27 +02:00
Marco Martin
f4d222c9c4 very crude support for a string default in choices
still a long way to real enums
2013-09-11 18:52:05 +02:00
Eike Hein
e95c4b8550 ++sense; 2013-09-11 18:35:14 +02:00
Eike Hein
21c0f9e6df Fix build. 2013-09-11 18:25:00 +02:00
Marco Martin
cdc778f417 test applet for config uis 2013-09-11 17:39:09 +02:00
Marco Martin
6e3b20a3e6 some documentation 2013-09-11 15:26:16 +02:00
Marco Martin
5b5c1a5a1c move private stuff in private/ 2013-09-11 15:18:19 +02:00
Marco Martin
c33282e37f move configcategory in own file 2013-09-11 15:13:31 +02:00
Marco Martin
819bece755 ppendCategory with data to avoif exposin ConfigCategory 2013-09-11 14:55:10 +02:00
Marco Martin
2c108e0036 get rid of QQmlListProperty accessors in public clas 2013-09-11 14:44:28 +02:00
Marco Martin
6bf3f54783 configmodel in own file 2013-09-11 14:40:45 +02:00
Martin Gräßlin
52e96b41df Ensure that the WindowThumbnail is not trying to render a thumbnail of itself
Recursive window thumbnails would look awesome on the screen, but reality
is that X/OpenGL or $DEITY doesn't like it at all and decided to just
freeze the view.

So let's delay all the redirecting till the WindowThumbnail has been
added to its QQuickWindow and if the window id is the one of the own
window we just render the icon instead.
2013-09-11 13:57:40 +02:00
Marco Martin
452d39a98e add a desktop view 2013-09-11 12:18:51 +02:00
Marco Martin
5157958c00 reimplement showConfigurationInterface 2013-09-11 12:05:09 +02:00
Marco Martin
98a681a0e7 View -> PlasmaQuickView 2013-09-11 11:48:37 +02:00
Marco Martin
a94dd49b32 rename remaining plasmaview to plasmaquick 2013-09-11 11:23:56 +02:00
Marco Martin
a7e9b1261b just use c++0x for now
gcc 4.6 and msvc still don't have -std=c++11
2013-09-11 11:15:29 +02:00
Marco Martin
247c01170a libplasmaview -> libplsmaquick
this library will contain all the reusable qtquick and qml related bits necessary for plasma
2013-09-11 11:13:27 +02:00
Giorgos Tsiapaliokas
97ada33110 Merge branch 'plasmaview'
REVIEW: 112447
2013-09-11 11:51:39 +03:00
Martin Gräßlin
91d306d2e8 QQuick item for live updating window thumbnails
New qquick item in PlasmaCore to render a live updating window
thumbnail. The implementation uses XCB to redirect the specified
window using the composite extension. This means a running compositor
is not required. Through the damage extension the item tracks changes
to the window and triggers updates of the texture. Furthermore the
item tracks geometry changes of the window to recreate the window
pixmap.

If the pixmap of the window is valid, a texture is generated from it
using the glx texture from pixmap extension. For this a new optional
dependency for glx is added. On platform where glx is not available
(e.g. Windows, Linux with OpenGL ES) this will not get compiled and
the window's icon is used instead as a fallback.

REVIEW: 112142
2013-09-11 09:45:47 +02:00
Giorgos Tsiapaliokas
30c3e2cdc1 we don't have these headers anymore so don't install their FooBar 2013-09-11 09:21:17 +03:00
Giorgos Tsiapaliokas
ff7c854e30 remove the TODOs, they are done 2013-09-11 09:19:17 +03:00
l10n daemon script
eba2125d6e SVN_SILENT made messages (.desktop file) 2013-09-11 04:16:36 +00:00
Marco Martin
8b627f8c01 fix build 2013-09-10 21:15:09 +02:00
Marco Martin
eccf797920 Merge branch 'plasmaview2' into plasmaview3
Conflicts:
	src/plasmaview/shellpackage_p.cpp
	src/plasmaview/shellpackage_p.h
	src/plasmaview/view.cpp
	src/plasmaview/view.h
	src/shell/CMakeLists.txt
	src/shell/desktopcorona.cpp
	src/shell/shellcorona.cpp
	src/shell/shellpluginloader.cpp
2013-09-10 20:59:47 +02:00
Giorgos Tsiapaliokas
70ab0cfc48 KF5::plasmaview -> KF5::PlasmaView 2013-09-10 20:47:34 +02:00
Giorgos Tsiapaliokas
bf2619a79a move shellpluginloader back to shell
Conflicts:
	src/plasmaview/CMakeLists.txt
	src/shell/shellpluginloader.cpp
2013-09-10 20:47:25 +02:00
Giorgos Tsiapaliokas
0235eb82d5 add the missing include 2013-09-10 20:44:59 +02:00
Giorgos Tsiapaliokas
94806e9e2b don't export ConfigCategory 2013-09-10 20:44:42 +02:00
Giorgos Tsiapaliokas
768d0c07a8 KF5::plasmaview -> KF5::PlasmaView 2013-09-10 20:44:36 +02:00
Giorgos Tsiapaliokas
2bb94a1aa0 use variable names instead of KF5:: 2013-09-10 20:44:31 +02:00
Giorgos Tsiapaliokas
bae445f795 don't include the file, we don't need it
Conflicts:
	src/shell/shellcorona.cpp
2013-09-10 20:44:02 +02:00
Giorgos Tsiapaliokas
b6db500fef add includes/PlasmaView/ShellPluginLoader 2013-09-10 20:41:57 +02:00
Giorgos Tsiapaliokas
dc26a8a3da add some more apidocs in the configview 2013-09-10 20:41:53 +02:00
Giorgos Tsiapaliokas
9faa53540a add apidocs for the shellpluginloader 2013-09-10 20:41:49 +02:00
Giorgos Tsiapaliokas
ff34152432 use d_ptr in shellpluginloader 2013-09-10 20:41:44 +02:00
Giorgos Tsiapaliokas
52e57cfdd5 build the shellpackage again 2013-09-10 20:41:39 +02:00
Giorgos Tsiapaliokas
854b956fbc shell/shellpackage.cpp -> plasmaview/shellpackage_p.cpp
shell/shellpackage.h -> plasmaview/shellpackage_p.h
2013-09-10 20:41:36 +02:00
Giorgos Tsiapaliokas
5714b65883 shell/shellpluginloader.cpp -> plasmaview/shellpluginloader.cpp
shell/shellpluginloader.h -> plasmaview/shellpluginloader.h
2013-09-10 20:41:31 +02:00
Giorgos Tsiapaliokas
f4d6c14ebc src/plasmaview/containmentconfigview.cpp -> src/plasmaview/containmentconfigview_p.cpp
src/plasmaview/containmentconfigview.h -> src/plasmaview/containmentconfigview_p.h
2013-09-10 20:41:27 +02:00
Giorgos Tsiapaliokas
426d34e6e2 add some apidocs 2013-09-10 20:41:23 +02:00
Giorgos Tsiapaliokas
39d2575ce2 don't install containmentconfigview.h 2013-09-10 20:41:18 +02:00
Giorgos Tsiapaliokas
4f435ccf85 Revert "use d pointer in containmentconfigview"
This reverts commit 22fc5cebf449ec2a3d4f9ce8a40d11ffde1345f9.

There is no need to export it since only the View is using
it.

Conflicts:
	src/plasmaview/containmentconfigview.cpp
	src/plasmaview/containmentconfigview.h
2013-09-10 20:41:13 +02:00
Giorgos Tsiapaliokas
23ec4639c5 remove unneeded code 2013-09-10 20:41:09 +02:00
Giorgos Tsiapaliokas
ff79662287 add apidocs for the View 2013-09-10 20:41:05 +02:00
Giorgos Tsiapaliokas
e4810b9e95 make it protected again 2013-09-10 20:41:01 +02:00
Giorgos Tsiapaliokas
efc9356b71 include the right header 2013-09-10 20:40:56 +02:00
Giorgos Tsiapaliokas
59aaee1278 remove configview.cpp 2013-09-10 20:40:52 +02:00
Giorgos Tsiapaliokas
cba8948fa2 use d_ptr in configview 2013-09-10 20:40:47 +02:00
Giorgos Tsiapaliokas
ef865b9f45 shell/configview.cpp -> plasmaview/configview.cpp
shell/configview.h -> plasmaview/configview.h
2013-09-10 20:40:42 +02:00
Giorgos Tsiapaliokas
52fa3113e5 currentcontainmentactionsmodel.cpp -> currentcontainmentactionsmodel_p.cpp 2013-09-10 20:40:38 +02:00
Giorgos Tsiapaliokas
38afa72e8d use d pointer in containmentconfigview 2013-09-10 20:40:34 +02:00
Giorgos Tsiapaliokas
8c4bbf10c2 don't install currentcontainmentactionsmodel.h 2013-09-10 20:40:29 +02:00
Giorgos Tsiapaliokas
e58ee74ff9 use d pointer in view 2013-09-10 20:40:24 +02:00
Giorgos Tsiapaliokas
4fc23e7eb8 add plasmaview/includes/ 2013-09-10 20:40:20 +02:00
Giorgos Tsiapaliokas
2699ff1826 add plasmaview/PlasmaViewConfig.cmake.in 2013-09-10 20:40:16 +02:00
Giorgos Tsiapaliokas
0567075f9c add plasmaview/CMakeLists.txt 2013-09-10 20:39:33 +02:00
Giorgos Tsiapaliokas
ba5a92a132 add the plasmaview subdir 2013-09-10 20:39:27 +02:00
Giorgos Tsiapaliokas
caa2d738fa make use of the plasmaview 2013-09-10 20:39:15 +02:00
Giorgos Tsiapaliokas
9e4e6e2444 shell/containmentconfigview.cpp -> plasmaview/containmentconfigview.cpp
shell/containmentconfigview.h -> plasmaview/containmentconfigview.h
shell/currentcontainmentactionsmodel.cpp -> plasmaview/currentcontainmentactionsmodel_p.cpp
shell/currentcontainmentactionsmodel.h -> plasmaview/currentcontainmentactionsmodel_p.h
shell/view.cpp -> plasmaview/view.cpp
shell/view.h -> plasmaview/view.h
2013-09-10 20:39:10 +02:00
Marco Martin
33dae6b18c support for setting a wallpaper trough drag and drop 2013-09-10 17:57:51 +02:00
Marco Martin
d101966f91 use a dynamic property
so qml doesn't see it
2013-09-10 16:38:16 +02:00
Marco Martin
52c3a27e18 support for wallpaper actions 2013-09-10 15:51:22 +02:00
Marco Martin
bfbeae9969 propagate containmentTypeChanged 2013-09-10 12:43:25 +02:00
Marco Martin
6bbc8cb420 propagate drawWallpaperChanged 2013-09-10 12:38:41 +02:00
Marco Martin
e5b2907b53 documentation in ContainmentInterface 2013-09-10 12:25:37 +02:00
Marco Martin
075395e6d1 more documentation 2013-09-10 11:58:55 +02:00
Marco Martin
bde39854d3 remove unused method 2013-09-10 11:48:34 +02:00
Marco Martin
27c9c859ef documentation++ 2013-09-10 11:45:02 +02:00
Wojciech Kapuscinski
ea835ccdb1 remove all links to kdeqt5staging
QCommandLineParser is now in qt5

REVIEW: 112558
2013-09-10 10:13:05 +02:00
Martin Gräßlin
97ce3dc808 Rework finding of XCB
Uses the new components syntax of FindXCB. So far plasma frameworks
only need the XCB component and that one is optional just like XLib.

The find xcb is moved to the toplevel CMakeLists.txt together with
the find x11 and HAVE_X11 gets set only if both X11 and XCB are found.

REVIEW: 112499
2013-09-09 06:14:35 +02:00
l10n daemon script
45879b3d0b SVN_SILENT made messages (.desktop file) 2013-09-07 04:15:43 +00:00
Marco Martin
0f86bd5b6e fix size hints propagation 2013-09-06 19:22:14 +02:00
Marco Martin
1b9d6cbb13 experiment support for panel auto resize 2013-09-06 18:36:12 +02:00
Marco Martin
abbe19722f use native text rendering 2013-09-06 13:43:19 +02:00
l10n daemon script
42f4f3059e SVN_SILENT made messages (.desktop file) 2013-09-05 04:02:11 +00:00
Marco Martin
e4bfec918e remove color wallpaper from this repo 2013-09-04 12:28:29 +02:00
Marco Martin
3781be8f71 example wallpaper 2013-09-04 11:57:46 +02:00
Marco Martin
8f74e67f9d old test applets live now in examples 2013-09-04 11:57:46 +02:00
Marco Martin
4291b0d20e Revert "remove test applets"
This reverts commit b983ab2c72.
2013-09-04 11:57:46 +02:00
Eike Hein
c4075ddaed Move the screen prop up into AppletInterface.
This makes 'plasmoid.screen' available not just for con-
tainments, but for all applets, as required by the Task
Manager applet. Unfortunately Qt's APIs don't expose any
screen numbering, so that route was off the table.

Ack'ed by Marco Martin.
2013-09-04 11:46:28 +02:00
l10n daemon script
47efcc2f03 SVN_SILENT made messages (.desktop file) 2013-09-04 04:08:55 +00:00
Marco Martin
75d9ea6a95 hardcoded enum values-- 2013-09-03 15:54:11 +02:00
Marco Martin
89ae53097f unbreak mouse release event 2013-09-03 15:51:25 +02:00
Marco Martin
55d973385e convert location to Plasma::Types::Location 2013-09-03 15:44:13 +02:00
Marco Martin
b983ab2c72 remove test applets 2013-09-03 14:52:41 +02:00
Marco Martin
f6cdcd3a1c config file is plasma-org.kde.desktop-appletsrc
or plasma-shellname-appletsrc whatever shellname is
2013-09-03 13:46:42 +02:00
Marco Martin
9289405991 experiment with ConditionalLoader 2013-09-03 13:11:12 +02:00
Sebastian Kügler
f6c661f297 org.kde.desktop is not a containment 2013-09-03 03:31:28 +02:00
Sebastian Kügler
3535ce72b0 only reference existing packges 2013-09-03 03:29:11 +02:00
Sebastian Kügler
5479b56d67 default to org.kde.desktoptoolbox
This package exists, org.kde.toolbox doesn't
2013-09-03 03:28:11 +02:00
Sebastian Kügler
8915fd4004 Show package path in warning 2013-09-03 03:25:24 +02:00
Sebastian Kügler
be11b191a8 Fix include 2013-09-03 01:28:10 +02:00
Marco Martin
de6d0f12d0 Corona::packageChanged() signal
views listen to it to know when to reload theirview qml file
2013-09-02 21:06:35 +02:00
Marco Martin
29042ed585 remove redundancy 2013-09-02 20:54:11 +02:00
Marco Martin
800298935f use a QmlWallpaper package type for wallpapers 2013-09-02 20:25:04 +02:00
Marco Martin
2e14e707fe remove done todos 2013-09-02 19:43:51 +02:00
Marco Martin
9252de77f9 don't depend from shellpluginloader 2013-09-02 19:26:48 +02:00
Marco Martin
03b812ea06 move ShellPackage in libplasma
the shell plugin loader only has the look and feel package now
2013-09-02 19:25:03 +02:00
Marco Martin
b32a42c8e8 Corona::setPackage(QString) uses a Package
* symmetrical api in Corona
* there is no default package
2013-09-02 18:04:22 +02:00
Marco Martin
5005f2c879 add acceptedButtons prop as MouseArea 2013-09-02 15:38:00 +02:00
Ivan Čukić
fd9757688a Missing files 2013-09-02 13:31:50 +02:00
Ivan Čukić
3ba0708120 Added support for shell switching 2013-09-02 11:51:44 +02:00
Ivan Čukić
7d83f87127 Removed DesktopCorona 2013-09-02 11:34:35 +02:00
Eike Hein
752faa454d Fix build. 2013-09-02 00:11:37 +02:00
Ivan Čukić
6657090107 Added documentation for the Application class 2013-09-01 13:35:18 +02:00
Ivan Čukić
f786c74020 Ported the broken branch to a new one 2013-08-31 17:47:29 +02:00
Marco Martin
e8a4332034 re-add the calendar qml component
CCMAIL:heena393@gmail.com
2013-08-31 15:23:04 +02:00
Marco Martin
ea1b6374c3 add paste by default 2013-08-30 18:30:24 +02:00
Marco Martin
6b38c2c6af port all machinery for drag and drop on containments
still missing wallpaper support
2013-08-30 15:47:01 +02:00
Marco Martin
7bc3fbc589 appletAdded becomes AppletAdded(applet,x,y) 2013-08-30 14:15:48 +02:00
Marco Martin
087bc4d8fe adjust processMimeData to work with paste plugin 2013-08-30 12:50:35 +02:00
Marco Martin
5ecaf1d08b add shadows to dialogs 2013-08-29 15:11:07 +02:00
Marco Martin
81f4ab704b enable panel shadows 2013-08-29 14:56:29 +02:00
Marco Martin
4c79f8fcff fix datamodel (adapt to api change)
also, change some connects to the new syntax, so next time a thing like
that gets catched
2013-08-28 22:11:55 +02:00
Marco Martin
68a693af67 adapt to api change 2013-08-28 21:08:23 +02:00
Marco Martin
e00070da7e hack to make possible to set the applet position
when a dnd operation is done, set the applet position before emitting the appletAdded signal
2013-08-28 15:21:33 +02:00
Marco Martin
f3729cac2d correctly filter child events 2013-08-28 14:21:51 +02:00
Marco Martin
314ba53f67 adapt to api change 2013-08-28 14:12:28 +02:00
Marco Martin
86a2847c84 revert bd6927138f
apparently we can't tap into the valuetype conversion of QFont at all
theme.mSize(font) it is
2013-08-28 14:07:07 +02:00
Marco Martin
82a880396f install i18n iff hasn't been done yet 2013-08-28 13:53:42 +02:00
Marco Martin
d78fdf1e5d imple add applet mechanism 2013-08-28 13:50:53 +02:00
Marco Martin
04f11788ea stub for drag and drop and paste mechanism 2013-08-28 13:23:27 +02:00
Sebastian Kügler
9b1b090159 Install header for dataengineconsumer 2013-08-28 03:52:14 +02:00
Marco Martin
bd6927138f restore mSize attached property of theme fonts 2013-08-27 17:35:10 +02:00
Eike Hein
915598dca2 Add missing returns.
CCMAIL:notmart@gmail.com
2013-08-27 16:02:33 +02:00
Marco Martin
8c252e6c17 translate trigger strings 2013-08-27 15:54:05 +02:00
Marco Martin
8052ed8566 use the componentized button for input 2013-08-27 15:27:02 +02:00
Marco Martin
6617a26726 correctly save and restore containmentactions config 2013-08-27 15:23:19 +02:00
Marco Martin
b44f9d17cb make the plugin selector combobox work 2013-08-27 13:27:49 +02:00
Marco Martin
39b49bf464 get rid of containmentActions::config() 2013-08-27 12:10:51 +02:00
Marco Martin
409b38a1e5 use switch desktop by default 2013-08-27 11:58:36 +02:00
Marco Martin
5ecb5185f7 support wheel events 2013-08-27 11:56:37 +02:00
Marco Martin
7c139742a6 accept all buttons
so menus for all mouse events can be generated
2013-08-27 11:13:17 +02:00
Sebastian Kügler
bcbfea3576 Less debug 2013-08-27 04:27:48 +02:00
Sebastian Kügler
19c4b555d5 Less warnings in TabButton 2013-08-27 04:27:28 +02:00
Sebastian Kügler
fd7ba8497a Use QVariantMap for data argument in newData
We need to pass the data as QVariantMap to the QML runtime, otherwise
the object can't be decoded client-side.
2013-08-27 04:26:00 +02:00
Sebastian Kügler
cbd1fa335c Remove debugging rects from drag test 2013-08-26 21:43:53 +02:00
Sebastian Kügler
fa20d4b99b Parent QDrag to Item's parent
This seems more in line with general semantics, although it probably
doesn't make much of a difference here.
2013-08-26 21:43:52 +02:00
Marco Martin
9a9ac9f9e5 containment actions config ui fully working 2013-08-26 21:22:06 +02:00
Marco Martin
f2f2a2b7c5 CurrentContainmentActionsModel in own file
working about button
2013-08-26 18:30:57 +02:00
Marco Martin
bf82942528 delete config widget when closed 2013-08-26 17:58:23 +02:00
Marco Martin
0a3eae6806 correctly show configuration ui
but kded5 goes berserk when it gets closed
2013-08-26 17:50:17 +02:00
Marco Martin
410fac542c clip the scrollview for sorrect slide effect 2013-08-26 14:59:43 +02:00
Marco Martin
35748e1f1e correct action input field 2013-08-26 14:58:59 +02:00
Marco Martin
01f041b3ef get rid of outer scrollview
unbreaks wheel for modules
2013-08-26 14:57:15 +02:00
Sebastian Kügler
357c964956 Improve Drag and Drop test 2013-08-26 02:24:20 +02:00
Sebastian Kügler
acba1e9471 Fix a bunch of leftovers from porting, add debug 2013-08-26 02:23:24 +02:00
Sebastian Kügler
20e9241c3a Remove KDE4Defaults 2013-08-26 02:21:53 +02:00
Sebastian Kügler
663b394d5e hasColor method for mimedata 2013-08-26 02:19:31 +02:00
Sebastian Kügler
3ccf499854 Paint a row of icons for the mimetypes 2013-08-24 03:43:26 +02:00
Sebastian Kügler
7a52638408 Fix image 2013-08-24 01:17:59 +02:00
Sebastian Kügler
6628cf0a7c Small stylistic improvement 2013-08-24 01:09:45 +02:00
Sebastian Kügler
b9723c3142 Make QCommandLineParser static
No need to pass it around this way to set up the containment.
2013-08-24 01:07:47 +02:00
Sebastian Kügler
7cddcb64c1 Remove fake i18n function from widgetsexplorer 2013-08-24 01:07:30 +02:00
Sebastian Kügler
4cd608d09d Use QTextStream for output 2013-08-24 00:29:48 +02:00
Marco Martin
f5099f21fd new model type for the current containment actions
qml invocable methods to add and remove entries
2013-08-23 18:52:57 +02:00
Marco Martin
0502f8f972 put the current containment actions in a ConfigModel 2013-08-23 16:31:09 +02:00
Marco Martin
d025f583b2 use kdeclarative in configview
export current containment actions
2013-08-23 15:35:56 +02:00
Sebastian Kügler
4fcedcbc46 Port to QCommandLineParser 2013-08-23 01:06:05 +02:00
Marco Martin
0e107c4f1f very raw stub for containment actions config
correctly lists them, still not possible to config them
2013-08-22 21:45:18 +02:00
Andreas Cord-Landwehr
24c60ed48c Fix button width computation when height is set.
This commit fixes the button label overlapping over the button borders
when the button height is manually set to a value bigger than the
icon's smallsize.

Review done by notmart on IRC.
2013-08-22 21:14:42 +02:00
Marco Martin
1b2a75a819 add some i18n() in the test applet 2013-08-22 17:01:28 +02:00
Marco Martin
d58f1d0a17 revert last commit
create compactRepresentation in the compactrepresentation *component*
creation context

this way root is accessible by id
2013-08-22 15:04:56 +02:00
Marco Martin
dbc02cd44b root qml item accessible from plasmoid.rootItem
this way objects in compactRepresentation can access the root object
properties as plasmoid.rootItem.propertyName
2013-08-22 14:55:05 +02:00
Sebastian Kügler
9745fe5535 fix TypeError on dialog exit 2013-08-22 04:51:35 +02:00
Sebastian Kügler
824c8d0511 Set wallpaperplugin to the ConfigDialog before applying
Makes switching between wallpaper plugins work for me.
2013-08-22 04:47:47 +02:00
Sebastian Kügler
757e1d4a3e Coding style 2013-08-22 04:47:29 +02:00
Marco Martin
0a73ce2850 if hover events are accepted, intercept them too 2013-08-20 23:03:57 +02:00
Marco Martin
4426b4e089 ensure the panel doesn't get focus
will still have to get it when an applet status marks itself as accepting input
2013-08-20 22:54:48 +02:00
Eike Hein
4d5bac5f22 Ignore child event types we're not explicitly interested in.
MouseEventListener listens to both child events and events passing
through itself; child events are recorded so the handler for the
latter can perform a comparison and avoid emitting signals for the
same event again. However, this comparison could fail because the
member used to record the last child event would also be updated
for events we were not actually interested in.

A real-world example of this is opening a popup menu in repsonse to
a Press event. This causes an Ungrab event on the child, which would
cause the comparison to fail and mousePressEvent to announce the same
press yet again.

CCBUG:323067
2013-08-20 19:53:46 +02:00
Marco Martin
b690e612cc expose correctly useConfiguring 2013-08-20 18:34:52 +02:00
David Edmundson
0ddc59af24 Enable QML Debugger
REVIEW: 112127
2013-08-20 17:27:37 +01:00
Marco Martin
b768f17c14 get rid of paintInterface 2013-08-20 18:19:39 +02:00
Marco Martin
590cb7baa7 a property in Applet to tell if the user is configuring
pure model, doesn't actually carry the config dialog, but serves as bookkeeping
2013-08-20 18:17:20 +02:00
Marco Martin
98612b983d use the global type for ContainmentType 2013-08-20 17:21:05 +02:00
Martin Gräßlin
531e6c3db5 Fix linking
KDEUI is dead which caused quite some collateral damage in our
CMakeLists.
2013-08-20 07:47:09 +02:00
l10n daemon script
c3742a068c SVN_SILENT made messages (.desktop file) 2013-08-20 04:24:25 +00:00
Marco Martin
d68e452545 correctly pass fillWidth and hints to outer layers 2013-08-19 18:29:14 +02:00
Marco Martin
ea69577005 export fillWidth/fillHeight properties
with those should hopefully be possible to have widgets behaving like the taskbar
2013-08-19 17:44:40 +02:00
Marco Martin
5e376058c8 remove old test panel 2013-08-19 17:08:03 +02:00
Marco Martin
9aba51f7a3 put a windowlist in the panel by default 2013-08-19 15:54:21 +02:00
heena mahour
1e36c3b326 Merge branch 'heenamahour/plasma2' 2013-08-17 08:18:35 +00:00
heena mahour
b17ca9f007 Merge branch 'heenamahour/gsoc' of git://anongit.kde.org/plasma-framework into heenamahour/plasma2 2013-08-17 08:15:01 +00:00
l10n daemon script
3880ffb13f SVN_SILENT made messages (.desktop file) 2013-08-17 04:14:06 +00:00
heena mahour
31fe4360a7 original Desktop 2013-08-16 16:16:44 +00:00
heena mahour
3fb515ca6d Added margin Hints to highlight and indent Desktop.qml 2013-08-16 15:36:32 +00:00
heena mahour
57d2b1ee18 Added marginHints in Highlight.qml 2013-08-16 15:16:43 +00:00
Marco Martin
902f98ed6e make sure the plugin config gets restored 2013-08-14 15:13:35 +02:00
Marco Martin
834f73a101 fix loading of containmentactions plugins 2013-08-14 14:09:01 +02:00
Aaron Seigo
55d6c78c9a forward port of patch from master to fix crash due to non-existing theme 2013-08-14 14:07:19 +02:00
Marco Martin
6be0228694 export containmentactions plugins in the new way 2013-08-14 11:45:12 +02:00
Marco Martin
6440cc0bee less border margin 2013-08-14 10:42:56 +02:00
Sebastian Kügler
0d909073c5 noise-- 2013-08-14 05:48:03 +02:00
Sebastian Kügler
b14d63b367 Don't crash when an applet can't be loaded from disk 2013-08-14 05:47:38 +02:00
Sebastian Kügler
2256c5ad1c Fix text elide in button and toolbutton
Also use a Plasma.Label, instead of doing it on our own
2013-08-14 05:46:55 +02:00
Sebastian Kügler
c76b5137e2 Fix empty group operations
There appears to be a subtle change in KConfig*, which means that if a
config group is empty, it won't be listed in groupsMap. Since operations
files can have empty groups, which are simply calls without arguments,
these would not be listed, and thus not be callable at all.

Fix: Add a dummy item per group, not beautiful, but effectively makes it
work.
2013-08-14 03:29:46 +02:00
Sebastian Kügler
7fb579610a Return QObject* instead of Service*
Service* is not understood as return type, QObject is.
2013-08-14 03:26:43 +02:00
Marco Martin
7515f665c7 make possible for wallpaper plugins to align with
the plugin combobox
2013-08-13 20:30:36 +02:00
heena mahour
5766fcc9cd ehh, not be pushed 2013-08-13 12:53:44 +00:00
Marco Martin
4c2a1046c2 use just a combobox 2013-08-13 14:44:07 +02:00
Marco Martin
2a293e0680 fix left sidebar 2013-08-13 14:08:08 +02:00
Marco Martin
32d04b1809 fix wallpaper selection 2013-08-13 11:57:31 +02:00
Marco Martin
d12cf22305 default to "desktoptoolbox" 2013-08-13 11:10:56 +02:00
Martin Gräßlin
f50a5412ba Drop windowId property from PlasmaCore.Dialog
Property windowId was according to the comments only provided because
KWin needed it. KWin's usecase was to know the window Id of the window
where a given item is rendered to. In QtQuick a QQuickItem provides a
pointer to the QQuickWindow holding the item. This means this hack is no
longer needed.

REVIEW: 112033
2013-08-13 06:47:10 +02:00
Sebastian Kügler
0b5d791e2b Add lockWidgets to containment interface 2013-08-13 04:19:13 +02:00
Sebastian Kügler
0859a1fe58 header cleanup 2013-08-13 01:34:42 +02:00
Sebastian Kügler
8fd2313b88 Macro name change: installPackage becomes plasma_install_package
This naming is in line with the naming policy for frameworks.
2013-08-13 01:01:39 +02:00
Sebastian Kügler
f5d8853624 Reduce KStandardDirs usage 2013-08-13 00:43:51 +02:00
Sebastian Kügler
61fc0fece0 replace testcontainment with real desktopcontainment
Delete the testcontainment package, which is only one file + metadata
anyway.

This means that in order to run the default plasma-shell, an
installation of kde-workspace[frameworks-scratch] is needed.
2013-08-12 22:59:21 +02:00
Marco Martin
7d607b49a8 show panel also if is the last containment to be added in startup 2013-08-12 20:08:36 +02:00
Marco Martin
bd82f72a40 fix layout 2013-08-12 18:41:21 +02:00
Kevin Ottens
72485975cb It is the sole user of isMultiHead so move the code there 2013-08-12 18:12:11 +02:00
Marco Martin
0978d2f73a Merge branch 'mart/prettyStartupSequence'
Conflicts:
	src/scriptengines/qml/plasmoid/containmentinterface.cpp
2013-08-12 14:42:58 +02:00
Marco Martin
78978cd7e3 get rid of appletcreationtimer 2013-08-12 14:38:10 +02:00
Marco Martin
ebe6bbe1ab init the panels only when desktops are ready 2013-08-12 14:35:02 +02:00
Marco Martin
daf4f9daa9 debug-- 2013-08-12 13:39:49 +02:00
Marco Martin
04650605e5 don't emit uireadychanged if not changed 2013-08-12 13:38:31 +02:00
Sebastian Kügler
6fb75ac5f8 use plasma_add_plugin macro 2013-08-10 01:22:48 +02:00
David Faure
83cc2a25f4 Some KStandardDirs->QStandardPaths porting 2013-08-09 22:11:42 +02:00
Marco Martin
8750d01f40 move the tracking of uiReady into libplasma
doesn't still have nothing about ui, is completely bookkeeping, but is
easier to have it correct there
2013-08-09 21:51:13 +02:00
Marco Martin
8ff1ace31c containment connection happens before 2013-08-09 20:17:11 +02:00
Sebastian Kügler
59ea65e859 Include QUrl instead of qurlpathinfo.h
Fixes build. Thanks to Teo for detective work! :)

CCMAIL:teo@kde.org
2013-08-09 17:06:41 +02:00
Marco Martin
ebdfbb2e25 containments emit uiready only when all applets did 2013-08-09 14:58:36 +02:00
Marco Martin
0d9bc6d7be fix delayed loading of containments 2013-08-09 11:56:58 +02:00
Sebastian Kügler
fd3f1eaa35 Reduce KDE4 usage in cmake setup 2013-08-09 05:22:20 +02:00
Sebastian Kügler
db9b0016d1 remove last remains of kdebug 2013-08-09 04:14:26 +02:00
Marco Martin
336055edc5 experiment in delaying the panel creation 2013-08-08 22:18:45 +02:00
Marco Martin
f979e1bbcb remove view::init 2013-08-08 20:23:53 +02:00
Marco Martin
5d4f1b381f load the wallpaper before setting the screen
we want the wallpaper showing before the plasmoids.
we still need to load the wallpaper only after a screen has been
assigned, but will be done after
2013-08-08 17:59:30 +02:00
Marco Martin
ce13335f36 make really sure the wallpaper is loaded only once
and that an empty wallpaper is not loaded at all
2013-08-08 17:21:11 +02:00
Marco Martin
9b52bfad89 the scriptengine has an uiReady property
will be used for some experiments later: we can track if the ui
machinery has been correctly initialized.
we'll use that to ensure the applets gets initialized and prepared only
after their containment has been
2013-08-08 16:12:31 +02:00
Marco Martin
279c622b27 remove include() 2013-08-08 15:52:13 +02:00
Marco Martin
8c93e1f6cd remove loadui/loadservice 2013-08-08 15:51:29 +02:00
Marco Martin
f69f40c909 remove configChanged() 2013-08-08 15:38:40 +02:00
Marco Martin
484b7d9b55 port to new connect syntax 2013-08-08 15:37:13 +02:00
Marco Martin
980e482f4d convert a bunch of connects to new syntax
avoid future risks of connects silently failing
2013-08-08 13:50:03 +02:00
Marco Martin
0ed6b09e85 remove relkeaseVisualFocus, was unused and not belonging to Applet
anymore
2013-08-08 13:37:36 +02:00
Sebastian Kügler
fcad129997 Remove K_EXPORT_PLUGIN macro from platformstatus 2013-08-07 02:54:32 +02:00
Sebastian Kügler
b57678f5d1 Remove K_EXPORT_PLUGIN macro from kpart 2013-08-07 02:54:20 +02:00
Sebastian Kügler
7554419e1d Remove K_EXPORT_PLUGIN macro from plasma/scripting 2013-08-07 02:52:37 +02:00
Sebastian Kügler
606c565f4a Remove deprecated K_EXPORT_PLUGIN from libplasma 2013-08-07 02:50:20 +02:00
Kevin Ottens
418bcfa75a Add missing includes
The latest changes to KImageCache are slightly source incompatible, so
some types have to be included earlier.
2013-08-06 18:59:47 +02:00
Alex Richardson
7e8f62acad fix including sortfiltermodeltest.moc 2013-08-06 18:21:25 +02:00
Vishesh Handa
cf445d2cdb Plasma QueryMatch: Fix documentation about non existing parameter 2013-08-06 18:50:27 +05:30
Marco Martin
d654c68713 don't call a ctor from another
this should work with stricter compiler options
2013-08-06 15:06:07 +02:00
Marco Martin
d1a3f07bce stackview has the currentitem, not page property 2013-08-06 14:35:16 +02:00
Eike Hein
f63357bd29 Make the setData() accessor take a QVariant as payload.
The implementation now specifically tries to support byte arrays
being passed in, which is what the base class speaks. To try and
retain the previous behavior anything else is attempted to be
converted to a string and failing that, silently dropped.

REVIEW:111748
CCBUG:322567
2013-08-06 12:01:53 +02:00
Sebastian Kügler
0368d7423c Merge branch 'sebas/kplugins'
This includes the ctor for dataengines, plus some more work on this topic.

REVIEW:111691
2013-08-05 18:37:41 +02:00
Sebastian Kügler
03045bbfd1 Allow a bit more time for copying,
should fix spurious failures on our build slaves
2013-08-05 17:59:32 +02:00
Marco Martin
d49956e458 delay collapse of the applet in popup
is expensive, so event-compress
also, since the creation of qml objects is async (and the event loop will continue to go) it may cause race conditions instead
2013-08-05 17:43:27 +02:00
Sebastian Kügler
b89451fb25 Merge branch 'master' into sebas/kplugins 2013-08-05 16:30:23 +02:00
Marco Martin
100c940a63 propagate size hints from compact representation 2013-08-05 15:46:36 +02:00
Marco Martin
ea42678895 make minimumWidth/maximum/implicit exportable
both the applet and its compact representation can now export minimumWidth,implicitWidth etc and those are exported to the root graphics item.

the minimum width of the applet is used to collapse in popup
2013-08-05 15:37:21 +02:00
Marco Martin
16ad4d7a14 sunc alignment too 2013-08-05 13:50:36 +02:00
Marco Martin
838c8569f9 less noise 2013-08-05 13:44:23 +02:00
Marco Martin
a4d9a394db correctly update layout when the formfactor changes 2013-08-05 13:42:11 +02:00
Marco Martin
ca2f8a7a3a install in the right place 2013-08-05 13:28:59 +02:00
Chusslove Illich (Часлав Илић)
2e7c58b987 Temporary fix for translations location binding.
insertCatalog calls will not be used either way.
2013-08-05 11:19:11 +02:00
Marco Martin
83e5e96278 use controls layouts 2013-08-05 10:47:59 +02:00
heena mahour
18266f3ab7 import org.kde.dirmodel 2.0 installed 2013-08-03 10:21:05 +00:00
Marco Martin
c0f5a18184 proper resize 2013-08-02 20:38:12 +02:00
Marco Martin
66b974be59 reexport screenchanged signal 2013-08-02 17:35:18 +02:00
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