From de9b6c9ad15f9f51812daae17cce635d1050a9ba Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 4 Feb 2013 14:14:55 -0600 Subject: Rename KIcon to enhance compatibility with KDE4 --- kcontrol/tdefontinst/kcmfontinst/KFileFontView.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kcontrol/tdefontinst/kcmfontinst/KFileFontView.cpp') diff --git a/kcontrol/tdefontinst/kcmfontinst/KFileFontView.cpp b/kcontrol/tdefontinst/kcmfontinst/KFileFontView.cpp index fb45b44ca..7732873de 100644 --- a/kcontrol/tdefontinst/kcmfontinst/KFileFontView.cpp +++ b/kcontrol/tdefontinst/kcmfontinst/KFileFontView.cpp @@ -260,7 +260,7 @@ void CKFileFontView::updateView(bool b) { CFontListViewItem *item=static_cast(it.current()); - item->setPixmap(0, item->fileInfo()->pixmap(KIcon::SizeSmall)); + item->setPixmap(0, item->fileInfo()->pixmap(TDEIcon::SizeSmall)); } } } @@ -475,9 +475,9 @@ TQDragObject *CKFileFontView::dragObject() urls.append( (*it)->url() ); if(urls.count()> 1) - pixmap = DesktopIcon("tdemultiple", KIcon::SizeSmall); + pixmap = DesktopIcon("tdemultiple", TDEIcon::SizeSmall); if(pixmap.isNull()) - pixmap = currentFileItem()->pixmap(KIcon::SizeSmall); + pixmap = currentFileItem()->pixmap(TDEIcon::SizeSmall); hotspot.setX(pixmap.width() / 2); hotspot.setY(pixmap.height() / 2); @@ -629,7 +629,7 @@ void CKFileFontView::writeConfig(TDEConfig *kc, const TQString &group) void CFontListViewItem::init() { - CFontListViewItem::setPixmap(COL_NAME, itsInf->pixmap(KIcon::SizeSmall)); + CFontListViewItem::setPixmap(COL_NAME, itsInf->pixmap(TDEIcon::SizeSmall)); setText(COL_NAME, itsInf->text()); setText(COL_SIZE, itsInf->isDir() ? "" : TDEGlobal::locale()->formatNumber(itsInf->size(), 0)); -- cgit v1.2.1