summaryrefslogtreecommitdiffstats
path: root/tdeui/kanimwidget.cpp
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2013-03-02 15:57:34 -0600
committerDarrell Anderson <humanreadable@yahoo.com>2013-03-02 15:57:34 -0600
commit7c0b0c9dc9fcbe9c198925bdc7ee18ac6be49f4f (patch)
treec76702a7f6310fbe9d437e347535422e836e94e9 /tdeui/kanimwidget.cpp
parenta2a38be7600e2a2c2b49c66902d912ca036a2c0f (diff)
parent27bbee9a5f9dcda53d8eb23863ee670ad1360e41 (diff)
downloadtdelibs-7c0b0c9dc9fcbe9c198925bdc7ee18ac6be49f4f.tar.gz
tdelibs-7c0b0c9dc9fcbe9c198925bdc7ee18ac6be49f4f.zip
Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/tdelibs
Diffstat (limited to 'tdeui/kanimwidget.cpp')
-rw-r--r--tdeui/kanimwidget.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/tdeui/kanimwidget.cpp b/tdeui/kanimwidget.cpp
index 899ba7bd3..664117ce3 100644
--- a/tdeui/kanimwidget.cpp
+++ b/tdeui/kanimwidget.cpp
@@ -22,7 +22,7 @@
#include <tqtimer.h>
#include <tqpainter.h>
#include <tqimage.h>
-#include <ktoolbar.h>
+#include <tdetoolbar.h>
#include <kdebug.h>
#include <kiconloader.h>
@@ -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,12 +182,12 @@ 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 = KGlobal::iconLoader()->currentSize(KIcon::MainToolbar);
+ d->size = TDEGlobal::iconLoader()->currentSize(TDEIcon::MainToolbar);
- TQString path = KGlobal::iconLoader()->iconPath(d->icon_name, -d->size);
+ TQString path = TDEGlobal::iconLoader()->iconPath(d->icon_name, -d->size);
TQImage img(path);
if (img.isNull())