Commit graph

212 commits

Author SHA1 Message Date
Kevin Funk
8ea4f4dae7 Port to CMake AUTOMOC
Summary: Run convert-to-cmake-automoc.pl over all .cpp files

Differential Revision: https://phabricator.kde.org/D882
2016-02-01 21:05:36 +01:00
Martin Gräßlin
62d71bc247 [kcmkwin/options] Load/Unload WindowGeometry effect
Depending on the state of the show window geometry we need to load
or unload the effect.

BUG: 343272
FIXED-IN: 5.2.1
REVIEW: 122258
2015-01-29 11:44:47 +01: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
2fad6dbf46 [kwin/kcmkwinoption] Remove unused kdialog.h include
It's kde4support and we don't have that.
2014-03-18 07:34:33 +01:00
Martin Gräßlin
74a4a1cd42 [kwin/kcmkwinoption] Remove not needed config-workspace.h include
There are no ifdefs taken from that code.
2014-03-18 07:32:45 +01:00
Aleix Pol
c72e519d9c Remove KDE/ prefix in include directories
It's unneeded and deprecated since KF5.
2014-03-17 16:24:10 +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
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
Martin Gräßlin
65516b64b7 [kwinoptions] Add missing includes 2013-09-30 07:30:06 +02:00
Martin Gräßlin
4413859084 [kwinoptions] Drop componentData() 2013-09-30 07:29:38 +02:00
Thomas Lübking
e5028bb7fc redesign focus config GUI
REVIEW: 110001
2013-05-22 22:24:23 +02:00
Thomas Lübking
56d39cb327 remove moveResizeMaximized GUI
REVIEW: 110000
2013-04-16 22:07:05 +02:00
Martin Gräßlin
60c42b7a34 s/KLocale/KLocalizedString/g
Many headers included KLocale to use i18n and co. But those methods are
defined in KLocalizedString and not in KLocale.

With KF5 klocale.h does no longer include KLocalizedString causing lots
of compile errors.
2013-03-07 13:59:15 +01:00
Martin Gräßlin
32b6ef42b9 Strip module path from all Qt #include <>
Done with:
fixqt4headers.pl --strip-modules

REVIEW: 109176
2013-03-06 10:26:56 +01:00
Martin Gräßlin
51ce05e445 Use a more sane default for delay focus and autoraise in FFM
At the same time ensuring that KCM and KWin::Options use the same value.
Should be ported to KConfigXT some day.

REVIEW: 108288
2013-01-11 08:57:42 +01:00
Thomas Lübking
334fc51ef6 fix kwinoptions layouts
THIS INTRODUCES NEW STRINGS, see
http://lists.kde.org/?l=kde-i18n-doc&m=135403060327161&w=2

REVIEW: 107083
BUG: 310623
2012-12-14 22:36:39 +01:00
Martin Gräßlin
dcd1869887 Introduce ui-file for Advanced tab of KWin's configuration
Thanks to Alexander Jones for providing the ui file.

REVIEW: 106551
2012-10-04 17:26:38 +02:00
Martin Gräßlin
fe062f6ebb Introduce ui-file in moving tab of KWin's configuration
Thanks to Alexander Jones for creating the ui file.
2012-10-04 17:26:34 +02:00
Martin Gräßlin
847e0f2f9a Introduce an ui-file for Focus configuration
Thanks to Alexander Jones for creating the ui file.
2012-10-04 17:26:34 +02:00
Martin Gräßlin
a394fade64 Remove Tiling support from KWin
As discussed on the mailinglist [1] the tiling support is
removed from KWin. The main reasons for this step are:
* it is unmaintained
* it is a mode not used by any of the core KWin team
* original developer said at Akademy 2012 that he is not
  interested in picking up the work again
* tiling has quite some bugs, e.g. multi screen not supported
* is conflicting with other concepts in KWin, e.g. activities

There is ongoing work to get tiling supported through a KWin
script, which is a preferred way as it does not influence the
existing C++ code base.

