summaryrefslogtreecommitdiffstats
path: root/ksplashml/kcmksplash/installer.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-23 09:33:56 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-23 09:33:56 +0000
commitd53bf360906757a36588588fb0286d3b4784ffcb (patch)
treee231cb658b614b66ee2ff922cf92c2927de44962 /ksplashml/kcmksplash/installer.cpp
parent0406f543f8c9f30455199e0f3956da41f126b2fb (diff)
downloadtdebase-d53bf360906757a36588588fb0286d3b4784ffcb.tar.gz
tdebase-d53bf360906757a36588588fb0286d3b4784ffcb.zip
Minor compilation enhancements
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1216418 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksplashml/kcmksplash/installer.cpp')
-rw-r--r--ksplashml/kcmksplash/installer.cpp4
1 files changed, 2 insertions, 2 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();