mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 10:22:49 +00:00
kwin: format and indent
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
63b529c71f
commit
ae2f1383e4
2 changed files with 12 additions and 7 deletions
|
@ -28,7 +28,10 @@ DimScreenEffect::DimScreenEffect()
|
||||||
, deactivateAnimation(false)
|
, deactivateAnimation(false)
|
||||||
{
|
{
|
||||||
reconfigure(ReconfigureAll);
|
reconfigure(ReconfigureAll);
|
||||||
connect(effects, SIGNAL(windowActivated(KWin::EffectWindow*)), this, SLOT(slotWindowActivated(KWin::EffectWindow*)));
|
connect(
|
||||||
|
effects, SIGNAL(windowActivated(KWin::EffectWindow*)),
|
||||||
|
this, SLOT(slotWindowActivated(KWin::EffectWindow*))
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
DimScreenEffect::~DimScreenEffect()
|
DimScreenEffect::~DimScreenEffect()
|
||||||
|
@ -83,7 +86,9 @@ void DimScreenEffect::paintWindow(EffectWindow *w, int mask, QRegion region, Win
|
||||||
|
|
||||||
void DimScreenEffect::slotWindowActivated(EffectWindow *w)
|
void DimScreenEffect::slotWindowActivated(EffectWindow *w)
|
||||||
{
|
{
|
||||||
if (!w) return;
|
if (!w) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
QStringList check;
|
QStringList check;
|
||||||
check << "kdesu kdesu";
|
check << "kdesu kdesu";
|
||||||
check << "kdesudo kdesudo";
|
check << "kdesudo kdesudo";
|
||||||
|
|
|
@ -35,11 +35,11 @@ public:
|
||||||
DimScreenEffect();
|
DimScreenEffect();
|
||||||
~DimScreenEffect();
|
~DimScreenEffect();
|
||||||
|
|
||||||
virtual void reconfigure(ReconfigureFlags);
|
void reconfigure(ReconfigureFlags) final;
|
||||||
virtual void prePaintScreen(ScreenPrePaintData& data, int time);
|
void prePaintScreen(ScreenPrePaintData& data, int time) final;
|
||||||
virtual void postPaintScreen();
|
void postPaintScreen();
|
||||||
virtual void paintWindow(EffectWindow *w, int mask, QRegion region, WindowPaintData &data);
|
void paintWindow(EffectWindow *w, int mask, QRegion region, WindowPaintData &data) final;
|
||||||
virtual bool isActive() const;
|
bool isActive() const final;
|
||||||
|
|
||||||
public Q_SLOTS:
|
public Q_SLOTS:
|
||||||
void slotWindowActivated(KWin::EffectWindow *w);
|
void slotWindowActivated(KWin::EffectWindow *w);
|
||||||
|
|
Loading…
Add table
Reference in a new issue