From 940c092f32d40263ad6b24f948eaf4c48b01e99a Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 15:13:25 -0600 Subject: Rename a number of classes to enhance compatibility with KDE4 --- noatun/modules/excellent/userinterface.cpp | 8 ++++---- noatun/modules/excellent/userinterface.h | 10 +++++----- 2 files changed, 9 insertions(+), 9 deletions(-) (limited to 'noatun/modules/excellent') diff --git a/noatun/modules/excellent/userinterface.cpp b/noatun/modules/excellent/userinterface.cpp index f1f64a22..7d6c4bfd 100644 --- a/noatun/modules/excellent/userinterface.cpp +++ b/noatun/modules/excellent/userinterface.cpp @@ -62,7 +62,7 @@ #include Excellent::Excellent() - : KMainWindow(0, "NoatunExcellent") + : TDEMainWindow(0, "NoatunExcellent") , UserInterface() { setAcceptDrops(true); @@ -82,7 +82,7 @@ Excellent::Excellent() NoatunStdAction::forward(actionCollection(), "forward"); NoatunStdAction::playlist(actionCollection(), "show_playlist"); - volumeAction = new KToggleAction(i18n("Show &Volume Control"), 0, TQT_TQOBJECT(this), TQT_SLOT(showVolumeControl()), actionCollection(), "show_volumecontrol"); + volumeAction = new TDEToggleAction(i18n("Show &Volume Control"), 0, TQT_TQOBJECT(this), TQT_SLOT(showVolumeControl()), actionCollection(), "show_volumecontrol"); volumeAction->setCheckedState(i18n("Hide &Volume Control")); NoatunStdAction::effects(actionCollection(), "effects"); NoatunStdAction::equalizer(actionCollection(), "equalizer"); @@ -210,7 +210,7 @@ void Excellent::showEvent(TQShowEvent *e) config->writeEntry("mappingState", NET::Visible); config->sync(); - KMainWindow::showEvent(e); + TDEMainWindow::showEvent(e); } void Excellent::hideEvent(TQHideEvent *e) @@ -220,7 +220,7 @@ void Excellent::hideEvent(TQHideEvent *e) config->writeEntry("mappingState", NET::Withdrawn); config->sync(); - KMainWindow::hideEvent(e); + TDEMainWindow::hideEvent(e); } void Excellent::closeEvent(TQCloseEvent *) diff --git a/noatun/modules/excellent/userinterface.h b/noatun/modules/excellent/userinterface.h index 0cd172a6..c47f05f1 100644 --- a/noatun/modules/excellent/userinterface.h +++ b/noatun/modules/excellent/userinterface.h @@ -32,22 +32,22 @@ #include #include -class KAction; -class KPopupMenu; +class TDEAction; +class TDEPopupMenu; class KStatusBar; class Player; class TQHBox; class TQLabel; class TQSlider; class L33tSlider; -class KToggleAction; +class TDEToggleAction; /** * @short Main window class * @author Neil Stevens * @author Charles Samuels */ -class Excellent : public KMainWindow, public UserInterface +class Excellent : public TDEMainWindow, public UserInterface { Q_OBJECT @@ -94,7 +94,7 @@ private: TQHBox *mainFrame; - KToggleAction *volumeAction, *menubarAction; + TDEToggleAction *volumeAction, *menubarAction; L33tSlider *volumeSlider, *slider; TQLabel *elapsed, *total; }; -- cgit v1.2.1