summaryrefslogtreecommitdiffstats
path: root/tdeui/kanimwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdeui/kanimwidget.cpp')
-rw-r--r--tdeui/kanimwidget.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tdeui/kanimwidget.cpp b/tdeui/kanimwidget.cpp
index 7a5928ab3..9f069a259 100644
--- a/tdeui/kanimwidget.cpp
+++ b/tdeui/kanimwidget.cpp
@@ -47,7 +47,7 @@ KAnimWidget::KAnimWidget( const TQString& icons, int size, TQWidget *parent,
{
connect( &d->timer, TQT_SIGNAL(timeout()), this, TQT_SLOT(slotTimerUpdate()));
- if (parent && parent->inherits( "KToolBar" ))
+ if (parent && parent->inherits( "TDEToolBar" ))
connect(parent, TQT_SIGNAL(modechange()), this, TQT_SLOT(updateIcons()));
d->loadingCompleted = false;
@@ -182,8 +182,8 @@ void KAnimWidget::updateIcons()
if (!d->initDone)
return;
- if (parent()->inherits( "KToolBar" ))
- d->size = ((KToolBar*)parent())->iconSize();
+ if (parent()->inherits( "TDEToolBar" ))
+ d->size = ((TDEToolBar*)parent())->iconSize();
if (!d->size)
d->size = TDEGlobal::iconLoader()->currentSize(KIcon::MainToolbar);