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/ksettings/componentsdialog.cpp | 4 ++-- tdeutils/ksettings/dialog.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'tdeutils/ksettings') 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 ); -- cgit v1.2.1