summaryrefslogtreecommitdiffstats
path: root/ksplashml/kcmksplash
diff options
context:
space:
mode:
Diffstat (limited to 'ksplashml/kcmksplash')
-rw-r--r--ksplashml/kcmksplash/installer.cpp4
-rw-r--r--ksplashml/kcmksplash/installer.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/ksplashml/kcmksplash/installer.cpp b/ksplashml/kcmksplash/installer.cpp
index 172ab8520..7cffb906c 100644
--- a/ksplashml/kcmksplash/installer.cpp
+++ b/ksplashml/kcmksplash/installer.cpp
@@ -56,7 +56,7 @@ void ThemeListBox::dropEvent(TQDropEvent* event)
void ThemeListBox::slotMouseButtonPressed(int button, TQListBoxItem *item, const TQPoint &p)
{
- if ((button & LeftButton) == 0) return;
+ if ((button & Qt::LeftButton) == 0) return;
mOldPos = p;
mDragFile = TQString::null;
int cur = index(item);
@@ -66,7 +66,7 @@ void ThemeListBox::slotMouseButtonPressed(int button, TQListBoxItem *item, const
void ThemeListBox::mouseMoveEvent(TQMouseEvent *e)
{
- if (((e->state() & LeftButton) != 0) && !mDragFile.isEmpty())
+ if (((e->state() & Qt::LeftButton) != 0) && !mDragFile.isEmpty())
{
int delay = KGlobalSettings::dndEventDelay();
TQPoint newPos = e->globalPos();
diff --git a/ksplashml/kcmksplash/installer.h b/ksplashml/kcmksplash/installer.h
index 22485d75c..ee3af491b 100644
--- a/ksplashml/kcmksplash/installer.h
+++ b/ksplashml/kcmksplash/installer.h
@@ -22,7 +22,7 @@ class TQTextEdit;
class TQPushButton;
class ThemeListBox;
-class SplashInstaller : public QWidget
+class SplashInstaller : public TQWidget
{
Q_OBJECT
public: