Commit graph

8723 commits

Author SHA1 Message Date
Martin Gräßlin
6f5ff35aa5 Merge branch 'KDE/4.8' 2012-01-04 19:49:05 +01:00
Martin Gräßlin
f1dfdef1ab No longer enable BoxSwitch by default
Thanks to terietor for noticing this problem.
2012-01-04 19:47:59 +01:00
Script Kiddy
d08182e72f SVN_SILENT made messages (.desktop file) 2012-01-04 09:38:43 +01:00
Martin Gräßlin
66ca8c7c72 Make closeWindow() a public slot
For JavaScript bindings.
2012-01-03 18:32:05 +01:00
Script Kiddy
375e2257fe SVN_SILENT made messages (.desktop file) 2012-01-03 16:57:38 +01:00
Thomas Lübking
2a54c47ed1 Fix one list pollution in tabbing code
REVIEW: 103612
BUG: 290387
(cherry picked from commit 67b3dc9e619b60552ddf1c6506453037cd7830cf)
2012-01-02 19:02:14 +01:00
Thomas Lübking
e1d15d9c21 present windows: keep highlighted windows in screen
REVIEW: 103574
(cherry picked from commit 629e8d3885129db2be19bd313e07d6fa02caddc1)
2012-01-02 19:02:05 +01:00
Thomas Lübking
48c28a9b3d add dbus debug "activeEffects"
REVIEW: 103572
CCBUG: 288948
CCBUG: 290025
(cherry picked from commit 089aeee91b807d13c0c2b86fa18d05776bef5190)
2012-01-02 18:57:44 +01:00
Thomas Lübking
8aa05a477b implement isActive in resize effect
(cherry picked from commit 60281f9cc3c515db1c36139842374353bca3cb3a)
2012-01-02 18:56:51 +01:00
Thomas Lübking
5b40492a84 add support for graphicssystem selection
REVIEW: 103430
CCBUG: 289904
(cherry picked from commit ded4ed4e9dc32316c41a43b6e906bece4b92338f)
2012-01-02 18:56:21 +01:00
Thomas Lübking
85cb8e3717 Fix one list pollution in tabbing code
REVIEW: 103612
BUG: 290387
2012-01-02 18:54:13 +01:00
Thomas Lübking
25342f89c9 present windows: keep highlighted windows in screen
REVIEW: 103528
2012-01-02 18:54:12 +01:00
Thomas Lübking
3b2476850e add dbus debug "activeEffects"
REVIEW: 103572
CCBUG: 288948
CCBUG: 290025
2012-01-02 18:54:12 +01:00
Thomas Lübking
38c54e7111 implement isActive in resize effect 2012-01-02 18:54:12 +01:00
Thomas Lübking
0b23c516a7 add support for graphicssystem selection
REVIEW: 103430
CCBUG: 289904
2012-01-02 18:53:20 +01:00
Martin Gräßlin
a04cb2ed09 Drop also the IMPLIST as it is outdated 2012-01-01 15:06:45 +01:00
Martin Gräßlin
197658475b Make List of Clients in ClientGroup accessable in scripts
For that ClientList is exported as a sequence meta type and
property is added to ClientGroup.
2012-01-01 15:01:54 +01:00
Martin Gräßlin
012bcbc2e0 Return const ref to client list instead of copy 2012-01-01 14:53:48 +01:00
Martin Gräßlin
698eb631cd ClientGroup becomes scriptable (again)
For this properties are defined in ClientGroup and several methods
are changed to be slots (to be invokable from scripts). On Client
the clientGroup is exported as a property.

The existing wrapper around ClientGroup is dropped as it is no
longer needed. Interestingly it was wrong anyway as it allowed to
construct a new ClientGroup, which has to be done internally.

At the same time the meta declarations get cleaned up a little bit.
2012-01-01 14:43:32 +01:00
Martin Gräßlin
3bc12489ac Declare Metatype for KWin::Client*
Allows to use it in property definitions.
2012-01-01 14:16:07 +01:00
Martin Gräßlin
30d2f260dc Drop unused code 2012-01-01 13:26:15 +01:00
Martin Gräßlin
510a07a135 Better set the QScript export of a Client
We don't want the script to delete our Client, or do we?
2012-01-01 10:00:13 +01:00
Martin Gräßlin
11be6d5b40 Fix typos
SVN_SILENT
2012-01-01 09:26:27 +01:00
Martin Gräßlin
5c6febf147 Use Q_SLOTS instead of slots
Krazy wants it that way.
SVN_SILENT
2012-01-01 09:23:48 +01:00
Martin Gräßlin
d00655fbcc Use single quoted char instead of double qouted
Fixes Krazy issu "Check single-char QString operations for efficiency".
SVN_SILENT
2012-01-01 09:19:46 +01:00
Martin Gräßlin
aecaaeb48e Drop another leftover of Chelate 2012-01-01 09:16:40 +01:00
Shaun Reich
c3cf65a6bd Add KCM kwincompositing keywords (desktop effects).
This should be the last of the bunch...it was split up so it could be
easily reverted/looked at.