[1] http://lists.kde.org/?l=kwin&m=133149673110558&w=2
BUG: 303090
FIXED-IN: 4.10
REVIEW: 105546
2012-07-14 11:18:06 +02:00
Thomas Lübking
0f2bde11b0 allow "under mouse" as regular placement strategy
BUG: 272162
REVIEW: 104650
2012-04-20 23:59:36 +02:00
Thomas Lübking
797735ec8a fix geometrytip kcm regression
BUG: 292839
FIXED-IN: 4.8.3
2012-04-14 23:19:49 +02:00
Martin Gräßlin
27643f5a9e Drop kephal dependency from KWin
Kephal has turned into not being more than a wrapper around
QDesktopWidget and does not even provide syntax sugar.

REVIEW: 104427
2012-04-01 08:11:57 +02:00
Thomas Lübking
117eb46684 add mouse preference against focus chain
there's currently no GUI config item, use
   kwriteconfig --file kwinrc --group Windows --key NextFocusPrefersMouse true
   qdbus org.kde.kwin /KWin reconfigure

BUG: 159989
CCBUG: 80897
FIXED-IN: 4.8
2011-12-01 13:13:13 +01:00
Thomas Lübking
6c934998a5 don't request focus by mouse events in the current event cycle
BUG: 279356
BUG: 286116
REVIEW: 103284
2011-11-29 21:11:11 +01:00
Martin Gräßlin
31386d2f25 Drop unused variables
SVN_SILENT
2011-08-31 17:55:04 +02:00
Martin Gräßlin
12d3b354fc Remove drawbound move/resize functionality
Drawbound was nowadays only used when compositing is disabled.
For the composited case, the drawbound was replaced by the resize
effect and in fact we should always just use the resize effect.

REVIEW: 101411
2011-06-23 12:15:54 +02:00
Martin Gräßlin
0a7e48f7aa KWin uses kdelibs coding style. 2011-01-31 20:07:03 +01:00
Thomas Lübking
68fbd31ad8 add windowgeometry tip effect, bind it to the general setting and generalize effect feature provide api, thus update resize effect
BUG: 219755

svn path=/trunk/KDE/kdebase/workspace/; revision=1195300
2010-11-10 19:21:56 +00:00
Nikhil Marathe
b613ae2a2c Make sure tiling related widgets are properly enabled/disabled at load
svn path=/trunk/KDE/kdebase/workspace/; revision=1149545
2010-07-13 16:15:33 +00:00
Nikhil Marathe
3e9377e6b4 Added comments to some tiling related code
svn path=/trunk/KDE/kdebase/workspace/; revision=1124486
2010-05-09 06:15:40 +00:00
Nikhil Marathe
d8af8d02a9 Fixed order of parameters in i18nc
svn path=/trunk/KDE/kdebase/workspace/; revision=1124057
2010-05-07 16:00:39 +00:00
Andrew Coles
620b54b320 Proof-reading: aren't -> are not (house style)
SVN_SILENT


svn path=/trunk/KDE/kdebase/workspace/; revision=1124005
2010-05-07 14:48:44 +00:00
Nikhil Marathe
60cd673a56 Added i18n markup to layout combobox
svn path=/trunk/KDE/kdebase/workspace/; revision=1123121
2010-05-05 11:27:55 +00:00
Nikhil Marathe
19d29d0c8f SVN_SILENT Fixed some krazy warnings in tiling related code
svn path=/trunk/KDE/kdebase/workspace/; revision=1122067
2010-05-03 05:18:52 +00:00
Nikhil Marathe
5fc7e93d69 Tiling is here!
This commit merges the kwin-tiling branch. Ideally it shouldn't break anything and add a few features ;-)
It was applied as a patch. Do not attempt to merge the branch directly, it has a few issues.
This feature is currently experimental, although it hasn't crashed in quite a long time. It lacks some features and probably leaks some memory. Fixes will be on the way.

