summaryrefslogtreecommitdiffstats
path: root/noatun/modules/systray/kitsystemtray.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:43:15 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:43:15 +0000
commite654398e46e37abf457b2b1122ab898d2c51c49f (patch)
treed39ee6440f3c3663c3ead84a2d4cc2d034667e96 /noatun/modules/systray/kitsystemtray.cpp
parente4f29b18e19394b9352f52a6c0d0d0e3932cf511 (diff)
downloadtdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.tar.gz
tdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1157644 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'noatun/modules/systray/kitsystemtray.cpp')
-rw-r--r--noatun/modules/systray/kitsystemtray.cpp18
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();