-rw-r--r-- | pwmanager/pwmanager/pwmviewstyle_1.cpp | 10 | ||||
-rw-r--r-- | pwmanager/pwmanager/rencatwnd.cpp | 6 |
2 files changed, 13 insertions, 3 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 | |||
@@ -26,4 +26,9 @@ | |||
26 | #include "pwmprefs.h" | 26 | #include "pwmprefs.h" |
27 | 27 | ||
28 | #ifndef DESKTOP_VERSION | ||
29 | #include <qpe/qpeapplication.h> | ||
30 | #else | ||
31 | #include <qapplication.h> | ||
32 | #endif | ||
28 | #define INITIAL_CATEGORIES_WIDTH100 | 33 | #define INITIAL_CATEGORIES_WIDTH100 |
29 | 34 | ||
@@ -77,4 +82,9 @@ PwMViewStyle_1::PwMViewStyle_1(PwMView *view) | |||
77 | catCtxMenu->insertItem(i18n("&Delete"), | 82 | catCtxMenu->insertItem(i18n("&Delete"), |
78 | view, SLOT(delCatButton_slot())); | 83 | view, SLOT(delCatButton_slot())); |
84 | |||
85 | #ifndef DESKTOP_VERSION | ||
86 | QPEApplication::setStylusOperation( categoriesList->viewport(), QPEApplication::RightOnHold ); | ||
87 | #endif | ||
88 | |||
79 | // connections | 89 | // connections |
80 | connect(categoriesList, SIGNAL(highlighted(int)), | 90 | connect(categoriesList, SIGNAL(highlighted(int)), |
diff --git a/pwmanager/pwmanager/rencatwnd.cpp b/pwmanager/pwmanager/rencatwnd.cpp index 1e8f9e9..3c4de27 100644 --- a/pwmanager/pwmanager/rencatwnd.cpp +++ b/pwmanager/pwmanager/rencatwnd.cpp | |||
@@ -25,5 +25,5 @@ | |||
25 | RenCatWnd::RenCatWnd(QWidget *parent, | 25 | RenCatWnd::RenCatWnd(QWidget *parent, |
26 | const char *name, bool modal, WFlags f) | 26 | const char *name, bool modal, WFlags f) |
27 | : QDialog(parent, name, modal, f) | 27 | : QDialog(parent, name, true, f) |
28 | { | 28 | { |
29 | vbox1 = new QVBox(this); | 29 | vbox1 = new QVBox(this); |
@@ -38,7 +38,7 @@ RenCatWnd::RenCatWnd(QWidget *parent, | |||
38 | hbox1->setSpacing(10); | 38 | hbox1->setSpacing(10); |
39 | 39 | ||
40 | resize(400, 100); | 40 | resize(220, 100); |
41 | 41 | ||
42 | setCaption(i18n("rename category")); | 42 | setCaption(i18n("Rename category")); |
43 | label->setText(i18n("New category name:")); | 43 | label->setText(i18n("New category name:")); |
44 | 44 | ||