API reviews:
ThemeChanged()->Q_PRIVATE_SLOT svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=802130
This commit is contained in:
parent
48be92bdab
commit
9bee311b96
10
applet.cpp
10
applet.cpp
@ -325,6 +325,11 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
void themeChanged()
|
||||
{
|
||||
q->update();
|
||||
}
|
||||
|
||||
//TODO: examine the usage of memory here; there's a pretty large
|
||||
// number of members at this point.
|
||||
static uint s_maxAppletId;
|
||||
@ -1472,11 +1477,6 @@ bool Applet::isContainment() const
|
||||
return d->isContainment;
|
||||
}
|
||||
|
||||
void Applet::themeChanged()
|
||||
{
|
||||
update();
|
||||
}
|
||||
|
||||
} // Plasma namespace
|
||||
|
||||
#include "applet.moc"
|
||||
|
6
applet.h
6
applet.h
@ -539,11 +539,6 @@ class PLASMA_EXPORT Applet : public QGraphicsWidget
|
||||
*/
|
||||
void flushPendingConstraintsEvents();
|
||||
|
||||
/**
|
||||
* called when the Plasma::Theme has changed
|
||||
*/
|
||||
void themeChanged();
|
||||
|
||||
protected:
|
||||
/**
|
||||
* @param parent the QGraphicsItem this applet is parented to
|
||||
@ -693,6 +688,7 @@ class PLASMA_EXPORT Applet : public QGraphicsWidget
|
||||
private:
|
||||
Q_DISABLE_COPY(Applet)
|
||||
Q_PRIVATE_SLOT(d, void checkImmutability())
|
||||
Q_PRIVATE_SLOT(d, void themeChanged())
|
||||
|
||||
/**
|
||||
* Reimplemented from QGraphicsItem
|
||||
|
Loading…
Reference in New Issue
Block a user