summaryrefslogtreecommitdiffstats
path: root/noatun/library
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-04 14:17:17 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-04 14:17:17 -0600
commitfc02f656b0c119d77b36b1f8d160d525eac44614 (patch)
tree486f6ade10e107f7b64df60172bb4d605c750cea /noatun/library
parent53a028a0f6e052a78e045d687d0839db8a0f16f0 (diff)
downloadtdemultimedia-fc02f656b0c119d77b36b1f8d160d525eac44614.tar.gz
tdemultimedia-fc02f656b0c119d77b36b1f8d160d525eac44614.zip
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'noatun/library')
-rw-r--r--noatun/library/effectview.cpp10
-rw-r--r--noatun/library/pref.cpp2
2 files changed, 6 insertions, 6 deletions
diff --git a/noatun/library/effectview.cpp b/noatun/library/effectview.cpp
index 5d40e37e..e332a456 100644
--- a/noatun/library/effectview.cpp
+++ b/noatun/library/effectview.cpp
@@ -116,7 +116,7 @@ void EffectView::init(void)
TQHBoxLayout *topTopLayout = new TQHBoxLayout(topTopFrame, 0, KDialog::spacingHint());
topTopLayout->setAutoAdd(true);
available = new KComboBox(false, topTopFrame);
- TQToolButton *add = newButton(BarIconSet("down", KIcon::SizeSmall), i18n("Add"), TQT_TQOBJECT(this), TQT_SLOT(addEffect()), topTopFrame);
+ TQToolButton *add = newButton(BarIconSet("down", TDEIcon::SizeSmall), i18n("Add"), TQT_TQOBJECT(this), TQT_SLOT(addEffect()), topTopFrame);
// Active
TQHGroupBox *bottomBox = new TQHGroupBox(i18n("Active Effects"), box);
@@ -153,10 +153,10 @@ void EffectView::init(void)
// the buttons
TQFrame *bottomLeftFrame = new TQFrame(bottomBox);
TQVBoxLayout *bottomLeftLayout = new TQVBoxLayout(bottomLeftFrame, 0, KDialog::spacingHint());
- up = newButton(BarIconSet("up", KIcon::SizeSmall), i18n("Up"), TQT_TQOBJECT(this), TQT_SLOT(moveUp()), bottomLeftFrame);
- down = newButton(BarIconSet("down", KIcon::SizeSmall), i18n("Down"), TQT_TQOBJECT(this), TQT_SLOT(moveDown()), bottomLeftFrame);
- configure = newButton(BarIconSet("configure", KIcon::SizeSmall), i18n("Configure"), TQT_TQOBJECT(this), TQT_SLOT(configureEffect()), bottomLeftFrame);
- remove = newButton(BarIconSet("remove", KIcon::SizeSmall), i18n("Remove"), TQT_TQOBJECT(this), TQT_SLOT(removeEffect()), bottomLeftFrame);
+ up = newButton(BarIconSet("up", TDEIcon::SizeSmall), i18n("Up"), TQT_TQOBJECT(this), TQT_SLOT(moveUp()), bottomLeftFrame);
+ down = newButton(BarIconSet("down", TDEIcon::SizeSmall), i18n("Down"), TQT_TQOBJECT(this), TQT_SLOT(moveDown()), bottomLeftFrame);
+ configure = newButton(BarIconSet("configure", TDEIcon::SizeSmall), i18n("Configure"), TQT_TQOBJECT(this), TQT_SLOT(configureEffect()), bottomLeftFrame);
+ remove = newButton(BarIconSet("remove", TDEIcon::SizeSmall), i18n("Remove"), TQT_TQOBJECT(this), TQT_SLOT(removeEffect()), bottomLeftFrame);
bottomLeftLayout->addWidget(up);
bottomLeftLayout->addWidget(down);
bottomLeftLayout->addWidget(configure);
diff --git a/noatun/library/pref.cpp b/noatun/library/pref.cpp
index 73285ad1..2d30a413 100644
--- a/noatun/library/pref.cpp
+++ b/noatun/library/pref.cpp
@@ -56,7 +56,7 @@ void NoatunPreferences::remove(CModule *page)
CModule::CModule(const TQString &name, const TQString &description, const TQString &icon, TQObject *owner)
: TQWidget(napp->preferencesBox()->addPage(name, description, TDEGlobal::iconLoader()->loadIcon(
- icon, KIcon::Small,0, KIcon::DefaultState,0, true)))
+ icon, TDEIcon::Small,0, TDEIcon::DefaultState,0, true)))
{
if (owner)
connect(owner, TQT_SIGNAL(destroyed()), TQT_SLOT(ownerDeleted()));