summaryrefslogtreecommitdiffstats
path: root/kpercentage
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-04 14:15:51 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-04 14:15:51 -0600
commit8cb8ba0f957e8a164cdcfbc2685b14d8d0a5c9a5 (patch)
tree896beb3aed9d9d27eb560459a9ab05d1230c018a /kpercentage
parentc44bd981877cabab2b021987eb29ef00fbba9e82 (diff)
downloadtdeedu-8cb8ba0f957e8a164cdcfbc2685b14d8d0a5c9a5.tar.gz
tdeedu-8cb8ba0f957e8a164cdcfbc2685b14d8d0a5c9a5.zip
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'kpercentage')
-rw-r--r--kpercentage/kpercentage/kpercentage.cpp6
-rw-r--r--kpercentage/kpercentage/kpercentmain.cpp6
2 files changed, 6 insertions, 6 deletions
diff --git a/kpercentage/kpercentage/kpercentage.cpp b/kpercentage/kpercentage/kpercentage.cpp
index 8e2c1ae1..d8cd5b21 100644
--- a/kpercentage/kpercentage/kpercentage.cpp
+++ b/kpercentage/kpercentage/kpercentage.cpp
@@ -49,7 +49,7 @@ KPercentage::KPercentage( const char *name ) :
splash_screen->raise();
// Icon loader for the button's icons
- KIconLoader icon_loader;
+ TDEIconLoader icon_loader;
// let's set a suitable, not too small font size
TQFont the_font( font() );
@@ -85,11 +85,11 @@ KPercentage::KPercentage( const char *name ) :
KPushButton *button_percentage = new KPushButton( i18n( "??% o&f x = y" ), this );
KPushButton *button_random = new KPushButton( i18n( "??" ), this );
KPushButton *button_help = new KPushButton( KStdGuiItem::help().text(), this );
- button_help->setIconSet( TQIconSet( icon_loader.loadIcon( "help", KIcon::NoGroup, 32 ) ) );
+ button_help->setIconSet( TQIconSet( icon_loader.loadIcon( "help", TDEIcon::NoGroup, 32 ) ) );
KHelpMenu *help_menu = new KHelpMenu( this, TDEGlobal::instance()->aboutData(), true );
button_help->setPopup( ( TQPopupMenu* ) ( help_menu->menu() ) );
KPushButton *button_close = new KPushButton( i18n( "E&xit" ), this );
- button_close->setIconSet( TQIconSet( icon_loader.loadIcon( "exit", KIcon::NoGroup, 32 ) ) );
+ button_close->setIconSet( TQIconSet( icon_loader.loadIcon( "exit", TDEIcon::NoGroup, 32 ) ) );
combo_box_level = new KComboBox( this );
combo_box_level->insertItem( i18n( "Easy" ) );
diff --git a/kpercentage/kpercentage/kpercentmain.cpp b/kpercentage/kpercentage/kpercentmain.cpp
index 6198180c..11018c3e 100644
--- a/kpercentage/kpercentage/kpercentmain.cpp
+++ b/kpercentage/kpercentage/kpercentmain.cpp
@@ -94,9 +94,9 @@ KPercentMain::KPercentMain( TQWidget *parent, const char *name ) :
push_button_cancel = new TQPushButton( this, "push_button_cancel" );
push_button_cancel->setText( KStdGuiItem::cancel().text() );
- KIconLoader icon_loader;
- push_button_apply->setIconSet( TQIconSet( icon_loader.loadIcon( "button_ok", KIcon::NoGroup, 32 ) ) );
- push_button_cancel->setIconSet( TQIconSet( icon_loader.loadIcon( "button_cancel", KIcon::NoGroup, 32 ) ) );
+ TDEIconLoader icon_loader;
+ push_button_apply->setIconSet( TQIconSet( icon_loader.loadIcon( "button_ok", TDEIcon::NoGroup, 32 ) ) );
+ push_button_cancel->setIconSet( TQIconSet( icon_loader.loadIcon( "button_cancel", TDEIcon::NoGroup, 32 ) ) );
label_1 = new TQLabel( this, "label_1" );
label_1->setText( i18n( " % of " ) );