diff options
author | Slávek Banko <[email protected]> | 2013-07-27 17:13:06 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2013-07-27 18:48:47 +0200 |
commit | a915aa74dc1acdd12de97f9d95a848b3b2a17abb (patch) | |
tree | f65d926875557195c5f6dd840a517e195eeda20e /src/hitwidget.cpp | |
parent | 7c2bc4b5ce4fc1a72868aa949e9ec49fbe2e7931 (diff) | |
download | tork-a915aa74dc1acdd12de97f9d95a848b3b2a17abb.tar.gz tork-a915aa74dc1acdd12de97f9d95a848b3b2a17abb.zip |
Initial TDE conversion
Diffstat (limited to 'src/hitwidget.cpp')
-rw-r--r-- | src/hitwidget.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/hitwidget.cpp b/src/hitwidget.cpp index f62d68e..dfd8c7c 100644 --- a/src/hitwidget.cpp +++ b/src/hitwidget.cpp @@ -24,9 +24,9 @@ #include <kdebug.h> #include <kiconloader.h> #include <ntqtoolbutton.h> -#include <klocale.h> +#include <tdelocale.h> #include <kurllabel.h> -#include <kglobalsettings.h> +#include <tdeglobalsettings.h> #include <ntqlayout.h> /*#include <konq_filetip.h>*/ #include <ntqscrollview.h> @@ -59,9 +59,9 @@ void HitWidget::setIcon(const TQString name) { m_icon = name; if (m_collapsed) - icon->setPixmap(KGlobal::iconLoader()->loadIcon(m_icon, KIcon::NoGroup, KIcon::SizeSmall)); + icon->setPixmap(TDEGlobal::iconLoader()->loadIcon(m_icon, TDEIcon::NoGroup, TDEIcon::SizeSmall)); else - icon->setPixmap(KGlobal::iconLoader()->loadIcon(m_icon, KIcon::NoGroup, KIcon::SizeLarge)); + icon->setPixmap(TDEGlobal::iconLoader()->loadIcon(m_icon, TDEIcon::NoGroup, TDEIcon::SizeLarge)); } void HitWidget::toggleCollapsed() @@ -77,7 +77,7 @@ void HitWidget::setCollapsed(bool collapsed) if (collapsed) { toolButton1->setEnabled(true); m_was_collapsed = true; - icon->setPixmap(KGlobal::iconLoader()->loadIcon(m_icon, KIcon::NoGroup, KIcon::SizeSmall)); + icon->setPixmap(TDEGlobal::iconLoader()->loadIcon(m_icon, TDEIcon::NoGroup, TDEIcon::SizeSmall)); #if 0 i18n("Expand"); i18n("Collapse"); @@ -94,7 +94,7 @@ void HitWidget::setCollapsed(bool collapsed) m_collapsed = collapsed; } else { - icon->setPixmap(KGlobal::iconLoader()->loadIcon(m_icon, KIcon::NoGroup, KIcon::SizeLarge)); + icon->setPixmap(TDEGlobal::iconLoader()->loadIcon(m_icon, TDEIcon::NoGroup, TDEIcon::SizeLarge)); toolButton1->setIconSet(SmallIconSet("2uparrow")); description->setHidden(false); properties->setHidden(false); |