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)
|
||||
{
|
||||
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()
|
||||
|
@ -83,7 +86,9 @@ void DimScreenEffect::paintWindow(EffectWindow *w, int mask, QRegion region, Win
|
|||
|
||||
void DimScreenEffect::slotWindowActivated(EffectWindow *w)
|
||||
{
|
||||
if (!w) return;
|
||||
if (!w) {
|
||||
return;
|
||||
}
|
||||
QStringList check;
|
||||
check << "kdesu kdesu";
|
||||
check << "kdesudo kdesudo";
|
||||
|
|
|
@ -35,11 +35,11 @@ public:
|
|||
DimScreenEffect();
|
||||
~DimScreenEffect();
|
||||
|
||||
virtual void reconfigure(ReconfigureFlags);
|
||||
virtual void prePaintScreen(ScreenPrePaintData& data, int time);
|
||||
virtual void postPaintScreen();
|
||||
virtual void paintWindow(EffectWindow *w, int mask, QRegion region, WindowPaintData &data);
|
||||
virtual bool isActive() const;
|
||||
void reconfigure(ReconfigureFlags) final;
|
||||
void prePaintScreen(ScreenPrePaintData& data, int time) final;
|
||||
void postPaintScreen();
|
||||
void paintWindow(EffectWindow *w, int mask, QRegion region, WindowPaintData &data) final;
|
||||
bool isActive() const final;
|
||||
|
||||
public Q_SLOTS:
|
||||
void slotWindowActivated(KWin::EffectWindow *w);
|
||||
|
|
Loading…
Add table
Reference in a new issue