The idea is that all of this will improve searching functionality for a
lot of people using System Settings. That's the hope anyways.

In reality it doesn't help much *yet*, because somebody needs to make
the search functionality search for more .desktop files. It currently
only does main ones afik. I don't know if this is a technical
limitation, or just a minor oversight and perhaps something easy to fix.

Hopefully what I've done is towards a good direction though, of
improving search functionality in system settings...
2011-12-31 17:28:47 -05:00
Shaun Reich
3a305903cb Add KCM kwindesktop keywords. 2011-12-31 17:14:23 -05:00
Shaun Reich
267c104408 Add KCM kwinscreenedges keywords. 2011-12-31 17:13:04 -05:00
Shaun Reich
b54102f09e Add kwinadvanced KCM keywords. 2011-12-31 17:07:30 -05:00
Shaun Reich
46cf6e0173 Add kwinfocus kcm keywords 2011-12-31 17:05:53 -05:00
Martin Gräßlin
6e445fb75c Less unused parameter/variable warnings in kwin
SVN_SILENT
2011-12-31 15:08:54 +01:00
Martin Gräßlin
a3bed4b7ba Connect Kephal signals directly to screenChangedTimer
No need to have a slot for each screen change which only starts
the screenChangedTimer.
2011-12-31 15:01:41 +01:00
Martin Gräßlin
2b434c3667 Drop WindowInfo JavaScript bindings
Everything they provided are also available directly as properties
on Toplevel or Client.
2011-12-31 14:24:32 +01:00
Martin Gräßlin
1953deab15 Drop "Chelate"
Whatever it was, we cannot need a "Lazy Logic (TM)" which is not
documented. And even if it were useful, KWin is not the right place
to develop language extensions to ECMAScript.
2011-12-31 14:22:22 +01:00
Martin Gräßlin
ab253cd178 Scripting meets D-Bus
Each KWin Script is also exported as a D-Bus object and can be
stopped (destroyed) and started through D-Bus. Output and errors
are emitted as D-Bus signals. That allows external applications
(e.g. Plasma desktop scripting console) to load a script and print
out the output.

The general interface is exported as /Scripting and allows to load
a new script by file. The script is not directly executed but only
loaded. To execute it the run method on the script object has to be
invoked.
2011-12-31 13:41:00 +01:00
Martin Gräßlin
0420ecd649 Scripting does not need to inherit ScriptEngine 2011-12-31 13:41:00 +01:00
Martin Gräßlin
c56e70ca7c Make Script a proper class 2011-12-31 13:40:59 +01:00
Martin Gräßlin
00993ab566 More properties on Toplevel and Client
Mostly exporting the getters used by EffectWindow as Properties.
In client some have got a notify signal.

REVIEW: 103510
2011-12-31 09:19:57 +01:00
Martin Gräßlin
716a38cdb4 Making the geometry mapping work 2011-12-31 08:58:43 +01:00
Martin Gräßlin
445687ed2b The geometry property starts to work
The signal is still emitted too often, but it works.
2011-12-31 08:58:43 +01:00
Martin Gräßlin
f953ed64d4 Minimized property
Adding a convenient method to minimize/unminize the Client.
2011-12-31 08:58:43 +01:00
Martin Gräßlin
85c72f3323 Maximizeable and Minimizable also have no change signal 2011-12-31 08:58:42 +01:00
Martin Gräßlin
53461d01ea Keep Above/Below properties 2011-12-31 08:58:42 +01:00
Martin Gräßlin
da26ecb8ef Documentation for properties without change signal 2011-12-31 08:58:42 +01:00
Martin Gräßlin
20284fb7bb Shade related properties
Adding a convenient method to set a client to shade ignoring the
hover state.
2011-12-31 08:58:42 +01:00
Martin Gräßlin
938c94d7cc Provides Context Help property 2011-12-31 08:58:42 +01:00
Martin Gräßlin
60f1c75ffb Modal property 2011-12-31 08:58:42 +01:00
Martin Gräßlin
7061ab7d24 Remove unused scripting signal 2011-12-31 08:58:41 +01:00
Martin Gräßlin
0976bdfb17 Adding transient (for) properties
TransientFor is a QObject property as we cannot declare Client as
a metatype.
2011-12-31 08:58:41 +01:00