summaryrefslogtreecommitdiffstats
path: root/src/infosidebarpage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/infosidebarpage.cpp')
-rw-r--r--src/infosidebarpage.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/infosidebarpage.cpp b/src/infosidebarpage.cpp
index f16a417..d12099a 100644
--- a/src/infosidebarpage.cpp
+++ b/src/infosidebarpage.cpp
@@ -68,8 +68,8 @@ InfoSidebarPage::InfoSidebarPage(TQWidget* parent) :
// preview
m_preview = new PixmapViewer(this);
- m_preview->setMinimumWidth(KIcon::SizeEnormous);
- m_preview->setFixedHeight(KIcon::SizeEnormous);
+ m_preview->setMinimumWidth(TDEIcon::SizeEnormous);
+ m_preview->setFixedHeight(TDEIcon::SizeEnormous);
// name
m_name = new TQLabel(this);
@@ -155,10 +155,10 @@ void InfoSidebarPage::showItemInfo()
}
if (m_multipleSelection) {
- KIconLoader iconLoader;
+ TDEIconLoader iconLoader;
TQPixmap icon = iconLoader.loadIcon("exec",
- KIcon::NoGroup,
- KIcon::SizeEnormous);
+ TDEIcon::NoGroup,
+ TDEIcon::SizeEnormous);
m_preview->setPixmap(icon);
m_name->setText(i18n("%n items selected", "%n items selected", selectedItems->count()));
}
@@ -172,7 +172,7 @@ void InfoSidebarPage::showItemInfo()
TDEIO::PreviewJob* job = TDEIO::filePreview(list,
m_preview->width(),
- KIcon::SizeEnormous);
+ TDEIcon::SizeEnormous);
connect(job, TQT_SIGNAL(gotPreview(const KFileItem*, const TQPixmap&)),
this, TQT_SLOT(gotPreview(const KFileItem*, const TQPixmap&)));
connect(job, TQT_SIGNAL(failed(const KFileItem*)),
@@ -198,7 +198,7 @@ void InfoSidebarPage::slotPreviewFailed(const KFileItem* item)
{
m_pendingPreview = false;
if (!applyBookmark()) {
- m_preview->setPixmap(item->pixmap(KIcon::SizeEnormous));
+ m_preview->setPixmap(item->pixmap(TDEIcon::SizeEnormous));
}
}
@@ -248,10 +248,10 @@ bool InfoSidebarPage::applyBookmark()
text.append("</b>");
m_name->setText(text);
- KIconLoader iconLoader;
+ TDEIconLoader iconLoader;
TQPixmap icon = iconLoader.loadIcon(bookmark.icon(),
- KIcon::NoGroup,
- KIcon::SizeEnormous);
+ TDEIcon::NoGroup,
+ TDEIcon::SizeEnormous);
m_preview->setPixmap(icon);
return true;
}
@@ -570,12 +570,12 @@ void ServiceButton::drawButton(TQPainter* painter)
// draw icon
int x = spacing;
- const int y = (buttonHeight - KIcon::SizeSmall) / 2;
+ const int y = (buttonHeight - TDEIcon::SizeSmall) / 2;
const TQIconSet* set = iconSet();
if (set != 0) {
painter->drawPixmap(x, y, set->pixmap(TQIconSet::Small, TQIconSet::Normal));
}
- x += KIcon::SizeSmall + spacing;
+ x += TDEIcon::SizeSmall + spacing;
// draw text
painter->setPen(foregroundColor);