Commit graph

19 commits

Author SHA1 Message Date
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