diff options
Diffstat (limited to 'noatun/modules/systray/kitsystemtray.cpp')
-rw-r--r-- | noatun/modules/systray/kitsystemtray.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/noatun/modules/systray/kitsystemtray.cpp b/noatun/modules/systray/kitsystemtray.cpp index 5847d7da..8e42a3ed 100644 --- a/noatun/modules/systray/kitsystemtray.cpp +++ b/noatun/modules/systray/kitsystemtray.cpp @@ -33,7 +33,7 @@ #include <noatun/app.h> #include <noatun/player.h> -#include <qdragobject.h> +#include <tqdragobject.h> #include "kitsystemtray.h" #include <kmainwindow.h> @@ -44,26 +44,26 @@ #include <fixx11h.h> -KitSystemTray::KitSystemTray(const QString &contextMenu, KMainWindow *parent, const char *name) +KitSystemTray::KitSystemTray(const TQString &contextMenu, KMainWindow *parent, const char *name) : KSystemTray(parent, name) { setAlignment(AlignHCenter | AlignVCenter); menu = (KPopupMenu *)parent->guiFactory()->container(contextMenu, parent); - menu->insertTitle(SmallIcon("noatun"), QString::null, 0, 0); + menu->insertTitle(SmallIcon("noatun"), TQString::null, 0, 0); setAcceptDrops(true); } -void KitSystemTray::changeTitle(const QPixmap &pixmap, const QString &title) +void KitSystemTray::changeTitle(const TQPixmap &pixmap, const TQString &title) { menu->changeTitle(0, pixmap, title); } -void KitSystemTray::showEvent(QShowEvent *) +void KitSystemTray::showEvent(TQShowEvent *) { // empty } -void KitSystemTray::mousePressEvent(QMouseEvent *event) +void KitSystemTray::mousePressEvent(TQMouseEvent *event) { switch(event->button()) { @@ -82,12 +82,12 @@ void KitSystemTray::mousePressEvent(QMouseEvent *event) } } -void KitSystemTray::dragEnterEvent(QDragEnterEvent * event) +void KitSystemTray::dragEnterEvent(TQDragEnterEvent * event) { event->accept(KURLDrag::canDecode(event)); // accept uri drops only } -void KitSystemTray::dropEvent(QDropEvent * event) +void KitSystemTray::dropEvent(TQDropEvent * event) { KURL::List uris; if (KURLDrag::decode(event, uris)) @@ -98,7 +98,7 @@ void KitSystemTray::dropEvent(QDropEvent * event) } } -void KitSystemTray::wheelEvent(QWheelEvent *event) +void KitSystemTray::wheelEvent(TQWheelEvent *event) { YHConfig *c = YHConfig::self(); |