Martin Gräßlin
b8f9fb254f
Fix config dialog of Aurorae decorations
...
Install the layout on the dialog not on the KCM.
2014-02-21 12:12:05 +01:00
Martin Gräßlin
b901928801
Fix position of buttons in decoration config dialog
...
Add after the main item, not before.
2014-02-21 12:08:31 +01:00
l10n daemon script
6f8c3dd771
SVN_SILENT made messages (.desktop file)
2014-02-18 05:12:30 +00:00
Bhushan Shah
be8920d76c
kwin is now free of KDE4Support
...
REVIEW: 115760
2014-02-16 00:31:01 +05:30
Hrvoje Senjan
814ff851b4
Use correct Activities, they are now a proper framework
2014-02-13 20:06:33 +01:00
Martin Gräßlin
3ea8f0c217
[kwin/kcmdesktop] Don't crash if run on platform Wayland
...
Not much use currently as we don't have any desktops to configure,
but not crashing is nevertheless quite nice.
2014-02-11 15:27:28 +01:00
Martin Gräßlin
fdee4ea8c8
Adjust kde-workspace to introduction of flags in NET classes
2014-02-05 17:40:19 +01:00
Martin Gräßlin
9414d8f7f1
[kwin] Re-enable KActivities support
...
* KWin lists the activities in the Alt+F3 menu
* Kcmrules though looks wrong
2014-02-03 13:40:47 +01:00
Martin Gräßlin
a6c47e0314
[kwin] Add ProvidersUrl to *.knsrc
...
That at least inits the GHNS download dialog.
2014-02-03 13:04:12 +01:00
Martin Gräßlin
16c44810cb
[kwin] Drop more unused includes
...
--warnings
2014-02-03 11:45:35 +01:00
Martin Gräßlin
fcebfa799f
[kwin] Fix ordering
...
--warnings
2014-02-03 11:37:04 +01:00
Martin Gräßlin
014cdf9267
[kwin] Mark unused variables as unused
...
--warnings
2014-02-03 11:36:21 +01:00
Martin Gräßlin
981e7afa96
[kwin/kcmrules] Call setupUi before accessing the ui widgets
...
This caused a crash with Qt 5.3 dev branch as the widgets are null
before setupUi is called. Might be a bug in Qt but still it makes
sense to first call setupUi and then do further changes to the Ui.
2014-01-30 10:39:40 +01:00
Martin Gräßlin
823222567e
[kwin/kcmrules] Use a pointer for the KWindowInfo member variable
...
The reason for this change is that the default ctor of KWindowInfo
creates a broken object. Calling any method in it will result in a
crush. Thus it is scheduled for removal in kwindowsystem framework
causing this code to no longer compile.
The solution is to use a pointer and set it to null as long as the
window has not been detected yet. To ensure that this doesn't fail
badly an assert is added to the getter in DetectWidget.
2014-01-30 10:35:35 +01:00
Laurent Navet
d246518b9f
KWin: kwinoptions: port to KF5
...
CMakelist ui port to KF5
clean unneeded #include
Signed-off-by: Laurent Navet <laurent.navet@gmail.com>
REVIEW: 115272
2014-01-24 14:15:34 +01:00
Laurent Navet
2fe4d47c15
KF5 port KButtonGroup -> QGroupBox
...
Replace deprecated KButtonGroup by QGroupBox
Signed-off-by: Laurent Navet <laurent.navet@gmail.com>
REVIEW: 114423
2014-01-22 08:27:44 +01:00
l10n daemon script
551c0c49e6
SVN_SILENT made messages (.desktop file)
2014-01-20 04:05:30 +00:00
l10n daemon script
22a5e1109f
SVN_SILENT made messages (.desktop file)
2014-01-19 04:06:03 +00:00
Martin Gräßlin
544820793e
And another KNS3 build fix
2014-01-15 21:21:31 +01:00
Martin Gräßlin
930a6b5e05
Ensure the KDE4Support KNS headers are not included
...
This should hopefully unbreak the Jenkins build.
2014-01-15 20:32:40 +01:00
l10n daemon script
eac8a41fed
SVN_SILENT made messages (.desktop file)
2014-01-15 04:10:52 +00:00
l10n daemon script
1f5b73941d
SVN_SILENT made messages (.desktop file)
2014-01-14 04:06:51 +00:00
Matteo De Carlo
aad36da80b
Replace NULL with nullptr in kcmkwin
...
Replacing all NULL to nullptr in all the files in kcmkwin folder
(also substituting some "0" used as nullptr with nullptr)
REVIEW: 114803
2014-01-08 10:30:38 +01:00
l10n daemon script
ff562dc8bf
SVN_SILENT made messages (.desktop file)
2014-01-08 04:01:27 +00:00
Martin Gräßlin
2837550cbb
[kcm-kwintabbox] Add properties brightness and saturation to ThumbnailItem
...
This was missing from what is available in KWin core. The brightness and
saturation are implemented using a custom shader which uses the same
logic as what we use in the scene shader.
2014-01-03 16:54:07 +01:00
Martin Gräßlin
19d567ef7f
[kcm-kwintabbox] Use QQuickItem for Thumbnail instead of QQuickPaintedItem
...
We are only rendering an image, so it's better to load the image into a
texture. This allows to properly scale the example preview which
magically fixes all the layouting problems which used to be there.
2014-01-03 14:10:17 +01:00
Martin Gräßlin
33921a9535
[kcm-kwintabbox] Add a debug message on failed QML loading
...
If the Layout Preview fails to load the Qml, at least show a debug
message to see what's going wrong.
2014-01-03 11:24:23 +01:00
l10n daemon script
63165c870f
SVN_SILENT made messages (.desktop file)
2013-12-23 03:57:54 +00:00
Mihail Ivchenko
26f390f4ed
[kwin/kcm-tabbox] Implemented ExampleClientModel::longestCaption()
...
REVIEW: 114608
2013-12-22 12:38:05 +01:00
Martin Gräßlin
5339d28389
[kwin] Drop old kwincompositing KCM
...
It's going to be replaced by kwin-compositing-kcm, see
https://projects.kde.org/projects/playground/base/kwin-compositing-kcm
2013-12-16 13:27:56 +01:00
Martin Gräßlin
1d7ee61741
[kwin] Register QAbstractItemModel as a qml type in TabBox
...
It's needed if we don't import any Plasma components.
2013-12-16 11:48:41 +01:00
Laurent Navet
17d28f2639
KF5 port KTabWidget -> QTabWidget
...
Replace deprecated KTabWidget with QTabWidget
Signed-off-by: Laurent Navet <laurent.navet@gmail.com>
REVIEW: 114465
2013-12-16 10:10:17 +01:00
Martin Gräßlin
2486e8e36e
[kwin/kcmdeco] Add missing i18n call
2013-12-14 16:10:32 +01:00
Laurent Navet
2f62a2d1b8
KF5 Port KIntNumInput->QSpinBox
...
Replace deprecated KIntNumImput with QSpinBox
Signed-off-by: Laurent Navet <laurent.navet@gmail.com>
REVIEW: 114413
2013-12-13 08:54:42 +01:00
Laurent Navet
88fc43beeb
kwin : replace Q_FOREACH with for(a:b)
...
replace Q_FOREACH loops with newer for (a:b) notation
Signed-off-by: Laurent Navet <laurent.navet@gmail.com>
REVIEW: 114222
2013-12-13 08:54:34 +01:00
Martin Gräßlin
f5340a27c5
[kwin/tabbox] Drop define TABBOX_KCM
...
No longer needed as the preview does not include the tabboxhandler
any more.
2013-12-12 11:29:25 +01:00
Martin Gräßlin
f63797d3b1
[kcm-kwintabbox] Fix icon in preview
2013-12-12 11:26:57 +01:00
Martin Gräßlin
058a5da2dd
[kcm-kwintabbox] Adjust Preview to the new Switcher API
...
Needs to implement a dummy switcher item. As the root item of the
switchers are no longer QQuickItem derived it cannot use a QQuickView.
Instead a component gets created and the switcher is just shown on the
primary screen. It's a more appropriate preview now which is not
put into a dialog window.
To make it more realistic (and to be able to dismiss it) the preview
grabs keyboard and mouse and closes itself if escape, return, enter or
space is pressed.
As well clicking outside the preview window closes the preview.
2013-12-12 11:19:16 +01:00
Martin Gräßlin
2e78144a14
[kcm-kwintabbox] Add clipTo property to thumbnailitem implementation
2013-12-12 10:10:47 +01:00
Martin Klapetek
54bc491c46
Port to KF5 renaming changes
2013-12-11 21:41:47 +01:00
Martin Gräßlin
c063978591
Adjust to new KGlobalAccel framework
2013-12-10 07:38:54 +01:00
Martin Gräßlin
e92d02ab61
[kwin] Remove include of kdemacros.h from kwinglobals
...
Instead we generate an export header for kdeinit_kwin and use it
to declare the KWIN_EXPORT. With this change our libs don't include
any KDE4Support headers any more. One step closer to no KDE4Support.
2013-12-06 08:37:16 +01:00
Aleix Pol
f8468b4043
Drop KDE4Support in kde-workspace/kwin
...
REVIEW: 114316
2013-12-05 20:24:02 +01:00
Martin Gräßlin
a4169ae35f
Remove unneeded KDebug include
...
REVIEW: 114289
2013-12-05 09:40:48 +01:00
Martin Gräßlin
affa7da944
[kcm-kwinrules] Add option for window decoration scheme
2013-11-25 10:21:21 +01:00
Martin Gräßlin
23a510c0b5
[kdecorations] Add a ::palette() to the decoration API
...
The ::palette() in KDecoration and KCommonDecoration returns the
QPalette the decoration should use for the decorated window. The
call delegates into the bridge and KWin core might provide a special
QPalette for a given Client depending on the _KDE_NET_WM_COLOR_SCHEME
property.
2013-11-25 09:44:23 +01:00
l10n daemon script
f9a9ecceb8
SVN_SILENT made messages (.desktop file)
2013-11-25 04:11:42 +00:00
l10n daemon script
8484628fd0
SVN_SILENT made messages (.desktop file)
2013-11-24 04:09:32 +00:00
l10n daemon script
551988ebd4
SVN_SILENT made messages (.desktop file)
2013-11-23 03:52:00 +00:00
Martin Gräßlin
20d03d5754
[kcmkwindesktop] Adjust to changes in NETRootInfo
2013-11-18 13:50:18 +01:00