diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-04 14:18:40 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-04 14:18:40 -0600 |
commit | 7bc058d1bffbd79bf9d9416f879ccb4873b6045e (patch) | |
tree | 829c8e24b6d0e8f1113abff459b7a58dd284d488 /kbabel/commonui | |
parent | a50010465ab0fa1ded54efb4f41d342d9d49971e (diff) | |
download | tdesdk-7bc058d1bffbd79bf9d9416f879ccb4873b6045e.tar.gz tdesdk-7bc058d1bffbd79bf9d9416f879ccb4873b6045e.zip |
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'kbabel/commonui')
-rw-r--r-- | kbabel/commonui/tdeactionselector.cpp | 6 | ||||
-rw-r--r-- | kbabel/commonui/tdeactionselector.h | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/kbabel/commonui/tdeactionselector.cpp b/kbabel/commonui/tdeactionselector.cpp index 3758b2be..fd497a4b 100644 --- a/kbabel/commonui/tdeactionselector.cpp +++ b/kbabel/commonui/tdeactionselector.cpp @@ -72,7 +72,7 @@ TDEActionSelector::TDEActionSelector( TQWidget *parent, const char *name ) d->selectedInsertionPolicy = BelowCurrent; d->showUpDownButtons = true; - //int isz = IconSize( KIcon::Small ); + //int isz = IconSize( TDEIcon::Small ); TQHBoxLayout *lo = new TQHBoxLayout( this ); lo->setSpacing( KDialog::spacingHint() ); @@ -148,7 +148,7 @@ TQListBox *TDEActionSelector::selectedListBox() void TDEActionSelector::setButtonIcon( const TQString &icon, MoveButton button ) { int isz; - if ( d->iconSize == SmallIcon ) isz = IconSize( KIcon::Small ); + if ( d->iconSize == SmallIcon ) isz = IconSize( TDEIcon::Small ); else if ( d->iconSize == Small ) isz = 16; else if ( d->iconSize == Medium ) isz = 22; else if ( d->iconSize == Large ) isz = 32; @@ -501,7 +501,7 @@ void TDEActionSelector::itemDoubleClicked( TQListBoxItem *item ) void TDEActionSelector::loadIcons() { int isz; - if ( d->iconSize == SmallIcon ) isz = IconSize( KIcon::Small ); + if ( d->iconSize == SmallIcon ) isz = IconSize( TDEIcon::Small ); else if ( d->iconSize == Small ) isz = 16; else if ( d->iconSize == Medium ) isz = 22; else if ( d->iconSize == Large ) isz = 32; diff --git a/kbabel/commonui/tdeactionselector.h b/kbabel/commonui/tdeactionselector.h index eaa1ab72..6f92484d 100644 --- a/kbabel/commonui/tdeactionselector.h +++ b/kbabel/commonui/tdeactionselector.h @@ -124,7 +124,7 @@ public: /** This enum identifies the icon sizes, used for the move buttons. The values correspond to the following pixel sizes: - @li SmallIcon - the return value of IconSize( KIcon::Small ), the user defined size + @li SmallIcon - the return value of IconSize( TDEIcon::Small ), the user defined size of a small icon in KDE. This is the default setting. @li Small - 16px @li Medium - 22px @@ -283,7 +283,7 @@ public: Sets the iconset for button @p button to @p iconset. You can use this method to et a costum icon set. Either created by @ref TQIconSet, or use the application instance of - @ref KIconLoader (recommended). + @ref TDEIconLoader (recommended). */ void setButtonIconSet( const TQIconSet &iconset, MoveButton button ); |