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/kaiman/pref.cpp | 2 +- noatun/modules/kaiman/pref.h | 4 ++-- noatun/modules/kaiman/userinterface.cpp | 4 ++-- noatun/modules/kaiman/userinterface.h | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) (limited to 'noatun/modules/kaiman') diff --git a/noatun/modules/kaiman/pref.cpp b/noatun/modules/kaiman/pref.cpp index cdee37c0..4d74d858 100644 --- a/noatun/modules/kaiman/pref.cpp +++ b/noatun/modules/kaiman/pref.cpp @@ -39,7 +39,7 @@ KaimanPrefDlg::KaimanPrefDlg(TQObject *parent ) TQLabel *label = new TQLabel( i18n("Kaiman Skins"), this, "label" ); topLayout->addWidget( label ); - _skinList = new KListBox( this, "skinList" ); + _skinList = new TDEListBox( this, "skinList" ); topLayout->addWidget( _skinList, 1 ); reopen(); } diff --git a/noatun/modules/kaiman/pref.h b/noatun/modules/kaiman/pref.h index 19895bff..50ab3808 100644 --- a/noatun/modules/kaiman/pref.h +++ b/noatun/modules/kaiman/pref.h @@ -21,7 +21,7 @@ #include -class KListBox; +class TDEListBox; class TQLabel; class KaimanPrefDlg : public CModule @@ -42,7 +42,7 @@ class KaimanPrefDlg : public CModule private: void readSkinDir( const TQString &dir ); - KListBox *_skinList; + TDEListBox *_skinList; }; #endif diff --git a/noatun/modules/kaiman/userinterface.cpp b/noatun/modules/kaiman/userinterface.cpp index 56eb389e..ef6d30ce 100644 --- a/noatun/modules/kaiman/userinterface.cpp +++ b/noatun/modules/kaiman/userinterface.cpp @@ -65,7 +65,7 @@ Kaiman* Kaiman::kaiman=0; const char Kaiman::DEFAULT_SKIN[]="car-preset"; Kaiman::Kaiman() - : KMainWindow(0, "NoatunKaiman"), UserInterface() + : TDEMainWindow(0, "NoatunKaiman"), UserInterface() { NOATUNPLUGINC(Kaiman); kaiman=this; @@ -531,7 +531,7 @@ void Kaiman::newSong() #undef None void Kaiman::toggleLoop() { - KPopupMenu *loopMenu = new KPopupMenu(this, "loopMenu"); + TDEPopupMenu *loopMenu = new TDEPopupMenu(this, "loopMenu"); int selectedItem = 0; loopMenu->setCheckable(true); diff --git a/noatun/modules/kaiman/userinterface.h b/noatun/modules/kaiman/userinterface.h index aac209f3..aa681c3c 100644 --- a/noatun/modules/kaiman/userinterface.h +++ b/noatun/modules/kaiman/userinterface.h @@ -32,7 +32,7 @@ class Player; * @author Stefan Schimanski <1Stein@gmx.de> * @version 0.1 */ -class Kaiman : public KMainWindow, public UserInterface +class Kaiman : public TDEMainWindow, public UserInterface { Q_OBJECT -- cgit v1.2.1