Commit graph

38 commits

Author SHA1 Message Date
Martin Gräßlin
ee20101142 Fix deprecated warnings for KAboutData
Ctor with catalog name got deprecated, use ctor without it.
2014-04-28 17:11:20 +02:00
Martin Gräßlin
336a870f5e [kcmkwin] Fix locating the effect configurations
No longer in kf5/ prefix.
2014-04-28 14:06:18 +02:00
Martin Gräßlin
7fcecc616c Drop "kwin4_effect_" prefix for BuiltIn Effects
This removes all the hacks to add kwin4_effect_ to the name of the Effect
and adjusts the desktop files of the effect configuration's parent
component.

Note: the scripted effects still start with kwin4_effect_ prefix.

REVIEW: 117367
2014-04-28 13:52:50 +02:00
Martin Gräßlin
98d813050e [kcmkwin/desktop] Use BuiltInEffects for integration with Effects
The desktops KCM allows selecting between the virtual desktop switching
effects. For those it offers configuring and showing the information.

The KServiceTypeTrader based search is adjusted to be only used for the
scripted effects. The built-in effects are queried through the
information available through the BuiltInEffects namespace.
2014-04-28 13:51:30 +02:00
Marco Martin
7380379fcf we don't have different widgets for vd anymore 2014-04-11 16:46:28 +02:00
Martin Gräßlin
dbf2218338 [kwin] kde4_add_ui_files -> qt5_wrap_ui
Less deprecated CMake usage.
2014-03-18 11:06:56 +01:00
Martin Gräßlin
dc58fc2c32 [kwin/kcms] Another round of kdialog removals 2014-03-18 09:11:07 +01:00
Martin Gräßlin
b38722dc04 [kwin] Adjust to changes in NETRootInfo ctor
Takes flag types.
2014-03-17 08:30:58 +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
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
Aleix Pol
f8468b4043 Drop KDE4Support in kde-workspace/kwin
REVIEW: 114316
2013-12-05 20:24:02 +01:00
Martin Gräßlin
20d03d5754 [kcmkwindesktop] Adjust to changes in NETRootInfo 2013-11-18 13:50:18 +01:00
Martin Gräßlin
72c76ce423 Port KCMDesktop to Qt 5 2013-09-27 13:43:15 +02:00
Sebastian Kügler
08a53e6a11 Remove K_EXPORT_PLUGIN macros
Include .moc file in configs_builtins.cpp, and reenable the build of the
configs.

REVIEW:111940
2013-08-08 13:47:25 +02:00
Martin Gräßlin
98a04893a6 Use mgraesslin@kde.org for my mail address in Copyright and AboutData 2013-03-12 13:17:53 +01:00
Martin Gräßlin
b5ed419ec6 Remove all Q_WS_X11 ifdefs
Not sure why some KCMs used the define, but complete KWin is not compiled
for WIN32 and the define is useless in Qt 5 anyway.

REVIEW: 108319
2013-01-11 08:35:47 +01:00
Martin Gräßlin
be30716c97 Add walk through desktops shortcuts to Virtual Desktops KCM
BUG: 306404
FIXED-IN: 4.11
REVIEW: 108287
2013-01-10 08:27:23 +01:00
Martin Gräßlin
70f9290fb1 DesktopChangeOSD settings are now stored in Script group
The setting whether the osd is shown influences the enabled
state of the script plugin.
2012-03-02 09:10:11 +01:00
Martin Gräßlin
fb4d148f53 Move control of desktop layout from pager to KWin
The desktop layout (number of rows) should be
controlled by the window manager as it is also
responsible for the number of desktops and the
names of them.

The setting for the rows is moved from the pager
UI to the virtual desktops KCM. The desktop layout
is set when KWin starts and updated by the KCM.

With this change there is no process claiming the
manager selection for pager any more. This means
the KDE Plasma Workspaces are no longer compliant
to the complete section of _NET_DESKTOP_LAYOUT in
the EWMH.

REVIEW: 102073
BUG: 277965
FEATURE: 105779
FEATURE: 213353
FIXED-IN: 4.8.0
2011-07-31 16:47:27 +02:00
Martin Gräßlin
0a7e48f7aa KWin uses kdelibs coding style. 2011-01-31 20:07:03 +01:00
Martin Gräßlin
1114d8efa4 Less Krazy warnings please: Using QPointers when showing modal dialogs via exec().
svn path=/trunk/KDE/kdebase/workspace/; revision=1063328
2009-12-17 21:04:32 +00:00
Martin Gräßlin
391f4a3e23 Plasma part for setting the number of rows in desktop kcm is missing, so we hide it.
Will be back when trunk reopens and I have to bug Plasma devs to implement it ;-)

