API review

more SIGNAL changed() -> themeChanged()
thanks Alexis for your vigilance!

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800244
This commit is contained in:
Anne-Marie Mahfouf 2008-04-23 18:35:03 +00:00
parent d52b839cf9
commit 970e72245c
5 changed files with 6 additions and 6 deletions

View File

@ -198,7 +198,7 @@ public:
applet->setDrawStandardBackground(true);
connect(Plasma::Theme::defaultTheme(), SIGNAL(changed()), applet, SLOT(themeChanged()));
connect(Plasma::Theme::defaultTheme(), SIGNAL(themeChanged()), applet, SLOT(themeChanged()));
}
// put all setup routines for script here. at this point we can assume that

View File

@ -78,7 +78,7 @@ Dialog::Dialog( QWidget * parent, Qt::WindowFlags f )
connect(d->background, SIGNAL(repaintNeeded()), this, SLOT(update()));
connect(Plasma::Theme::defaultTheme(), SIGNAL(changed()), this, SLOT(themeUpdated()));
connect(Plasma::Theme::defaultTheme(), SIGNAL(themeChanged()), this, SLOT(themeUpdated()));
d->themeUpdated();
}

View File

@ -79,7 +79,7 @@ class Svg::Private
void setImagePath(const QString &imagePath, Svg *q)
{
if (themed) {
disconnect(Plasma::Theme::defaultTheme(), SIGNAL(changed()), q, SLOT(themeChanged()));
disconnect(Plasma::Theme::defaultTheme(), SIGNAL(themeChanged()), q, SLOT(themeChanged()));
disconnect(KGlobalSettings::self(), SIGNAL(kdisplayPaletteChanged()), q, SLOT(colorsChanged()));
}
@ -88,7 +88,7 @@ class Svg::Private
if (themed) {
themePath = imagePath;
connect(Plasma::Theme::defaultTheme(), SIGNAL(changed()), q, SLOT(themeChanged()));
connect(Plasma::Theme::defaultTheme(), SIGNAL(themeChanged()), q, SLOT(themeChanged()));
// check if svg wants colorscheme applied
createRenderer();

View File

@ -288,7 +288,7 @@ Icon::~Icon()
void Icon::init()
{
readColors();
connect(Plasma::Theme::defaultTheme(), SIGNAL(changed()), SLOT(readColors()));
connect(Plasma::Theme::defaultTheme(), SIGNAL(themeChanged()), SLOT(readColors()));
// setAcceptedMouseButtons(Qt::LeftButton);
setAcceptsHoverEvents(true);

View File

@ -221,7 +221,7 @@ ToolTip::ToolTip()
connect(d->showTimer, SIGNAL(timeout()), SLOT(showToolTip()));
connect(d->hideTimer, SIGNAL(timeout()), SLOT(resetShownState()));
connect(Plasma::Theme::self(), SIGNAL(changed()), this, SLOT(themeUpdated()));
connect(Plasma::Theme::self(), SIGNAL(themeChanged()), this, SLOT(themeUpdated()));
themeUpdated();
}