Season Of KDE 2009 project by Nikhil Marathe

svn path=/trunk/KDE/kdebase/workspace/; revision=1118677
2010-04-25 16:43:14 +00:00
Lucas Murray
72cea7e73a Rename the "allow moving and resizing of maximized windows" setting to
"display borders on maximized windows" to more accurately describe what
the setting does.
BUG: 217775

svn path=/trunk/KDE/kdebase/workspace/; revision=1072014
2010-01-09 10:04:58 +00:00
Chusslove Illich
0a497dfcec i18n: added disambiguation contexts to "none", "enabled" and "disabled" in KCMs.
Due to sharing of translation space in KCMs, translations for these strings were
randomly fetched from all over the place, including base kdelibs catalogs.

svn path=/trunk/KDE/kdebase/workspace/; revision=1068781
2010-01-02 01:01:42 +00:00
Christoph Feck
12bba19ee1 Fix Apply button getting disabled when changing tabs
BUG: 163817

svn path=/trunk/KDE/kdebase/workspace/; revision=1062180
2009-12-14 03:18:43 +00:00
Lucas Murray
78d1aed9f7 Add setting to hide inactive tabs from the taskbar but hide it in the UI
for now as: 1) It causes taskbar items to reshuffle, and 2) Switching
the setting during a session currently requires applications to be
restarted as well for their skip taskbar status to be reset.

svn path=/trunk/KDE/kdebase/workspace/; revision=1050472
2009-11-17 11:25:03 +00:00
Lucas Murray
3855b9253b Added global setting to allow opening automatically grouped windows in
the background.

svn path=/trunk/KDE/kdebase/workspace/; revision=1050313
2009-11-17 07:51:55 +00:00
Lucas Murray
aa63ad8d08 Better wording.
svn path=/trunk/KDE/kdebase/workspace/; revision=1050310
2009-11-17 07:23:40 +00:00
Lucas Murray
535737e1fe Add "automatically group identical windows" feature to window tabbing.
svn path=/trunk/KDE/kdebase/workspace/; revision=1049953
2009-11-16 10:09:03 +00:00
Martin Gräßlin
c0f6689377 Remove the config options for alt+tab and desktops from kwinoptions as those have been moved to new kcms.
CCBUG: 211215

svn path=/trunk/KDE/kdebase/workspace/; revision=1046329
2009-11-08 12:23:29 +00:00
Lucas Murray
424d358fd2 Less Krazy warnings please.
svn path=/trunk/KDE/kdebase/workspace/; revision=1042583
2009-10-30 08:10:35 +00:00
Lucas Murray
4bc9e6c533 Rename the "normal" focus stealing prevention level to "medium".
CCBUG: 203447

svn path=/trunk/KDE/kdebase/workspace/; revision=1010423
2009-08-12 12:34:10 +00:00
Christoph Feck
58b9127b3e Fix layout issues in kwin kcm
* remove fixed layout spacing and margin
* respect style's QFormLayout field policy
* reduce vertical space in compositing "General" tab
* layout desktop names in two columns


svn path=/trunk/KDE/kdebase/workspace/; revision=986282
2009-06-24 13:09:58 +00:00
Lucas Murray
ac9c37c64d Merged "active screen edges" and "active desktop borders" into a single
GUI panel. This panel is currently located in System Settings -> Desktop
-> Screen Edges.
BUG: 174709

svn path=/trunk/KDE/kdebase/workspace/; revision=932929
2009-02-27 15:40:53 +00:00
Guillaume Pothier
f780e8b68b Kephalized plasma and kwin: replaced usage of QDesktopWidget by Kephal
svn path=/trunk/KDE/kdebase/workspace/; revision=884482
2008-11-15 03:04:44 +00:00
Lucas Murray
f67b136fe7 Forgot to do the advanced panel GUI on last commit.
Also used better size policy code.

svn path=/trunk/KDE/kdebase/workspace/; revision=873273
2008-10-19 09:35:11 +00:00