Commit Graph

12174 Commits

Author SHA1 Message Date
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
082e6c65e5 Small example how to dumb-port from qDebug to qCDebug 2013-11-20 04:37:47 +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
Aleix Pol
e2b40feef6 Add conversions for deprecated macros 2013-11-18 15:22:11 +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
e9d7e823ef Improve porting scripts
Prefer lowercase commands
Add cmake variables translations
Disable kde4_add_ui_files translation, we don't have a good macro for this
yet.
2013-11-15 16:22:50 +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
Aleix Pol
19d6fab067 Add a tool to follow KDE cmake coding style with regard to end commands
Removes the predicate from all of them, especially on else it was very
annoying.

http://techbase.kde.org/Policies/CMake_Coding_Style#End_commands
2013-11-14 17:22:26 +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
Sebastian Kügler
ae2ff16db7 Show some theme colors in the Theme page 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
Aleix Pol
d1171a862d Don't use KDE/ includes, they're deprecated 2013-11-11 18:29:32 +01:00
Sebastian Kügler
d76cd0acdf New Page in test components applet: Theme 2013-11-11 17:15:49 +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
l10n daemon script
61e9b989cf SVN_SILENT made messages (.desktop file) 2013-11-04 04:01:24 +00:00
David Faure
b892f68e3e Fix compilation 2013-11-03 00:28:30 +01:00
David Faure
cb9013dc93 kde4support now needs kparts (I sure hope one day we won't have to do this by hand)
But this now fails looking for kactivities (which isn't in kdelibs.git?)
2013-11-03 00:15:20 +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
Stephen Kelly
3fde4633e6 Find the new KF5Config file, not the old FindKF5 file. 2013-11-01 12:59:27 +01:00
Hrvoje Senjan
365539cf93 Fix clean build
REVIEW: 113514
2013-10-31 11:51:58 +01:00
Stephen Kelly
8f1a1b83c9 Find ECM files from ECM. 2013-10-31 09:31:56 +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