diff options
author | Timothy Pearson <[email protected]> | 2013-02-04 14:09:28 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-02-04 14:09:28 -0600 |
commit | 3b1d37c35906b297d1fd9c3660615417d97008f3 (patch) | |
tree | 407bef5efbdd60e16d33a5fe42517a757f50c2bf /systemsettings/moduleiconitem.cpp | |
parent | 28ae138d6e8936bab8c737400ac44682d48c9196 (diff) | |
download | tde-systemsettings-3b1d37c35906b297d1fd9c3660615417d97008f3.tar.gz tde-systemsettings-3b1d37c35906b297d1fd9c3660615417d97008f3.zip |
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'systemsettings/moduleiconitem.cpp')
-rw-r--r-- | systemsettings/moduleiconitem.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
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; |