From 3b1d37c35906b297d1fd9c3660615417d97008f3 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 4 Feb 2013 14:09:28 -0600 Subject: Rename KIcon to enhance compatibility with KDE4 --- systemsettings/moduleiconitem.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'systemsettings/moduleiconitem.cpp') diff --git a/systemsettings/moduleiconitem.cpp b/systemsettings/moduleiconitem.cpp index 21838fb..a5f3dfc 100644 --- a/systemsettings/moduleiconitem.cpp +++ b/systemsettings/moduleiconitem.cpp @@ -24,25 +24,25 @@ #define IMAGE_SIZE 32 -ModuleIconItem::ModuleIconItem( KIconView *parent, TDECModuleInfo module) +ModuleIconItem::ModuleIconItem( TDEIconView *parent, TDECModuleInfo module) : TQIconViewItem( parent, module.moduleName(), SmallIcon( module.icon(), IMAGE_SIZE ) ), - currentState( KIcon::ActiveState), imageName(module.icon()) + currentState( TDEIcon::ActiveState), imageName(module.icon()) { modules.append(module); } -ModuleIconItem::ModuleIconItem( KIconView *parent, const TQString &text, +ModuleIconItem::ModuleIconItem( TDEIconView *parent, const TQString &text, const TQString &imageName ) : TQIconViewItem( parent, text, SmallIcon( imageName, IMAGE_SIZE ) ), - currentState( KIcon::ActiveState ) + currentState( TDEIcon::ActiveState ) { this->imageName = imageName; } void ModuleIconItem::loadIcon( bool enabled ) { - int newState = enabled ? KIcon::DefaultState : KIcon::DisabledState; + int newState = enabled ? TDEIcon::DefaultState : TDEIcon::DisabledState; if( newState == currentState ) return; -- cgit v1.2.1