Diffstat (limited to 'pwmanager/pwmanager/listobjselectwnd.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | pwmanager/pwmanager/listobjselectwnd.cpp | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/pwmanager/pwmanager/listobjselectwnd.cpp b/pwmanager/pwmanager/listobjselectwnd.cpp index 59729f1..7da7e95 100644 --- a/pwmanager/pwmanager/listobjselectwnd.cpp +++ b/pwmanager/pwmanager/listobjselectwnd.cpp | |||
@@ -22,2 +22,5 @@ | |||
22 | #include <klocale.h> | 22 | #include <klocale.h> |
23 | //Added by qt3to4: | ||
24 | #include <QResizeEvent> | ||
25 | #include <QLabel> | ||
23 | 26 | ||
@@ -26,10 +29,10 @@ ListObjSelectWnd::ListObjSelectWnd(const QString &caption, const QString &titleT | |||
26 | QWidget *parent, bool multiSel, const char *name, | 29 | QWidget *parent, bool multiSel, const char *name, |
27 | bool modal, WFlags f) | 30 | bool modal, Qt::WFlags f) |
28 | : QDialog(parent, name, modal, f) | 31 | : QDialog(parent, name, modal, f) |
29 | { | 32 | { |
30 | vbox1 = new QVBox(this); | 33 | vbox1 = new Q3VBox(this); |
31 | title = new QLabel(vbox1); | 34 | title = new QLabel(vbox1); |
32 | list = new QListBox(vbox1); | 35 | list = new Q3ListBox(vbox1); |
33 | if (multiSel) { | 36 | if (multiSel) { |
34 | hbox2 = new QHBox(vbox1); | 37 | hbox2 = new Q3HBox(vbox1); |
35 | selAllButton = new QPushButton(i18n("&Select all"), hbox2); | 38 | selAllButton = new QPushButton(i18n("&Select all"), hbox2); |
@@ -37,3 +40,3 @@ ListObjSelectWnd::ListObjSelectWnd(const QString &caption, const QString &titleT | |||
37 | } | 40 | } |
38 | hbox1 = new QHBox(vbox1); | 41 | hbox1 = new Q3HBox(vbox1); |
39 | okButton = new QPushButton(i18n("&Ok"), hbox1); | 42 | okButton = new QPushButton(i18n("&Ok"), hbox1); |
@@ -47,3 +50,3 @@ ListObjSelectWnd::ListObjSelectWnd(const QString &caption, const QString &titleT | |||
47 | if (multiSel) { | 50 | if (multiSel) { |
48 | list->setSelectionMode(QListBox::Multi); | 51 | list->setSelectionMode(Q3ListBox::Multi); |
49 | } | 52 | } |
@@ -128,4 +131,4 @@ void ListObjSelectWnd::setList(const QStringList &_list) | |||
128 | 131 | ||
129 | #ifndef PWM_EMBEDDED | 132 | #ifndef PWM_EMBEDDED_ |
130 | #include "listobjselectwnd.moc" | 133 | #include "moc_listobjselectwnd.cpp" |
131 | #endif | 134 | #endif |