Martin Gräßlin
8d716124fa
KIcon -> QIcon::fromTheme in kwin/useractions.cpp
2013-09-09 06:03:35 +02:00
Martin Gräßlin
182d094837
Drop unused includes from kwin/useractions.cpp
...
And again some deprecated warnings eliminated.
2013-09-09 06:03:35 +02:00
Martin Gräßlin
79e09c43f3
Port kwin/tabbox from KShortcut to QKeySequence
...
All the globalShortcutChanged slots are removed and replaced by a
generic one for the new signal by KGlobalAccel.
The define for creating the shortcut is dropped and replaced by a
templated function creating connections through the new connect
syntax.
2013-09-09 06:03:35 +02:00
Martin Gräßlin
a721898bd8
Port KWin useractions menu from KShortcut to QKeySequence
2013-09-09 06:03:35 +02:00
Martin Gräßlin
2e1f028210
KWin/VirtualDesktops ported to new global shortcut system
...
No more Kaction, no more KShortcut.
2013-09-09 06:03:35 +02:00
Martin Gräßlin
f4a96da547
Client shortcuts ported to QKeySequence
...
Pretty straight forward, though not yet tested.
2013-09-09 06:03:35 +02:00
Martin Gräßlin
1c8233ad6d
Use KGlobalAccel to get the shortcut for Suspend Compositing
...
Ported away from KAction and KShortcut to show our notification
on suspend compositing via DBus.
2013-09-09 06:03:35 +02:00
Martin Gräßlin
979e5e9136
Do not check graphicsEffectsLevel for LanczosFilter
...
We use GPU and driver dependent checks which are more accurate than
the global setting has ever been.
2013-09-09 06:03:35 +02:00
Martin Gräßlin
40588e05ea
Clean up the includes in kwin/options.(h/cpp)
...
Used to include quite a bit no longer needed. In order to get rid of
the utils.h inclusion one enum is moved to options (where it actually
belongs to).
2013-09-09 06:03:35 +02:00
Martin Gräßlin
4d089b28b4
Drop menuFont from useractions menu
...
Recommendation is to just use the general font.
2013-09-09 06:03:35 +02:00
Martin Gräßlin
caad13ff95
Use new components based Find XCB
2013-09-09 06:03:35 +02:00
Martin Gräßlin
d26fcf3188
There is no PlasmaCore.Theme
...
It's a context property "theme". Today I'm lucky, they were all called
"theme".
2013-09-05 14:46:39 +02:00
Martin Gräßlin
86b9ce67a0
Use QLocale in WindowGeometryEffect
2013-09-05 10:48:30 +02:00
Martin Gräßlin
95a6329fe5
Remove some no longer needed includes
...
less warnings
2013-09-05 10:39:47 +02:00
Martin Gräßlin
de59774190
KIcon -> QIcon::fromTheme in kwin effects
2013-09-05 10:29:33 +02:00
Martin Gräßlin
5e29cc24dc
Remove XLib dependency from kwinglobals
...
As a side effect we need some fixx11h.h includes at places which still
use too much xlib.
2013-09-05 09:56:50 +02:00
Martin Gräßlin
8a78e71c97
Drop KWin::Extensions from kwinglobals
...
Replaced by KWin::Xcb::Extensions. This removes the remaining
Xlib extension dependencies form kwineffects.
2013-09-05 09:14:09 +02:00
Martin Gräßlin
211682ab67
KGlobalSettings::dndEventDelay() -> QApplication::startDragDistance()
2013-09-04 16:35:16 +02:00
Martin Gräßlin
58eaa61d25
Port from KGlobalSettings::contrastF to KColorScheme::contrastF
...
And with that Aurorae doesn't need kde4support any more.
2013-09-04 16:35:16 +02:00
Martin Gräßlin
139201a2e2
KGlobal::config() -> KSharedConfig::openConfig()
...
KWin Core says good bye to KGlobal. We will not miss the threading
issues.
2013-09-04 16:11:40 +02:00
Eike Hein
fbc957c048
Second 'unbreak kwin build' of the day ...
...
Port from kFatal to qFatal - kFatal is still in kde4support,
but lacking debug area support arguably isn't that big a
deal since fatals can't be turned off anyway.
CCMAIL:mgraesslin@kde.org
2013-09-02 18:42:20 +02:00
Martin Gräßlin
57905c0cc2
And we got rid of KDebug
...
Usages of kBacktrace got dropped.
2013-09-02 13:14:39 +02:00
Martin Gräßlin
add219d5bc
Port libkwinglutils from KDebug to QDebug
...
And another lib doesn't need kde4support any more.
2013-09-02 11:31:46 +02:00
Martin Gräßlin
48e8121ab9
Port away from KGlobalSettings::windowTitleFont in libkdecorations
...
And with that it's no longer linking kde4support.
2013-09-02 11:22:59 +02:00
Martin Gräßlin
bd2c80428c
Port libkdecoration from KDebug to QDebug
2013-09-02 11:17:23 +02:00
Martin Gräßlin
bb7af1a61f
Drop no longer needed include of KGlobal in Aurorae
2013-09-02 11:13:26 +02:00
Martin Gräßlin
e1d89313cb
Port Aurorae from KDebug to QDebug
...
Note: deco plugins have their own debug area.
2013-09-02 11:12:14 +02:00
Martin Gräßlin
987fd41d24
Port KWin/Effects from KDebug to QDebug
...
Still using KDE4Support as it's used in other areas.
2013-09-02 11:03:29 +02:00
Martin Gräßlin
99bcac1cc7
Port libkwineffects away from KDebug
...
And with that it doesn't need kde4support anymore.
2013-09-02 10:43:55 +02:00
Martin Gräßlin
489addf901
Add default debug area to KWin main CMakeLists
2013-09-02 10:34:00 +02:00
Martin Gräßlin
16df417cc6
XCB variant for displayWidth/Height and update after RandR event
...
DisplayWidth and height provide proper values though internally
things are wrong as QDesktopWidget seems to not emit the signal.
2013-09-02 10:23:30 +02:00
Eike Hein
cf48719802
Fix build failures.
2013-09-02 01:28:14 +02:00
Hugo Pereira Da Costa
1019fecdaa
fixed checkbox alignment
2013-09-01 20:31:28 +02:00
Martin Gräßlin
7ed07e45c7
Do not pass events with no window to the findClient - windowEvent cascade
...
If the eventWindow is none the check for InputIdMatchPredicate will find
a matching Client and pass the even through the windowEvent filter which
returns true for all not handled events and thus filters out all events
processed later on in KWin.
This explains why some events were eaten...
2013-08-30 13:34:29 +02:00
Martin Gräßlin
c1d0a32b64
Drop close on exit hack in kwin/main
...
See http://lists.kde.org/?l=kwin&m=137777699329758&w=2
2013-08-30 07:48:17 +02:00
Martin Gräßlin
a536e07488
Use kdeqt5staging for QCommandLineParser
...
Makes it also compile with not latest Qt.
2013-08-29 16:22:30 +02:00
Martin Gräßlin
e62001758f
Drop some no longer required includes from main.cpp
2013-08-29 13:59:28 +02:00
Martin Gräßlin
1b30755b32
Use XCB for startup and multi-head check in KWin
...
Multi-head is somehow tested with Xvfb. At least the fork works and
the display variables are properly adjusted.
2013-08-29 13:59:28 +02:00
Martin Gräßlin
16fdecb495
Do not use KGLobalSettings::isMultiHead
...
KGlobalSettings is kde4supports, so just check the env variable
directly.
2013-08-29 13:59:28 +02:00
Martin Gräßlin
d85802da4e
Port send event to splash screen to XCB
...
Not yet tested.
2013-08-29 13:59:28 +02:00
Martin Gräßlin
af2359ef98
Port setInputFocus in KWin::Application dtor to XCB
2013-08-29 10:41:45 +02:00
Martin Gräßlin
a2d97fef17
Port KWinSelectionOwner to XCB
...
One usage of DefaultScreen is still present as QX11Info is not yet
providing the primaryScreen from QXcbConnection.
2013-08-29 10:34:11 +02:00
Martin Gräßlin
1f302b0c4a
Drop dependency on kde_file.h in kwin/main.cpp
2013-08-29 10:34:11 +02:00
Martin Gräßlin
0dd7adf5f5
Port KWin::Application to QApplication and QCommandLineParser
...
Done in one step as it requires changes which are better suited with a
QApplication.
To not need to parte the QCommandLineParser around the needed arguments
are added to the KWin::Application through setters and the crash count
is available through a static getter/setter pair.
2013-08-28 14:13:39 +02:00
Martin Gräßlin
437f762466
Use xcb_atom_t for the Atoms in KWinSelectionOwner
2013-08-28 14:13:39 +02:00
Martin Gräßlin
8621b4e46d
Use qApp instead of kapp in KWin
...
Preparation step for porting away from KApplication. Disables a little
bit more session management code (as it's broken anyway).
2013-08-28 14:13:39 +02:00
Martin Gräßlin
c4b8f33ac7
Port KWin/Killer to QCommandLineParser
...
And with that it no longer needs kde4support.
2013-08-28 14:13:39 +02:00
Reza Shah
9c2e4991cf
Port kwinbindings.cpp away from KAction/KShortcut
...
REVIEW: 112119
2013-08-28 19:27:09 +09:00
Hugo Pereira Da Costa
c5c5fffbdf
Added "Display window borders for maximized windows" option.
...
CCBUG: 324011
2013-08-27 10:35:52 +02:00
Hugo Pereira Da Costa
0fe389570e
fixed uppercase typo in kcfg file
2013-08-27 10:35:43 +02:00