svn path=/trunk/KDE/kdebase/workspace/; revision=1063035
2009-12-16 19:46:42 +00:00
Martin Gräßlin
2bb79520b6 Add wrap around desktops to multiple desktops kcm.
svn path=/trunk/KDE/kdebase/workspace/; revision=1046328
2009-11-08 12:18:59 +00:00
Lucas Murray
8a8428e41c Less Krazy warnings please.
svn path=/trunk/KDE/kdebase/workspace/; revision=1042572
2009-10-30 06:51:59 +00:00
Marco Martin
5c73896b33 make the different activity for each desktop option actually work, by
using dbus calls on plasma (the option will still be disabled if
plasma-desktop isn't running)

svn path=/trunk/KDE/kdebase/workspace/; revision=1029999
2009-10-01 11:14:52 +00:00
Martin Gräßlin
b61c6b1ccb Adding option to only show the desktop name in the desktop change OSD.
This brings back the behaviour of the old popup info.
FEATURE: 193926

svn path=/trunk/KDE/kdebase/workspace/; revision=1028358
2009-09-26 19:49:12 +00:00
Laurent Montel
24270ef9f3 enable disable spinbox when we change checkbox state
svn path=/trunk/KDE/kdebase/workspace/; revision=1024342
2009-09-16 12:08:40 +00:00
Michael Jansen
09f7f97831 When removing a desktop set the associated actions global shortcut to empty.
svn path=/trunk/KDE/kdebase/workspace/; revision=1021775
2009-09-10 00:24:45 +00:00
Michael Jansen
fdb11557bf Finally fix setting the global shortcuts. That's how it is supposed
to be done.

svn path=/trunk/KDE/kdebase/workspace/; revision=1021774
2009-09-10 00:24:43 +00:00
Michael Jansen
044acd9591 HINT: It's not the right way to call forgetGlobalShortcut just because you want
to set a new global shortcut for a action. Have a look at the parameters
of setGlobalShortcut()

The method is now only called for newly created actions. No need to overwrite
existing shortcuts. Step 2 will follow with next commit.

svn path=/trunk/KDE/kdebase/workspace/; revision=1021773
2009-09-10 00:24:41 +00:00
Michael Jansen
f37efe22c9 Add a undo() method that does what its name suggest for the global shortcuts
and call it where appropriate.

Leaving the dialog with cancel now leaves the user settings unchanged.
As expected.

svn path=/trunk/KDE/kdebase/workspace/; revision=1021767
2009-09-09 23:44:08 +00:00
Michael Jansen
fff3477452 1. Move adding the "Switch to Desktop %1" actions to init()
2. Document the relation between setting numberSpinBox and filling m_editor
   with defaults

svn path=/trunk/KDE/kdebase/workspace/; revision=1021766
2009-09-09 23:44:06 +00:00
Michael Jansen
22cb0b0226 Never ever discrespect the users current setting. NEVER
svn path=/trunk/KDE/kdebase/workspace/; revision=1021764
2009-09-09 23:44:02 +00:00
Michael Jansen
6b8a3a61a1 ALLWAYS set isConfigurationAction if you create action just for
configuration purposes.

And do it before you set a global shortcut. Doing it after that is good
intention but still tool late.

svn path=/trunk/KDE/kdebase/workspace/; revision=1021763
2009-09-09 23:43:58 +00:00
Thomas Lübking
1f365bf428 BUG: 153799
BUG: 187952
CCBUG: 197992
CCBUG: 203320

extrapolate and (if available) set shortcuts for new virtual desktops
automatically

svn path=/trunk/KDE/kdebase/workspace/; revision=1011934
2009-08-16 12:19:07 +00:00
Laurent Montel
e785ec1993 Fix signal/slot
svn path=/trunk/KDE/kdebase/workspace/; revision=1000074
2009-07-20 19:39:31 +00:00
Christoph Feck
92edeb1fe4 Fix double margins
svn path=/trunk/KDE/kdebase/workspace/; revision=999968
2009-07-20 17:18:02 +00:00
Martin Gräßlin
f702221054 Rework of the multiple desktops kcm.
Now it uses a ui file which makes it easier to maintain.
It brings together all options for multiple desktops. That is:
 * number of desktops
 * pager layout
 * activity per desktop
 * desktop names
 * desktop effect for switching animation
 * OSD on desktop switch
 * Shortcuts for desktop changing

The plasma options (pager and activity) are still missing and currently disabled.
FEATURE: 129605
CCBUG: 153799

svn path=/trunk/KDE/kdebase/workspace/; revision=995230
2009-07-12 12:21:57 +00:00