summaryrefslogtreecommitdiffstats
path: root/src/replaygainscanner.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-02-04 14:09:18 -0600
committerTimothy Pearson <[email protected]>2013-02-04 14:09:18 -0600
commit0880fe83db61f8121261753f6eef4d7e0fd78a4c (patch)
treeb08e13f5358c0788545820b389aa73055a5fe922 /src/replaygainscanner.cpp
parent2dec1ab21eff318618d755b0557a33a1d10af649 (diff)
downloadsoundkonverter-0880fe83db61f8121261753f6eef4d7e0fd78a4c.tar.gz
soundkonverter-0880fe83db61f8121261753f6eef4d7e0fd78a4c.zip
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'src/replaygainscanner.cpp')
-rwxr-xr-xsrc/replaygainscanner.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/replaygainscanner.cpp b/src/replaygainscanner.cpp
index da7bc4e..9dd378e 100755
--- a/src/replaygainscanner.cpp
+++ b/src/replaygainscanner.cpp
@@ -28,11 +28,11 @@ ReplayGainScanner::ReplayGainScanner( TagEngine* _tagEngine, Config* _config, Lo
logger = _logger;
// create an icon loader object for loading icons
- KIconLoader* iconLoader = new KIconLoader();
+ TDEIconLoader* iconLoader = new TDEIconLoader();
setCaption( i18n("Replay Gain Tool") );
resize( 600, 400 );
- setIcon( iconLoader->loadIcon("soundkonverter_replaygain",KIcon::Small) );
+ setIcon( iconLoader->loadIcon("soundkonverter_replaygain",TDEIcon::Small) );
TQGridLayout* grid = new TQGridLayout( this, 4, 1, 11, 6 );
@@ -40,8 +40,8 @@ ReplayGainScanner::ReplayGainScanner( TagEngine* _tagEngine, Config* _config, Lo
grid->addLayout( filterBox, 0, 0 );
cAdd = new ComboButton( this, "cAdd" );
- cAdd->insertItem( iconLoader->loadIcon("folder",KIcon::Small),i18n("Add Folder ...") );
- cAdd->insertItem( iconLoader->loadIcon("sound",KIcon::Small),i18n("Add Files ...") );
+ cAdd->insertItem( iconLoader->loadIcon("folder",TDEIcon::Small),i18n("Add Folder ...") );
+ cAdd->insertItem( iconLoader->loadIcon("sound",TDEIcon::Small),i18n("Add Files ...") );
filterBox->addWidget( cAdd );
connect( cAdd, TQT_SIGNAL(clicked(int)),
this, TQT_SLOT(addClicked(int))
@@ -99,21 +99,21 @@ ReplayGainScanner::ReplayGainScanner( TagEngine* _tagEngine, Config* _config, Lo
TQHBoxLayout* buttonBox = new TQHBoxLayout();
grid->addLayout( buttonBox, 3, 0 );
- pTagVisible = new KPushButton( iconLoader->loadIcon("apply",KIcon::Small), i18n("Tag untagged"), this, "pTagVisible" );
+ pTagVisible = new KPushButton( iconLoader->loadIcon("apply",TDEIcon::Small), i18n("Tag untagged"), this, "pTagVisible" );
TQToolTip::add( pTagVisible, i18n("Calculate Replay Gain tag for all files in the file list without Replay Gain tag.") );
buttonBox->addWidget( pTagVisible );
connect( pTagVisible, TQT_SIGNAL(clicked()),
this, TQT_SLOT(calcReplayGainClicked())
);
- pRemoveTag = new KPushButton( iconLoader->loadIcon("cancel",KIcon::Small), i18n("Untag tagged"), this, "pRemoveTag" );
+ pRemoveTag = new KPushButton( iconLoader->loadIcon("cancel",TDEIcon::Small), i18n("Untag tagged"), this, "pRemoveTag" );
TQToolTip::add( pRemoveTag, i18n("Remove the Replay Gain tag from all files in the file list.") );
buttonBox->addWidget( pRemoveTag );
connect( pRemoveTag, TQT_SIGNAL(clicked()),
this, TQT_SLOT(removeReplayGainClicked())
);
- pCancel = new KPushButton( iconLoader->loadIcon("cancel",KIcon::Small),i18n("Cancel"), this, "pCancel" );
+ pCancel = new KPushButton( iconLoader->loadIcon("cancel",TDEIcon::Small),i18n("Cancel"), this, "pCancel" );
pCancel->hide();
buttonBox->addWidget( pCancel );
connect( pCancel, TQT_SIGNAL(clicked()),
@@ -122,7 +122,7 @@ ReplayGainScanner::ReplayGainScanner( TagEngine* _tagEngine, Config* _config, Lo
buttonBox->addStretch();
- pOk = new KPushButton( iconLoader->loadIcon("exit",KIcon::Small), i18n("Close"), this, "pOk" );
+ pOk = new KPushButton( iconLoader->loadIcon("exit",TDEIcon::Small), i18n("Close"), this, "pOk" );
pOk->setFocus();
buttonBox->addWidget( pOk );
connect( pOk, TQT_SIGNAL(clicked()),