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/marquis/marquis.cpp | 6 +++--- noatun/modules/marquis/marquis.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'noatun/modules/marquis') diff --git a/noatun/modules/marquis/marquis.cpp b/noatun/modules/marquis/marquis.cpp index e3faf8b1..71612174 100644 --- a/noatun/modules/marquis/marquis.cpp +++ b/noatun/modules/marquis/marquis.cpp @@ -69,7 +69,7 @@ static void setPlayStatus( Player *player, int status ) Marquis::Marquis() - : KMainWindow(0, "Marquis") + : TDEMainWindow(0, "Marquis") , SessionManagement() { hide(); @@ -78,8 +78,8 @@ Marquis::Marquis() // for testing: uncomment this and use // dcop `dcop | grep noatun` Marquis activateAction dynamicRestore // and dynamicSave accordingly. -// (void) new KAction("Restore", 0, this, TQT_SLOT( dynamicRestore() ), actionCollection(), "dynamicRestore" ); -// (void) new KAction("Save", 0, this, TQT_SLOT( dynamicSave() ), actionCollection(), "dynamicSave" ); +// (void) new TDEAction("Restore", 0, this, TQT_SLOT( dynamicRestore() ), actionCollection(), "dynamicRestore" ); +// (void) new TDEAction("Save", 0, this, TQT_SLOT( dynamicSave() ), actionCollection(), "dynamicSave" ); connect( napp, TQT_SIGNAL( saveYourself() ), TQT_SLOT( dynamicSave() )); } diff --git a/noatun/modules/marquis/marquis.h b/noatun/modules/marquis/marquis.h index d07ed297..276ebc9a 100644 --- a/noatun/modules/marquis/marquis.h +++ b/noatun/modules/marquis/marquis.h @@ -32,7 +32,7 @@ class Player; -class Marquis : public KMainWindow, public SessionManagement +class Marquis : public TDEMainWindow, public SessionManagement { Q_OBJECT -- cgit v1.2.1