summaryrefslogtreecommitdiffabout
path: root/pwmanager/pwmanager/pwmviewstyle_1.cpp
authorzautrix <zautrix>2004-10-20 11:31:39 (UTC)
committer zautrix <zautrix>2004-10-20 11:31:39 (UTC)
commit07c93af78c721c302a69df475235962ee003d532 (patch) (side-by-side diff)
treeee87f2d89bbaf4ac7ec502c751718fb2274306aa /pwmanager/pwmanager/pwmviewstyle_1.cpp
parentc45d38a1574bcb53e1b0fd0dc4987cb725d430c0 (diff)
downloadkdepimpi-07c93af78c721c302a69df475235962ee003d532.zip
kdepimpi-07c93af78c721c302a69df475235962ee003d532.tar.gz
kdepimpi-07c93af78c721c302a69df475235962ee003d532.tar.bz2
fixed categorie dialog access
Diffstat (limited to 'pwmanager/pwmanager/pwmviewstyle_1.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--pwmanager/pwmanager/pwmviewstyle_1.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/pwmanager/pwmanager/pwmviewstyle_1.cpp b/pwmanager/pwmanager/pwmviewstyle_1.cpp
index a85cece..6b9def3 100644
--- a/pwmanager/pwmanager/pwmviewstyle_1.cpp
+++ b/pwmanager/pwmanager/pwmviewstyle_1.cpp
@@ -25,6 +25,11 @@
#include <klocale.h>
#include "pwmprefs.h"
+#ifndef DESKTOP_VERSION
+#include <qpe/qpeapplication.h>
+#else
+#include <qapplication.h>
+#endif
#define INITIAL_CATEGORIES_WIDTH 100
PwMViewStyle_1::PwMViewStyle_1(PwMView *view)
@@ -76,6 +81,11 @@ PwMViewStyle_1::PwMViewStyle_1(PwMView *view)
view, SLOT(renCatButton_slot()));
catCtxMenu->insertItem(i18n("&Delete"),
view, SLOT(delCatButton_slot()));
+
+#ifndef DESKTOP_VERSION
+ QPEApplication::setStylusOperation( categoriesList->viewport(), QPEApplication::RightOnHold );
+#endif
+
// connections
connect(categoriesList, SIGNAL(highlighted(int)),
view, SLOT(shiftToView()));