API reviews:

ThemeChanged()->Q_PRIVATE_SLOT

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=802130
This commit is contained in:
Marco Martin 2008-04-28 15:55:13 +00:00
parent 48be92bdab
commit 9bee311b96
2 changed files with 6 additions and 10 deletions

View File

@ -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"

View File

@ -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