diff options
Diffstat (limited to 'noatun/modules/systray')
-rw-r--r-- | noatun/modules/systray/kitsystemtray.cpp | 4 | ||||
-rw-r--r-- | noatun/modules/systray/kitsystemtray.h | 8 | ||||
-rw-r--r-- | noatun/modules/systray/systray.cpp | 2 | ||||
-rw-r--r-- | noatun/modules/systray/systray.h | 2 |
4 files changed, 8 insertions, 8 deletions
diff --git a/noatun/modules/systray/kitsystemtray.cpp b/noatun/modules/systray/kitsystemtray.cpp index a0b545ab..63a467b6 100644 --- a/noatun/modules/systray/kitsystemtray.cpp +++ b/noatun/modules/systray/kitsystemtray.cpp @@ -44,11 +44,11 @@ #include <fixx11h.h> -KitSystemTray::KitSystemTray(const TQString &contextMenu, KMainWindow *parent, const char *name) +KitSystemTray::KitSystemTray(const TQString &contextMenu, TDEMainWindow *parent, const char *name) : KSystemTray(parent, name) { setAlignment(AlignHCenter | AlignVCenter); - menu = (KPopupMenu *)parent->guiFactory()->container(contextMenu, parent); + menu = (TDEPopupMenu *)parent->guiFactory()->container(contextMenu, parent); menu->insertTitle(SmallIcon("noatun"), TQString(), 0, 0); setAcceptDrops(true); } diff --git a/noatun/modules/systray/kitsystemtray.h b/noatun/modules/systray/kitsystemtray.h index d012853e..13a8b518 100644 --- a/noatun/modules/systray/kitsystemtray.h +++ b/noatun/modules/systray/kitsystemtray.h @@ -30,8 +30,8 @@ #include <ksystemtray.h> -class KPopupMenu; -class KMainWindow; +class TDEPopupMenu; +class TDEMainWindow; class TQPixmap; class KitSystemTray : public KSystemTray @@ -40,7 +40,7 @@ Q_OBJECT public: - KitSystemTray(const TQString &contextMenu, KMainWindow *parent, const char *name = 0); + KitSystemTray(const TQString &contextMenu, TDEMainWindow *parent, const char *name = 0); void changeTitle(const TQPixmap &, const TQString &); protected: virtual void showEvent(TQShowEvent *); @@ -49,7 +49,7 @@ protected: virtual void dropEvent(TQDropEvent *); virtual void wheelEvent(TQWheelEvent *e); - KPopupMenu *menu; + TDEPopupMenu *menu; }; #endif diff --git a/noatun/modules/systray/systray.cpp b/noatun/modules/systray/systray.cpp index 27976429..0cfde28e 100644 --- a/noatun/modules/systray/systray.cpp +++ b/noatun/modules/systray/systray.cpp @@ -90,7 +90,7 @@ protected: //NoatunSystray *NoatunSystray::self = 0; -NoatunSystray::NoatunSystray() : KMainWindow(0, "NoatunSystray"), Plugin(), +NoatunSystray::NoatunSystray() : TDEMainWindow(0, "NoatunSystray"), Plugin(), mTray(0), trayStatus(0), trayBase(0), mPassivePopup(0L) { //self = this; diff --git a/noatun/modules/systray/systray.h b/noatun/modules/systray/systray.h index 270bef01..b1dd7aad 100644 --- a/noatun/modules/systray/systray.h +++ b/noatun/modules/systray/systray.h @@ -38,7 +38,7 @@ class KitSystemTray; class TQTimer; class PassivePopup; -class NoatunSystray : public KMainWindow, public Plugin +class NoatunSystray : public TDEMainWindow, public Plugin { Q_OBJECT |