From d53bf360906757a36588588fb0286d3b4784ffcb Mon Sep 17 00:00:00 2001 From: tpearson Date: Sun, 23 Jan 2011 09:33:56 +0000 Subject: Minor compilation enhancements git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1216418 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- ksplashml/kcmksplash/installer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ksplashml/kcmksplash/installer.cpp') 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(); -- cgit v1.2.1