Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
KWin
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
17
Issues
17
List
Boards
Labels
Service Desk
Milestones
Merge Requests
40
Merge Requests
40
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Plasma
KWin
Commits
2007a7ea
Commit
2007a7ea
authored
Jan 29, 2012
by
Martin Flöser
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use namespaced parameters in signals
Required to get scripting bindings working.
parent
d4a919a9
Changes
69
Hide whitespace changes
Inline
Side-by-side
Showing
69 changed files
with
211 additions
and
210 deletions
+211
-210
effects/blur/blur.cpp
effects/blur/blur.cpp
+3
-3
effects/blur/blur.h
effects/blur/blur.h
+3
-3
effects/boxswitch/boxswitch.cpp
effects/boxswitch/boxswitch.cpp
+3
-3
effects/boxswitch/boxswitch.h
effects/boxswitch/boxswitch.h
+3
-3
effects/coverswitch/coverswitch.cpp
effects/coverswitch/coverswitch.cpp
+1
-1
effects/coverswitch/coverswitch.h
effects/coverswitch/coverswitch.h
+1
-1
effects/cube/cubeslide.cpp
effects/cube/cubeslide.cpp
+2
-2
effects/cube/cubeslide.h
effects/cube/cubeslide.h
+2
-2
effects/dashboard/dashboard.cpp
effects/dashboard/dashboard.cpp
+3
-3
effects/dashboard/dashboard.h
effects/dashboard/dashboard.h
+3
-3
effects/desktopgrid/desktopgrid.cpp
effects/desktopgrid/desktopgrid.cpp
+4
-4
effects/desktopgrid/desktopgrid.h
effects/desktopgrid/desktopgrid.h
+4
-4
effects/dialogparent/dialogparent.cpp
effects/dialogparent/dialogparent.cpp
+2
-2
effects/dialogparent/dialogparent.h
effects/dialogparent/dialogparent.h
+2
-2
effects/diminactive/diminactive.cpp
effects/diminactive/diminactive.cpp
+2
-2
effects/diminactive/diminactive.h
effects/diminactive/diminactive.h
+2
-2
effects/dimscreen/dimscreen.cpp
effects/dimscreen/dimscreen.cpp
+1
-1
effects/dimscreen/dimscreen.h
effects/dimscreen/dimscreen.h
+1
-1
effects/explosion/explosion.cpp
effects/explosion/explosion.cpp
+2
-2
effects/explosion/explosion.h
effects/explosion/explosion.h
+2
-2
effects/fade/fade.cpp
effects/fade/fade.cpp
+4
-4
effects/fade/fade.h
effects/fade/fade.h
+4
-4
effects/fallapart/fallapart.cpp
effects/fallapart/fallapart.cpp
+2
-2
effects/fallapart/fallapart.h
effects/fallapart/fallapart.h
+2
-2
effects/flipswitch/flipswitch.cpp
effects/flipswitch/flipswitch.cpp
+2
-2
effects/flipswitch/flipswitch.h
effects/flipswitch/flipswitch.h
+2
-2
effects/glide/glide.cpp
effects/glide/glide.cpp
+3
-3
effects/glide/glide.h
effects/glide/glide.h
+3
-3
effects/highlightwindow/highlightwindow.cpp
effects/highlightwindow/highlightwindow.cpp
+4
-4
effects/highlightwindow/highlightwindow.h
effects/highlightwindow/highlightwindow.h
+4
-4
effects/invert/invert.cpp
effects/invert/invert.cpp
+1
-1
effects/invert/invert.h
effects/invert/invert.h
+1
-1
effects/login/login.cpp
effects/login/login.cpp
+1
-1
effects/login/login.h
effects/login/login.h
+1
-1
effects/logout/logout.cpp
effects/logout/logout.cpp
+4
-4
effects/logout/logout.h
effects/logout/logout.h
+4
-4
effects/magiclamp/magiclamp.cpp
effects/magiclamp/magiclamp.cpp
+3
-3
effects/magiclamp/magiclamp.h
effects/magiclamp/magiclamp.h
+3
-3
effects/minimizeanimation/minimizeanimation.cpp
effects/minimizeanimation/minimizeanimation.cpp
+3
-3
effects/minimizeanimation/minimizeanimation.h
effects/minimizeanimation/minimizeanimation.h
+3
-3
effects/presentwindows/presentwindows.cpp
effects/presentwindows/presentwindows.cpp
+5
-5
effects/presentwindows/presentwindows.h
effects/presentwindows/presentwindows.h
+5
-5
effects/resize/resize.cpp
effects/resize/resize.cpp
+3
-3
effects/resize/resize.h
effects/resize/resize.h
+3
-3
effects/scalein/scalein.cpp
effects/scalein/scalein.cpp
+2
-2
effects/scalein/scalein.h
effects/scalein/scalein.h
+2
-2
effects/screenshot/screenshot.cpp
effects/screenshot/screenshot.cpp
+1
-1
effects/screenshot/screenshot.h
effects/screenshot/screenshot.h
+1
-1
effects/sheet/sheet.cpp
effects/sheet/sheet.cpp
+3
-3
effects/sheet/sheet.h
effects/sheet/sheet.h
+3
-3
effects/slideback/slideback.cpp
effects/slideback/slideback.cpp
+5
-5
effects/slideback/slideback.h
effects/slideback/slideback.h
+5
-5
effects/slidingpopups/slidingpopups.cpp
effects/slidingpopups/slidingpopups.cpp
+4
-4
effects/slidingpopups/slidingpopups.h
effects/slidingpopups/slidingpopups.h
+4
-4
effects/snaphelper/snaphelper.cpp
effects/snaphelper/snaphelper.cpp
+3
-3
effects/snaphelper/snaphelper.h
effects/snaphelper/snaphelper.h
+3
-3
effects/taskbarthumbnail/taskbarthumbnail.cpp
effects/taskbarthumbnail/taskbarthumbnail.cpp
+4
-4
effects/taskbarthumbnail/taskbarthumbnail.h
effects/taskbarthumbnail/taskbarthumbnail.h
+4
-4
effects/thumbnailaside/thumbnailaside.cpp
effects/thumbnailaside/thumbnailaside.cpp
+3
-3
effects/thumbnailaside/thumbnailaside.h
effects/thumbnailaside/thumbnailaside.h
+3
-3
effects/translucency/translucency.cpp
effects/translucency/translucency.cpp
+3
-3
effects/translucency/translucency.h
effects/translucency/translucency.h
+2
-2
effects/windowgeometry/windowgeometry.cpp
effects/windowgeometry/windowgeometry.cpp
+3
-3
effects/windowgeometry/windowgeometry.h
effects/windowgeometry/windowgeometry.h
+3
-3
effects/wobblywindows/wobblywindows.cpp
effects/wobblywindows/wobblywindows.cpp
+6
-6
effects/wobblywindows/wobblywindows.h
effects/wobblywindows/wobblywindows.h
+6
-6
libkwineffects/kwinanimationeffect.cpp
libkwineffects/kwinanimationeffect.cpp
+2
-2
libkwineffects/kwinanimationeffect.h
libkwineffects/kwinanimationeffect.h
+2
-2
libkwineffects/kwineffects.h
libkwineffects/kwineffects.h
+18
-17
No files found.
effects/blur/blur.cpp
View file @
2007a7ea
...
...
@@ -60,9 +60,9 @@ BlurEffect::BlurEffect()
}
else
{
XDeleteProperty
(
display
(),
rootWindow
(),
net_wm_blur_region
);
}
connect
(
effects
,
SIGNAL
(
windowAdded
(
EffectWindow
*
)),
this
,
SLOT
(
slotWindowAdded
(
EffectWindow
*
)));
connect
(
effects
,
SIGNAL
(
windowDeleted
(
EffectWindow
*
)),
this
,
SLOT
(
slotWindowDeleted
(
EffectWindow
*
)));
connect
(
effects
,
SIGNAL
(
propertyNotify
(
EffectWindow
*
,
long
)),
this
,
SLOT
(
slotPropertyNotify
(
EffectWindow
*
,
long
)));
connect
(
effects
,
SIGNAL
(
windowAdded
(
KWin
::
EffectWindow
*
)),
this
,
SLOT
(
slotWindowAdded
(
KWin
::
EffectWindow
*
)));
connect
(
effects
,
SIGNAL
(
windowDeleted
(
KWin
::
EffectWindow
*
)),
this
,
SLOT
(
slotWindowDeleted
(
KWin
::
EffectWindow
*
)));
connect
(
effects
,
SIGNAL
(
propertyNotify
(
KWin
::
EffectWindow
*
,
long
)),
this
,
SLOT
(
slotPropertyNotify
(
KWin
::
EffectWindow
*
,
long
)));
connect
(
effects
,
SIGNAL
(
screenGeometryChanged
(
QSize
)),
this
,
SLOT
(
slotScreenGeometryChanged
()));
}
...
...
effects/blur/blur.h
View file @
2007a7ea
...
...
@@ -49,9 +49,9 @@ public:
void
paintEffectFrame
(
EffectFrame
*
frame
,
QRegion
region
,
double
opacity
,
double
frameOpacity
);
public
Q_SLOTS
:
void
slotWindowAdded
(
EffectWindow
*
w
);
void
slotWindowDeleted
(
EffectWindow
*
w
);
void
slotPropertyNotify
(
EffectWindow
*
w
,
long
atom
);
void
slotWindowAdded
(
KWin
::
EffectWindow
*
w
);
void
slotWindowDeleted
(
KWin
::
EffectWindow
*
w
);
void
slotPropertyNotify
(
KWin
::
EffectWindow
*
w
,
long
atom
);
void
slotScreenGeometryChanged
();
private:
...
...
effects/boxswitch/boxswitch.cpp
View file @
2007a7ea
...
...
@@ -57,12 +57,12 @@ BoxSwitchEffect::BoxSwitchEffect()
highlight_margin
=
10
;
reconfigure
(
ReconfigureAll
);
connect
(
effects
,
SIGNAL
(
windowClosed
(
EffectWindow
*
)),
this
,
SLOT
(
slotWindowClosed
(
EffectWindow
*
)));
connect
(
effects
,
SIGNAL
(
windowClosed
(
KWin
::
EffectWindow
*
)),
this
,
SLOT
(
slotWindowClosed
(
KWin
::
EffectWindow
*
)));
connect
(
effects
,
SIGNAL
(
tabBoxAdded
(
int
)),
this
,
SLOT
(
slotTabBoxAdded
(
int
)));
connect
(
effects
,
SIGNAL
(
tabBoxClosed
()),
this
,
SLOT
(
slotTabBoxClosed
()));
connect
(
effects
,
SIGNAL
(
tabBoxUpdated
()),
this
,
SLOT
(
slotTabBoxUpdated
()));
connect
(
effects
,
SIGNAL
(
windowGeometryShapeChanged
(
EffectWindow
*
,
QRect
)),
this
,
SLOT
(
slotWindowGeometryShapeChanged
(
EffectWindow
*
,
QRect
)));
connect
(
effects
,
SIGNAL
(
windowDamaged
(
EffectWindow
*
,
QRect
)),
this
,
SLOT
(
slotWindowDamaged
(
EffectWindow
*
,
QRect
)));
connect
(
effects
,
SIGNAL
(
windowGeometryShapeChanged
(
KWin
::
EffectWindow
*
,
QRect
)),
this
,
SLOT
(
slotWindowGeometryShapeChanged
(
KWin
::
EffectWindow
*
,
QRect
)));
connect
(
effects
,
SIGNAL
(
windowDamaged
(
KWin
::
EffectWindow
*
,
QRect
)),
this
,
SLOT
(
slotWindowDamaged
(
KWin
::
EffectWindow
*
,
QRect
)));
}
BoxSwitchEffect
::~
BoxSwitchEffect
()
...
...
effects/boxswitch/boxswitch.h
View file @
2007a7ea
...
...
@@ -60,12 +60,12 @@ public:
void
paintWindowsBox
(
const
QRegion
&
region
);
public
Q_SLOTS
:
void
slotWindowClosed
(
EffectWindow
*
w
);
void
slotWindowClosed
(
KWin
::
EffectWindow
*
w
);
void
slotTabBoxAdded
(
int
mode
);
void
slotTabBoxClosed
();
void
slotTabBoxUpdated
();
void
slotWindowGeometryShapeChanged
(
EffectWindow
*
w
,
const
QRect
&
old
);
void
slotWindowDamaged
(
EffectWindow
*
w
,
const
QRect
&
damage
);
void
slotWindowGeometryShapeChanged
(
KWin
::
EffectWindow
*
w
,
const
QRect
&
old
);
void
slotWindowDamaged
(
KWin
::
EffectWindow
*
w
,
const
QRect
&
damage
);
private:
class
ItemInfo
;
...
...
effects/coverswitch/coverswitch.cpp
View file @
2007a7ea
...
...
@@ -70,7 +70,7 @@ CoverSwitchEffect::CoverSwitchEffect()
const
QString
fragmentshader
=
KGlobal
::
dirs
()
->
findResource
(
"data"
,
"kwin/coverswitch-reflection.glsl"
);
m_reflectionShader
=
ShaderManager
::
instance
()
->
loadFragmentShader
(
ShaderManager
::
GenericShader
,
fragmentshader
);
connect
(
effects
,
SIGNAL
(
windowClosed
(
EffectWindow
*
)),
this
,
SLOT
(
slotWindowClosed
(
EffectWindow
*
)));
connect
(
effects
,
SIGNAL
(
windowClosed
(
KWin
::
EffectWindow
*
)),
this
,
SLOT
(
slotWindowClosed
(
KWin
::
EffectWindow
*
)));
connect
(
effects
,
SIGNAL
(
tabBoxAdded
(
int
)),
this
,
SLOT
(
slotTabBoxAdded
(
int
)));
connect
(
effects
,
SIGNAL
(
tabBoxClosed
()),
this
,
SLOT
(
slotTabBoxClosed
()));
connect
(
effects
,
SIGNAL
(
tabBoxUpdated
()),
this
,
SLOT
(
slotTabBoxUpdated
()));
...
...
effects/coverswitch/coverswitch.h
View file @
2007a7ea
...
...
@@ -53,7 +53,7 @@ public:
static
bool
supported
();
public
Q_SLOTS
:
void
slotWindowClosed
(
EffectWindow
*
c
);
void
slotWindowClosed
(
KWin
::
EffectWindow
*
c
);
void
slotTabBoxAdded
(
int
mode
);
void
slotTabBoxClosed
();
void
slotTabBoxUpdated
();
...
...
effects/cube/cubeslide.cpp
View file @
2007a7ea
...
...
@@ -39,8 +39,8 @@ CubeSlideEffect::CubeSlideEffect()
,
progressRestriction
(
0.0
f
)
{
connect
(
effects
,
SIGNAL
(
desktopChanged
(
int
,
int
)),
this
,
SLOT
(
slotDesktopChanged
(
int
,
int
)));
connect
(
effects
,
SIGNAL
(
windowStepUserMovedResized
(
EffectWindow
*
,
QRect
)),
this
,
SLOT
(
slotWindowStepUserMovedResized
(
EffectWindow
*
)));
connect
(
effects
,
SIGNAL
(
windowFinishUserMovedResized
(
EffectWindow
*
)),
this
,
SLOT
(
slotWindowFinishUserMovedResized
(
EffectWindow
*
)));
connect
(
effects
,
SIGNAL
(
windowStepUserMovedResized
(
KWin
::
EffectWindow
*
,
QRect
)),
this
,
SLOT
(
slotWindowStepUserMovedResized
(
KWin
::
EffectWindow
*
)));
connect
(
effects
,
SIGNAL
(
windowFinishUserMovedResized
(
KWin
::
EffectWindow
*
)),
this
,
SLOT
(
slotWindowFinishUserMovedResized
(
KWin
::
EffectWindow
*
)));
reconfigure
(
ReconfigureAll
);
}
...
...
effects/cube/cubeslide.h
View file @
2007a7ea
...
...
@@ -48,8 +48,8 @@ public:
private
Q_SLOTS
:
void
slotDesktopChanged
(
int
old
,
int
current
);
void
slotWindowStepUserMovedResized
(
EffectWindow
*
w
);
void
slotWindowFinishUserMovedResized
(
EffectWindow
*
w
);
void
slotWindowStepUserMovedResized
(
KWin
::
EffectWindow
*
w
);
void
slotWindowFinishUserMovedResized
(
KWin
::
EffectWindow
*
w
);
private:
enum
RotationDirection
{
...
...
effects/dashboard/dashboard.cpp
View file @
2007a7ea
...
...
@@ -37,9 +37,9 @@ DashboardEffect::DashboardEffect()
// read settings
reconfigure
(
ReconfigureAll
);
connect
(
effects
,
SIGNAL
(
windowAdded
(
EffectWindow
*
)),
this
,
SLOT
(
slotWindowAdded
(
EffectWindow
*
)));
connect
(
effects
,
SIGNAL
(
windowClosed
(
EffectWindow
*
)),
this
,
SLOT
(
slotWindowClosed
(
EffectWindow
*
)));
connect
(
effects
,
SIGNAL
(
windowActivated
(
EffectWindow
*
)),
this
,
SLOT
(
slotWindowActivated
(
EffectWindow
*
)));
connect
(
effects
,
SIGNAL
(
windowAdded
(
KWin
::
EffectWindow
*
)),
this
,
SLOT
(
slotWindowAdded
(
KWin
::
EffectWindow
*
)));
connect
(
effects
,
SIGNAL
(
windowClosed
(
KWin
::
EffectWindow
*
)),
this
,
SLOT
(
slotWindowClosed
(
KWin
::
EffectWindow
*
)));
connect
(
effects
,
SIGNAL
(
windowActivated
(
KWin
::
EffectWindow
*
)),
this
,
SLOT
(
slotWindowActivated
(
KWin
::
EffectWindow
*
)));
}
DashboardEffect
::~
DashboardEffect
()
...
...
effects/dashboard/dashboard.h
View file @
2007a7ea
...
...
@@ -46,9 +46,9 @@ public:
virtual
bool
isActive
()
const
;
public
Q_SLOTS
:
void
slotWindowAdded
(
EffectWindow
*
c
);
void
slotWindowClosed
(
EffectWindow
*
c
);
void
slotWindowActivated
(
EffectWindow
*
w
);
void
slotWindowAdded
(
KWin
::
EffectWindow
*
c
);
void
slotWindowClosed
(
KWin
::
EffectWindow
*
c
);
void
slotWindowActivated
(
KWin
::
EffectWindow
*
w
);
private:
bool
blur
;
bool
isDashboard
(
EffectWindow
*
w
);
...
...
effects/desktopgrid/desktopgrid.cpp
View file @
2007a7ea
...
...
@@ -74,11 +74,11 @@ DesktopGridEffect::DesktopGridEffect()
shortcut
=
a
->
globalShortcut
();
connect
(
a
,
SIGNAL
(
triggered
(
bool
)),
this
,
SLOT
(
toggle
()));
connect
(
a
,
SIGNAL
(
globalShortcutChanged
(
QKeySequence
)),
this
,
SLOT
(
globalShortcutChanged
(
QKeySequence
)));
connect
(
effects
,
SIGNAL
(
windowAdded
(
EffectWindow
*
)),
this
,
SLOT
(
slotWindowAdded
(
EffectWindow
*
)));
connect
(
effects
,
SIGNAL
(
windowClosed
(
EffectWindow
*
)),
this
,
SLOT
(
slotWindowClosed
(
EffectWindow
*
)));
connect
(
effects
,
SIGNAL
(
windowDeleted
(
EffectWindow
*
)),
this
,
SLOT
(
slotWindowDeleted
(
EffectWindow
*
)));
connect
(
effects
,
SIGNAL
(
windowAdded
(
KWin
::
EffectWindow
*
)),
this
,
SLOT
(
slotWindowAdded
(
KWin
::
EffectWindow
*
)));
connect
(
effects
,
SIGNAL
(
windowClosed
(
KWin
::
EffectWindow
*
)),
this
,
SLOT
(
slotWindowClosed
(
KWin
::
EffectWindow
*
)));
connect
(
effects
,
SIGNAL
(
windowDeleted
(
KWin
::
EffectWindow
*
)),
this
,
SLOT
(
slotWindowDeleted
(
KWin
::
EffectWindow
*
)));
connect
(
effects
,
SIGNAL
(
numberDesktopsChanged
(
int
)),
this
,
SLOT
(
slotNumberDesktopsChanged
(
int
)));
connect
(
effects
,
SIGNAL
(
windowGeometryShapeChanged
(
EffectWindow
*
,
QRect
)),
this
,
SLOT
(
slotWindowGeometryShapeChanged
(
EffectWindow
*
,
QRect
)));
connect
(
effects
,
SIGNAL
(
windowGeometryShapeChanged
(
KWin
::
EffectWindow
*
,
QRect
)),
this
,
SLOT
(
slotWindowGeometryShapeChanged
(
KWin
::
EffectWindow
*
,
QRect
)));
// Load all other configuration details
reconfigure
(
ReconfigureAll
);
...
...
effects/desktopgrid/desktopgrid.h
View file @
2007a7ea
...
...
@@ -86,11 +86,11 @@ private slots:
void
globalShortcutChanged
(
const
QKeySequence
&
seq
);
void
slotAddDesktop
();
void
slotRemoveDesktop
();
void
slotWindowAdded
(
EffectWindow
*
w
);
void
slotWindowClosed
(
EffectWindow
*
w
);
void
slotWindowDeleted
(
EffectWindow
*
w
);
void
slotWindowAdded
(
KWin
::
EffectWindow
*
w
);
void
slotWindowClosed
(
KWin
::
EffectWindow
*
w
);
void
slotWindowDeleted
(
KWin
::
EffectWindow
*
w
);
void
slotNumberDesktopsChanged
(
int
old
);
void
slotWindowGeometryShapeChanged
(
EffectWindow
*
w
,
const
QRect
&
old
);
void
slotWindowGeometryShapeChanged
(
KWin
::
EffectWindow
*
w
,
const
QRect
&
old
);
private:
QPointF
scalePos
(
const
QPoint
&
pos
,
int
desktop
,
int
screen
=
-
1
)
const
;
...
...
effects/dialogparent/dialogparent.cpp
View file @
2007a7ea
...
...
@@ -29,8 +29,8 @@ KWIN_EFFECT(dialogparent, DialogParentEffect)
DialogParentEffect
::
DialogParentEffect
()
{
reconfigure
(
ReconfigureAll
);
connect
(
effects
,
SIGNAL
(
windowClosed
(
EffectWindow
*
)),
this
,
SLOT
(
slotWindowClosed
(
EffectWindow
*
)));
connect
(
effects
,
SIGNAL
(
windowActivated
(
EffectWindow
*
)),
this
,
SLOT
(
slotWindowActivated
(
EffectWindow
*
)));
connect
(
effects
,
SIGNAL
(
windowClosed
(
KWin
::
EffectWindow
*
)),
this
,
SLOT
(
slotWindowClosed
(
KWin
::
EffectWindow
*
)));
connect
(
effects
,
SIGNAL
(
windowActivated
(
KWin
::
EffectWindow
*
)),
this
,
SLOT
(
slotWindowActivated
(
KWin
::
EffectWindow
*
)));
}
void
DialogParentEffect
::
reconfigure
(
ReconfigureFlags
)
...
...
effects/dialogparent/dialogparent.h
View file @
2007a7ea
...
...
@@ -49,8 +49,8 @@ public:
virtual
bool
isActive
()
const
;
public
Q_SLOTS
:
void
slotWindowClosed
(
EffectWindow
*
c
);
void
slotWindowActivated
(
EffectWindow
*
c
);
void
slotWindowClosed
(
KWin
::
EffectWindow
*
c
);
void
slotWindowActivated
(
KWin
::
EffectWindow
*
c
);
protected:
bool
hasModalWindow
(
EffectWindow
*
t
);
private:
...
...
effects/diminactive/diminactive.cpp
View file @
2007a7ea
...
...
@@ -35,8 +35,8 @@ DimInactiveEffect::DimInactiveEffect()
previousActiveTimeline
.
setDuration
(
animationTime
(
250
));
active
=
effects
->
activeWindow
();
previousActive
=
NULL
;
connect
(
effects
,
SIGNAL
(
windowActivated
(
EffectWindow
*
)),
this
,
SLOT
(
slotWindowActivated
(
EffectWindow
*
)));
connect
(
effects
,
SIGNAL
(
windowDeleted
(
EffectWindow
*
)),
this
,
SLOT
(
slotWindowDeleted
(
EffectWindow
*
)));
connect
(
effects
,
SIGNAL
(
windowActivated
(
KWin
::
EffectWindow
*
)),
this
,
SLOT
(
slotWindowActivated
(
KWin
::
EffectWindow
*
)));
connect
(
effects
,
SIGNAL
(
windowDeleted
(
KWin
::
EffectWindow
*
)),
this
,
SLOT
(
slotWindowDeleted
(
KWin
::
EffectWindow
*
)));
}
void
DimInactiveEffect
::
reconfigure
(
ReconfigureFlags
)
...
...
effects/diminactive/diminactive.h
View file @
2007a7ea
...
...
@@ -41,8 +41,8 @@ public:
virtual
void
paintWindow
(
EffectWindow
*
w
,
int
mask
,
QRegion
region
,
WindowPaintData
&
data
);
public
Q_SLOTS
:
void
slotWindowActivated
(
EffectWindow
*
c
);
void
slotWindowDeleted
(
EffectWindow
*
w
);
void
slotWindowActivated
(
KWin
::
EffectWindow
*
c
);
void
slotWindowDeleted
(
KWin
::
EffectWindow
*
w
);
private:
bool
dimWindow
(
const
EffectWindow
*
w
)
const
;
...
...
effects/dimscreen/dimscreen.cpp
View file @
2007a7ea
...
...
@@ -32,7 +32,7 @@ DimScreenEffect::DimScreenEffect()
,
deactivateAnimation
(
false
)
{
reconfigure
(
ReconfigureAll
);
connect
(
effects
,
SIGNAL
(
windowActivated
(
EffectWindow
*
)),
this
,
SLOT
(
slotWindowActivated
(
EffectWindow
*
)));
connect
(
effects
,
SIGNAL
(
windowActivated
(
KWin
::
EffectWindow
*
)),
this
,
SLOT
(
slotWindowActivated
(
KWin
::
EffectWindow
*
)));
}
DimScreenEffect
::~
DimScreenEffect
()
...
...
effects/dimscreen/dimscreen.h
View file @
2007a7ea
...
...
@@ -42,7 +42,7 @@ public:
virtual
bool
isActive
()
const
;
public
Q_SLOTS
:
void
slotWindowActivated
(
EffectWindow
*
w
);
void
slotWindowActivated
(
KWin
::
EffectWindow
*
w
);
private:
bool
mActivated
;
...
...
effects/explosion/explosion.cpp
View file @
2007a7ea
...
...
@@ -47,8 +47,8 @@ ExplosionEffect::ExplosionEffect() : Effect()
mActiveAnimations
=
0
;
mValid
=
true
;
mInited
=
false
;
connect
(
effects
,
SIGNAL
(
windowClosed
(
EffectWindow
*
)),
this
,
SLOT
(
slotWindowClosed
(
EffectWindow
*
)));
connect
(
effects
,
SIGNAL
(
windowDeleted
(
EffectWindow
*
)),
this
,
SLOT
(
slotWindowDeleted
(
EffectWindow
*
)));
connect
(
effects
,
SIGNAL
(
windowClosed
(
KWin
::
EffectWindow
*
)),
this
,
SLOT
(
slotWindowClosed
(
KWin
::
EffectWindow
*
)));
connect
(
effects
,
SIGNAL
(
windowDeleted
(
KWin
::
EffectWindow
*
)),
this
,
SLOT
(
slotWindowDeleted
(
KWin
::
EffectWindow
*
)));
}
ExplosionEffect
::~
ExplosionEffect
()
...
...
effects/explosion/explosion.h
View file @
2007a7ea
...
...
@@ -52,8 +52,8 @@ public:
static
bool
supported
();
public
Q_SLOTS
:
void
slotWindowClosed
(
EffectWindow
*
c
);
void
slotWindowDeleted
(
EffectWindow
*
w
);
void
slotWindowClosed
(
KWin
::
EffectWindow
*
c
);
void
slotWindowDeleted
(
KWin
::
EffectWindow
*
w
);
protected:
bool
loadData
();
...
...
effects/fade/fade.cpp
View file @
2007a7ea
...
...
@@ -35,10 +35,10 @@ FadeEffect::FadeEffect()
,
fadeWindows
(
false
)
{
reconfigure
(
ReconfigureAll
);
connect
(
effects
,
SIGNAL
(
windowAdded
(
EffectWindow
*
)),
this
,
SLOT
(
slotWindowAdded
(
EffectWindow
*
)));
connect
(
effects
,
SIGNAL
(
windowClosed
(
EffectWindow
*
)),
this
,
SLOT
(
slotWindowClosed
(
EffectWindow
*
)));
connect
(
effects
,
SIGNAL
(
windowDeleted
(
EffectWindow
*
)),
this
,
SLOT
(
slotWindowDeleted
(
EffectWindow
*
)));
connect
(
effects
,
SIGNAL
(
windowOpacityChanged
(
EffectWindow
*
,
qreal
,
qreal
)),
this
,
SLOT
(
slotWindowOpacityChanged
(
EffectWindow
*
)));
connect
(
effects
,
SIGNAL
(
windowAdded
(
KWin
::
EffectWindow
*
)),
this
,
SLOT
(
slotWindowAdded
(
KWin
::
EffectWindow
*
)));
connect
(
effects
,
SIGNAL
(
windowClosed
(
KWin
::
EffectWindow
*
)),
this
,
SLOT
(
slotWindowClosed
(
KWin
::
EffectWindow
*
)));
connect
(
effects
,
SIGNAL
(
windowDeleted
(
KWin
::
EffectWindow
*
)),
this
,
SLOT
(
slotWindowDeleted
(
KWin
::
EffectWindow
*
)));
connect
(
effects
,
SIGNAL
(
windowOpacityChanged
(
KWin
::
EffectWindow
*
,
qreal
,
qreal
)),
this
,
SLOT
(
slotWindowOpacityChanged
(
KWin
::
EffectWindow
*
)));
}
void
FadeEffect
::
reconfigure
(
ReconfigureFlags
)
...
...
effects/fade/fade.h
View file @
2007a7ea
...
...
@@ -43,10 +43,10 @@ public:
bool
isFadeWindow
(
EffectWindow
*
w
);
public
Q_SLOTS
:
void
slotWindowAdded
(
EffectWindow
*
c
);
void
slotWindowClosed
(
EffectWindow
*
c
);
void
slotWindowDeleted
(
EffectWindow
*
w
);
void
slotWindowOpacityChanged
(
EffectWindow
*
w
);
void
slotWindowAdded
(
KWin
::
EffectWindow
*
c
);
void
slotWindowClosed
(
KWin
::
EffectWindow
*
c
);
void
slotWindowDeleted
(
KWin
::
EffectWindow
*
w
);
void
slotWindowOpacityChanged
(
KWin
::
EffectWindow
*
w
);
private:
class
WindowInfo
;
QHash
<
const
EffectWindow
*
,
WindowInfo
>
windows
;
...
...
effects/fallapart/fallapart.cpp
View file @
2007a7ea
...
...
@@ -32,8 +32,8 @@ KWIN_EFFECT(fallapart, FallApartEffect)
FallApartEffect
::
FallApartEffect
()
{
reconfigure
(
ReconfigureAll
);
connect
(
effects
,
SIGNAL
(
windowClosed
(
EffectWindow
*
)),
this
,
SLOT
(
slotWindowClosed
(
EffectWindow
*
)));
connect
(
effects
,
SIGNAL
(
windowDeleted
(
EffectWindow
*
)),
this
,
SLOT
(
slotWindowDeleted
(
EffectWindow
*
)));
connect
(
effects
,
SIGNAL
(
windowClosed
(
KWin
::
EffectWindow
*
)),
this
,
SLOT
(
slotWindowClosed
(
KWin
::
EffectWindow
*
)));
connect
(
effects
,
SIGNAL
(
windowDeleted
(
KWin
::
EffectWindow
*
)),
this
,
SLOT
(
slotWindowDeleted
(
KWin
::
EffectWindow
*
)));
}
void
FallApartEffect
::
reconfigure
(
ReconfigureFlags
)
...
...
effects/fallapart/fallapart.h
View file @
2007a7ea
...
...
@@ -40,8 +40,8 @@ public:
virtual
bool
isActive
()
const
;
public
Q_SLOTS
:
void
slotWindowClosed
(
EffectWindow
*
c
);
void
slotWindowDeleted
(
EffectWindow
*
w
);
void
slotWindowClosed
(
KWin
::
EffectWindow
*
c
);
void
slotWindowDeleted
(
KWin
::
EffectWindow
*
w
);
private:
QHash
<
const
EffectWindow
*
,
double
>
windows
;
...
...
effects/flipswitch/flipswitch.cpp
View file @
2007a7ea
...
...
@@ -70,8 +70,8 @@ FlipSwitchEffect::FlipSwitchEffect()
m_shortcutAll
=
b
->
globalShortcut
();
connect
(
b
,
SIGNAL
(
triggered
(
bool
)),
this
,
SLOT
(
toggleActiveAllDesktops
()));
connect
(
b
,
SIGNAL
(
globalShortcutChanged
(
QKeySequence
)),
this
,
SLOT
(
globalShortcutChangedAll
(
QKeySequence
)));
connect
(
effects
,
SIGNAL
(
windowAdded
(
EffectWindow
*
)),
this
,
SLOT
(
slotWindowAdded
(
EffectWindow
*
)));
connect
(
effects
,
SIGNAL
(
windowClosed
(
EffectWindow
*
)),
this
,
SLOT
(
slotWindowClosed
(
EffectWindow
*
)));
connect
(
effects
,
SIGNAL
(
windowAdded
(
KWin
::
EffectWindow
*
)),
this
,
SLOT
(
slotWindowAdded
(
KWin
::
EffectWindow
*
)));
connect
(
effects
,
SIGNAL
(
windowClosed
(
KWin
::
EffectWindow
*
)),
this
,
SLOT
(
slotWindowClosed
(
KWin
::
EffectWindow
*
)));
connect
(
effects
,
SIGNAL
(
tabBoxAdded
(
int
)),
this
,
SLOT
(
slotTabBoxAdded
(
int
)));
connect
(
effects
,
SIGNAL
(
tabBoxClosed
()),
this
,
SLOT
(
slotTabBoxClosed
()));
connect
(
effects
,
SIGNAL
(
tabBoxUpdated
()),
this
,
SLOT
(
slotTabBoxUpdated
()));
...
...
effects/flipswitch/flipswitch.h
View file @
2007a7ea
...
...
@@ -55,8 +55,8 @@ private Q_SLOTS:
void
toggleActiveAllDesktops
();
void
globalShortcutChangedCurrent
(
QKeySequence
shortcut
);
void
globalShortcutChangedAll
(
QKeySequence
shortcut
);
void
slotWindowAdded
(
EffectWindow
*
w
);
void
slotWindowClosed
(
EffectWindow
*
w
);
void
slotWindowAdded
(
KWin
::
EffectWindow
*
w
);
void
slotWindowClosed
(
KWin
::
EffectWindow
*
w
);
void
slotTabBoxAdded
(
int
mode
);
void
slotTabBoxClosed
();
void
slotTabBoxUpdated
();
...
...
effects/glide/glide.cpp
View file @
2007a7ea
...
...
@@ -41,9 +41,9 @@ GlideEffect::GlideEffect()
slideAtom
=
XInternAtom
(
display
(),
"_KDE_SLIDE"
,
False
);
effects
->
registerPropertyType
(
slideAtom
,
true
);
reconfigure
(
ReconfigureAll
);
connect
(
effects
,
SIGNAL
(
windowAdded
(
EffectWindow
*
)),
this
,
SLOT
(
slotWindowAdded
(
EffectWindow
*
)));
connect
(
effects
,
SIGNAL
(
windowClosed
(
EffectWindow
*
)),
this
,
SLOT
(
slotWindowClosed
(
EffectWindow
*
)));
connect
(
effects
,
SIGNAL
(
windowDeleted
(
EffectWindow
*
)),
this
,
SLOT
(
slotWindowDeleted
(
EffectWindow
*
)));
connect
(
effects
,
SIGNAL
(
windowAdded
(
KWin
::
EffectWindow
*
)),
this
,
SLOT
(
slotWindowAdded
(
KWin
::
EffectWindow
*
)));
connect
(
effects
,
SIGNAL
(
windowClosed
(
KWin
::
EffectWindow
*
)),
this
,
SLOT
(
slotWindowClosed
(
KWin
::
EffectWindow
*
)));
connect
(
effects
,
SIGNAL
(
windowDeleted
(
KWin
::
EffectWindow
*
)),
this
,
SLOT
(
slotWindowDeleted
(
KWin
::
EffectWindow
*
)));
}
GlideEffect
::~
GlideEffect
()
...
...
effects/glide/glide.h
View file @
2007a7ea
...
...
@@ -46,9 +46,9 @@ public:
static
bool
supported
();
public
Q_SLOTS
:
void
slotWindowAdded
(
EffectWindow
*
c
);
void
slotWindowClosed
(
EffectWindow
*
c
);
void
slotWindowDeleted
(
EffectWindow
*
w
);
void
slotWindowAdded
(
KWin
::
EffectWindow
*
c
);
void
slotWindowClosed
(
KWin
::
EffectWindow
*
c
);
void
slotWindowDeleted
(
KWin
::
EffectWindow
*
w
);
private:
class
WindowInfo
;
...
...
effects/highlightwindow/highlightwindow.cpp
View file @
2007a7ea
...
...
@@ -38,10 +38,10 @@ HighlightWindowEffect::HighlightWindowEffect()
// Announce support by creating a dummy version on the root window
unsigned
char
dummy
=
0
;
XChangeProperty
(
display
(),
rootWindow
(),
m_atom
,
m_atom
,
8
,
PropModeReplace
,
&
dummy
,
1
);
connect
(
effects
,
SIGNAL
(
windowAdded
(
EffectWindow
*
)),
this
,
SLOT
(
slotWindowAdded
(
EffectWindow
*
)));
connect
(
effects
,
SIGNAL
(
windowClosed
(
EffectWindow
*
)),
this
,
SLOT
(
slotWindowClosed
(
EffectWindow
*
)));
connect
(
effects
,
SIGNAL
(
windowDeleted
(
EffectWindow
*
)),
this
,
SLOT
(
slotWindowDeleted
(
EffectWindow
*
)));
connect
(
effects
,
SIGNAL
(
propertyNotify
(
EffectWindow
*
,
long
)),
this
,
SLOT
(
slotPropertyNotify
(
EffectWindow
*
,
long
)));
connect
(
effects
,
SIGNAL
(
windowAdded
(
KWin
::
EffectWindow
*
)),
this
,
SLOT
(
slotWindowAdded
(
KWin
::
EffectWindow
*
)));
connect
(
effects
,
SIGNAL
(
windowClosed
(
KWin
::
EffectWindow
*
)),
this
,
SLOT
(
slotWindowClosed
(
KWin
::
EffectWindow
*
)));
connect
(
effects
,
SIGNAL
(
windowDeleted
(
KWin
::
EffectWindow
*
)),
this
,
SLOT
(
slotWindowDeleted
(
KWin
::
EffectWindow
*
)));
connect
(
effects
,
SIGNAL
(
propertyNotify
(
KWin
::
EffectWindow
*
,
long
)),
this
,
SLOT
(
slotPropertyNotify
(
KWin
::
EffectWindow
*
,
long
)));
}
HighlightWindowEffect
::~
HighlightWindowEffect
()
...
...
effects/highlightwindow/highlightwindow.h
View file @
2007a7ea
...
...
@@ -39,10 +39,10 @@ public:
virtual
bool
isActive
()
const
;
public
Q_SLOTS
:
void
slotWindowAdded
(
EffectWindow
*
w
);
void
slotWindowClosed
(
EffectWindow
*
w
);
void
slotWindowDeleted
(
EffectWindow
*
w
);
void
slotPropertyNotify
(
EffectWindow
*
w
,
long
atom
);
void
slotWindowAdded
(
KWin
::
EffectWindow
*
w
);
void
slotWindowClosed
(
KWin
::
EffectWindow
*
w
);
void
slotWindowDeleted
(
KWin
::
EffectWindow
*
w
);
void
slotPropertyNotify
(
KWin
::
EffectWindow
*
w
,
long
atom
);
private:
void
prepareHighlighting
();
...
...
effects/invert/invert.cpp
View file @
2007a7ea
...
...
@@ -54,7 +54,7 @@ InvertEffect::InvertEffect()
b
->
setText
(
i18n
(
"Toggle Invert Effect on Window"
));
b
->
setGlobalShortcut
(
KShortcut
(
Qt
::
CTRL
+
Qt
::
META
+
Qt
::
Key_U
));
connect
(
b
,
SIGNAL
(
triggered
(
bool
)),
this
,
SLOT
(
toggleWindow
()));
connect
(
effects
,
SIGNAL
(
windowClosed
(
EffectWindow
*
)),
this
,
SLOT
(
slotWindowClosed
(
EffectWindow
*
)));
connect
(
effects
,
SIGNAL
(
windowClosed
(
KWin
::
EffectWindow
*
)),
this
,
SLOT
(
slotWindowClosed
(
KWin
::
EffectWindow
*
)));
}
InvertEffect
::~
InvertEffect
()
...
...
effects/invert/invert.h
View file @
2007a7ea
...
...
@@ -51,7 +51,7 @@ public:
public
slots
:
void
toggle
();
void
toggleWindow
();
void
slotWindowClosed
(
EffectWindow
*
w
);
void
slotWindowClosed
(
KWin
::
EffectWindow
*
w
);
protected:
bool
loadData
();
...
...
effects/login/login.cpp
View file @
2007a7ea
...
...
@@ -34,7 +34,7 @@ LoginEffect::LoginEffect()
,
login_window
(
NULL
)
{
reconfigure
(
ReconfigureAll
);
connect
(
effects
,
SIGNAL
(
windowClosed
(
EffectWindow
*
)),
this
,
SLOT
(
slotWindowClosed
(
EffectWindow
*
)));
connect
(
effects
,
SIGNAL
(
windowClosed
(
KWin
::
EffectWindow
*
)),
this
,
SLOT
(
slotWindowClosed
(
KWin
::
EffectWindow
*
)));
}
void
LoginEffect
::
prePaintScreen
(
ScreenPrePaintData
&
data
,
int
time
)
...
...
effects/login/login.h
View file @
2007a7ea
...
...
@@ -41,7 +41,7 @@ public:
virtual
bool
isActive
()
const
;
public
Q_SLOTS
:
void
slotWindowClosed
(
EffectWindow
*
w
);
void
slotWindowClosed
(
KWin
::
EffectWindow
*
w
);
private:
bool
isLoginSplash
(
EffectWindow
*
w
);
...
...
effects/logout/logout.cpp
View file @
2007a7ea
...
...
@@ -60,10 +60,10 @@ LogoutEffect::LogoutEffect()
blurTarget
=
NULL
;
#endif
reconfigure
(
ReconfigureAll
);
connect
(
effects
,
SIGNAL
(
windowAdded
(
EffectWindow
*
)),
this
,
SLOT
(
slotWindowAdded
(
EffectWindow
*
)));
connect
(
effects
,
SIGNAL
(
windowClosed
(
EffectWindow
*
)),
this
,
SLOT
(
slotWindowClosed
(
EffectWindow
*
)));
connect
(
effects
,
SIGNAL
(
windowDeleted
(
EffectWindow
*
)),
this
,
SLOT
(
slotWindowDeleted
(
EffectWindow
*
)));
connect
(
effects
,
SIGNAL
(
propertyNotify
(
EffectWindow
*
,
long
)),
this
,
SLOT
(
slotPropertyNotify
(
EffectWindow
*
,
long
)));
connect
(
effects
,
SIGNAL
(
windowAdded
(
KWin
::
EffectWindow
*
)),
this
,
SLOT
(
slotWindowAdded
(
KWin
::
EffectWindow
*
)));
connect
(
effects
,
SIGNAL
(
windowClosed
(
KWin
::
EffectWindow
*
)),
this
,
SLOT
(
slotWindowClosed
(
KWin
::
EffectWindow
*
)));
connect
(
effects
,
SIGNAL
(
windowDeleted
(
KWin
::
EffectWindow
*
)),
this
,
SLOT
(
slotWindowDeleted
(
KWin
::
EffectWindow
*
)));
connect
(
effects
,
SIGNAL
(
propertyNotify
(
KWin
::
EffectWindow
*
,
long
)),
this
,
SLOT
(
slotPropertyNotify
(
KWin
::
EffectWindow
*
,
long
)));
}
LogoutEffect
::~
LogoutEffect
()
...
...
effects/logout/logout.h
View file @
2007a7ea
...
...
@@ -46,10 +46,10 @@ public:
virtual
void
paintWindow
(
EffectWindow
*
w
,
int
mask
,
QRegion
region
,
WindowPaintData
&
data
);
virtual
bool
isActive
()
const
;
public
Q_SLOTS
:
void
slotWindowAdded
(
EffectWindow
*
w
);
void
slotWindowClosed
(
EffectWindow
*
w
);
void
slotWindowDeleted
(
EffectWindow
*
w
);
void
slotPropertyNotify
(
EffectWindow
*
w
,
long
a
);
void
slotWindowAdded
(
KWin
::
EffectWindow
*
w
);
void
slotWindowClosed
(
KWin
::
EffectWindow
*
w
);
void
slotWindowDeleted
(
KWin
::
EffectWindow
*
w
);
void
slotPropertyNotify
(
KWin
::
EffectWindow
*
w
,
long
a
);
private:
bool
isLogoutDialog
(
EffectWindow
*
w
);
double
progress
;
// 0-1
...
...
effects/magiclamp/magiclamp.cpp
View file @
2007a7ea
...
...
@@ -36,9 +36,9 @@ MagicLampEffect::MagicLampEffect()
{
mActiveAnimations
=
0
;
reconfigure
(
ReconfigureAll
);
connect
(
effects
,
SIGNAL
(
windowDeleted
(
EffectWindow
*
)),
this
,
SLOT
(
slotWindowDeleted
(
EffectWindow
*
)));
connect
(
effects
,
SIGNAL
(
windowMinimized
(
EffectWindow
*
)),
this
,
SLOT
(
slotWindowMinimized
(
EffectWindow
*
)));
connect
(
effects
,
SIGNAL
(
windowUnminimized
(
EffectWindow
*
)),
this
,
SLOT
(
slotWindowUnminimized
(
EffectWindow
*
)));
connect
(
effects
,
SIGNAL
(
windowDeleted
(
KWin
::
EffectWindow
*
)),
this
,
SLOT
(
slotWindowDeleted
(
KWin
::
EffectWindow
*
)));
connect
(
effects
,
SIGNAL
(
windowMinimized
(
KWin
::
EffectWindow
*
)),
this
,
SLOT
(
slotWindowMinimized
(
KWin
::
EffectWindow
*
)));
connect
(
effects
,
SIGNAL
(
windowUnminimized
(
KWin
::
EffectWindow
*
)),
this
,
SLOT
(
slotWindowUnminimized
(
KWin
::
EffectWindow
*
)));
}
bool
MagicLampEffect
::
supported
()
...
...
effects/magiclamp/magiclamp.h
View file @
2007a7ea
...
...
@@ -45,9 +45,9 @@ public:
static
bool
supported
();
public
Q_SLOTS
:
void
slotWindowDeleted
(
EffectWindow
*
w
);
void
slotWindowMinimized
(
EffectWindow
*
w
);
void
slotWindowUnminimized
(
EffectWindow
*
w
);
void
slotWindowDeleted
(
KWin
::
EffectWindow
*
w
);
void
slotWindowMinimized
(
KWin
::
EffectWindow
*
w
);
void
slotWindowUnminimized
(
KWin
::
EffectWindow
*
w
);
private:
QHash
<
EffectWindow
*
,
QTimeLine
*
>
mTimeLineWindows
;
...
...
effects/minimizeanimation/minimizeanimation.cpp
View file @
2007a7ea
...
...
@@ -29,9 +29,9 @@ KWIN_EFFECT(minimizeanimation, MinimizeAnimationEffect)
MinimizeAnimationEffect
::
MinimizeAnimationEffect
()
{
mActiveAnimations
=
0
;
connect
(
effects
,
SIGNAL
(
windowDeleted
(
EffectWindow
*
)),
this
,
SLOT
(
slotWindowDeleted
(
EffectWindow
*
)));
connect
(
effects
,
SIGNAL
(
windowMinimized
(
EffectWindow
*
)),
this
,
SLOT
(
slotWindowMinimized
(
EffectWindow
*
)));
connect
(
effects
,
SIGNAL
(
windowUnminimized
(
EffectWindow
*
)),
this
,
SLOT
(
slotWindowUnminimized
(
EffectWindow
*
)));
connect
(
effects
,
SIGNAL
(
windowDeleted
(
KWin
::
EffectWindow
*
)),
this
,
SLOT
(
slotWindowDeleted
(
KWin
::
EffectWindow
*
)));
connect
(
effects
,
SIGNAL
(
windowMinimized
(
KWin
::
EffectWindow
*
)),
this
,
SLOT
(
slotWindowMinimized
(
KWin
::
EffectWindow
*
)));
connect
(
effects
,
SIGNAL
(
windowUnminimized
(
KWin
::
EffectWindow
*
)),
this
,
SLOT
(
slotWindowUnminimized
(
KWin
::
EffectWindow
*
)));
}
...
...
effects/minimizeanimation/minimizeanimation.h
View file @
2007a7ea
...
...
@@ -46,9 +46,9 @@ public:
virtual
bool
isActive
()
const
;
public
Q_SLOTS
:
void
slotWindowDeleted
(
EffectWindow
*
w
);
void
slotWindowMinimized
(
EffectWindow
*
w
);
void
slotWindowUnminimized
(
EffectWindow
*
w
);
void
slotWindowDeleted
(
KWin
::
EffectWindow
*
w
);
void
slotWindowMinimized
(
KWin
::
EffectWindow
*
w
);
void
slotWindowUnminimized
(
KWin
::
EffectWindow
*
w
);
private:
QHash
<
EffectWindow
*
,
QTimeLine
*
>
mTimeLineWindows
;
...
...
effects/presentwindows/presentwindows.cpp
View file @
2007a7ea
...
...
@@ -104,15 +104,15 @@ PresentWindowsEffect::PresentWindowsEffect()
connect
(
c
,
SIGNAL
(
globalShortcutChanged
(
QKeySequence
)),
this
,
SLOT
(
globalShortcutChangedClass
(
QKeySequence
)));
shortcutClass
=
c
->
globalShortcut
();
reconfigure
(
ReconfigureAll
);
connect
(
effects
,
SIGNAL
(
windowAdded
(
EffectWindow
*
)),
this
,
SLOT
(
slotWindowAdded
(
EffectWindow
*
)));
connect
(
effects
,
SIGNAL
(
windowClosed
(
EffectWindow
*
)),
this
,
SLOT
(
slotWindowClosed
(
EffectWindow
*
)));
connect
(
effects
,
SIGNAL
(
windowDeleted
(
EffectWindow
*
)),
this
,
SLOT
(
slotWindowDeleted
(
EffectWindow
*
)));
connect
(
effects
,
SIGNAL
(
windowGeometryShapeChanged
(
EffectWindow
*
,
QRect
)),
this
,
SLOT
(
slotWindowGeometryShapeChanged
(
EffectWindow
*
,
QRect
)));
connect
(
effects
,
SIGNAL
(
windowAdded
(
KWin
::
EffectWindow
*
)),
this
,
SLOT
(
slotWindowAdded
(
KWin
::
EffectWindow
*
)));
connect
(
effects
,
SIGNAL
(
windowClosed
(
KWin
::
EffectWindow
*
)),
this
,
SLOT
(
slotWindowClosed
(
KWin
::
EffectWindow
*
)));
connect
(
effects
,
SIGNAL
(
windowDeleted
(
KWin
::
EffectWindow
*
)),
this
,
SLOT
(
slotWindowDeleted
(
KWin
::
EffectWindow
*
)));
connect
(
effects
,
SIGNAL
(
windowGeometryShapeChanged
(
KWin
::
EffectWindow
*
,
QRect
)),
this
,
SLOT
(
slotWindowGeometryShapeChanged
(
KWin
::
EffectWindow
*
,
QRect
)));
connect
(
effects
,
SIGNAL
(
tabBoxAdded
(
int
)),
this
,
SLOT
(
slotTabBoxAdded
(
int
)));
connect
(
effects
,
SIGNAL
(
tabBoxClosed
()),
this
,
SLOT
(
slotTabBoxClosed
()));
connect
(
effects
,
SIGNAL
(
tabBoxUpdated
()),
this
,
SLOT
(
slotTabBoxUpdated
()));
connect
(
effects
,
SIGNAL
(
tabBoxKeyEvent
(
QKeyEvent
*
)),
this
,
SLOT
(
slotTabBoxKeyEvent
(
QKeyEvent
*
)));
connect
(
effects
,
SIGNAL
(
propertyNotify
(
EffectWindow
*
,
long
)),
this
,
SLOT
(
slotPropertyNotify
(
EffectWindow
*
,
long
)));
connect
(
effects
,
SIGNAL
(
propertyNotify
(
KWin
::
EffectWindow
*
,
long
)),
this
,
SLOT
(
slotPropertyNotify
(
KWin
::
EffectWindow
*
,
long
)));