From f2bfcad7ffdd09911f282afe2a2051b3708601c9 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 4 Feb 2013 14:16:51 -0600 Subject: Rename KIcon to enhance compatibility with KDE4 --- tdeutils/kcmultidialog.cpp | 4 ++-- tdeutils/kpluginselector.cpp | 2 +- tdeutils/ksettings/componentsdialog.cpp | 4 ++-- tdeutils/ksettings/dialog.cpp | 2 +- tdeutils/tdecmodulecontainer.cpp | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) (limited to 'tdeutils') diff --git a/tdeutils/kcmultidialog.cpp b/tdeutils/kcmultidialog.cpp index b09f25e88..8c09b8be9 100644 --- a/tdeutils/kcmultidialog.cpp +++ b/tdeutils/kcmultidialog.cpp @@ -254,12 +254,12 @@ void KCMultiDialog::addModule(const TDECModuleInfo& moduleinfo, parentmodulenames += moduleinfo.moduleName(); page = addHBoxPage( parentmodulenames, moduleinfo.comment(), SmallIcon( moduleinfo.icon(), - IconSize( KIcon::Small ) ) ); + IconSize( TDEIcon::Small ) ) ); break; case IconList: page = addHBoxPage( moduleinfo.moduleName(), moduleinfo.comment(), DesktopIcon( moduleinfo.icon(), - KIcon::SizeMedium ) ); + TDEIcon::SizeMedium ) ); break; case Plain: page = plainPage(); diff --git a/tdeutils/kpluginselector.cpp b/tdeutils/kpluginselector.cpp index 501a124a3..5747df7c4 100644 --- a/tdeutils/kpluginselector.cpp +++ b/tdeutils/kpluginselector.cpp @@ -207,7 +207,7 @@ void KPluginSelectionWidget::init( const TQValueList & plugininfos { TQCheckListItem * item = new KPluginInfoLVI( *it, listview ); if( ! ( *it )->icon().isEmpty() ) - item->setPixmap( 0, SmallIcon( ( *it )->icon(), IconSize( KIcon::Small ) ) ); + item->setPixmap( 0, SmallIcon( ( *it )->icon(), IconSize( TDEIcon::Small ) ) ); item->setOn( ( *it )->isPluginEnabled() ); d->pluginInfoMap.insert( item, *it ); } diff --git a/tdeutils/ksettings/componentsdialog.cpp b/tdeutils/ksettings/componentsdialog.cpp index 9ee2d31df..50ad97a03 100644 --- a/tdeutils/ksettings/componentsdialog.cpp +++ b/tdeutils/ksettings/componentsdialog.cpp @@ -119,7 +119,7 @@ void ComponentsDialog::show() TQCheckListItem * item = new TQCheckListItem( d->listview, ( *it )->name(), TQCheckListItem::CheckBox ); if( ! ( *it )->icon().isEmpty() ) - item->setPixmap( 0, SmallIcon( ( *it )->icon(), IconSize( KIcon::Small ) ) ); + item->setPixmap( 0, SmallIcon( ( *it )->icon(), IconSize( TDEIcon::Small ) ) ); item->setOn( ( *it )->isPluginEnabled() ); d->plugininfomap[ item ] = ( *it ); } @@ -144,7 +144,7 @@ void ComponentsDialog::executed( TQListViewItem * item ) info->setPluginEnabled( checked ); //checkDependencies( info ); // show info about the component on the right - d->iconwidget->setPixmap( SmallIcon( info->icon(), KIcon::SizeLarge ) ); + d->iconwidget->setPixmap( SmallIcon( info->icon(), TDEIcon::SizeLarge ) ); d->commentwidget->setText( info->comment() ); //d->descriptionwidget->setText( info->description() ); } diff --git a/tdeutils/ksettings/dialog.cpp b/tdeutils/ksettings/dialog.cpp index 77e05e245..49918b5e7 100644 --- a/tdeutils/ksettings/dialog.cpp +++ b/tdeutils/ksettings/dialog.cpp @@ -221,7 +221,7 @@ class PageNode TQPixmap icon; if( ! m_value.group->icon.isNull() ) icon = SmallIcon( m_value.group->icon, - IconSize( KIcon::Small ) ); + IconSize( TDEIcon::Small ) ); TQVBox * page = dlg->addVBoxPage( m_value.group->name, TQString::null, icon ); TQLabel * comment = new TQLabel( m_value.group->comment, page ); diff --git a/tdeutils/tdecmodulecontainer.cpp b/tdeutils/tdecmodulecontainer.cpp index 04cbf6751..c379a9857 100644 --- a/tdeutils/tdecmodulecontainer.cpp +++ b/tdeutils/tdecmodulecontainer.cpp @@ -141,7 +141,7 @@ void TDECModuleContainer::addModule( const TQString& module ) allModules.append( proxy ); d->tabWidget->addTab( proxy, TQIconSet(TDEGlobal::iconLoader()->loadIcon( - proxy->moduleInfo().icon(), KIcon::Desktop)), + proxy->moduleInfo().icon(), TDEIcon::Desktop)), /* QT eats ampersands for dinner. But not this time. */ proxy->moduleInfo().moduleName().replace( "&", "&&" )); -- cgit v1.2.1