author | Michael Krelin <hacker@klever.net> | 2007-07-04 11:23:42 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2007-07-04 11:23:42 (UTC) |
commit | a08aff328d4393031d5ba7d622c2b05705a89d73 (patch) (unidiff) | |
tree | 8ee90d686081c52e7c69b5ce946e9b1a7d690001 /pwmanager/pwmanager/getkeycardwnd.cpp | |
parent | 11edc920afe4f274c0964436633aa632c8288a40 (diff) | |
download | kdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.zip kdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.tar.gz kdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.tar.bz2 |
initial public commit of qt4 portp1
Diffstat (limited to 'pwmanager/pwmanager/getkeycardwnd.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | pwmanager/pwmanager/getkeycardwnd.cpp | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/pwmanager/pwmanager/getkeycardwnd.cpp b/pwmanager/pwmanager/getkeycardwnd.cpp index 89dada2..b8e6174 100644 --- a/pwmanager/pwmanager/getkeycardwnd.cpp +++ b/pwmanager/pwmanager/getkeycardwnd.cpp | |||
@@ -20,17 +20,20 @@ | |||
20 | #include "getkeycardwnd.h" | 20 | #include "getkeycardwnd.h" |
21 | 21 | ||
22 | #include <qmessagebox.h> | 22 | #include <qmessagebox.h> |
23 | //Added by qt3to4: | ||
24 | #include <QResizeEvent> | ||
25 | #include <QLabel> | ||
23 | 26 | ||
24 | #include <klocale.h> | 27 | #include <klocale.h> |
25 | 28 | ||
26 | 29 | ||
27 | GetKeyCardWnd::GetKeyCardWnd(QWidget *parent, | 30 | GetKeyCardWnd::GetKeyCardWnd(QWidget *parent, |
28 | const char *name, bool modal, WFlags f) | 31 | const char *name, bool modal, Qt::WFlags f) |
29 | : QDialog(parent, name, modal, f) | 32 | : QDialog(parent, name, modal, f) |
30 | { | 33 | { |
31 | vbox1 = new QVBox(this); | 34 | vbox1 = new Q3VBox(this); |
32 | text_label = new QLabel(vbox1); | 35 | text_label = new QLabel(vbox1); |
33 | hbox1 = new QHBox(vbox1); | 36 | hbox1 = new Q3HBox(vbox1); |
34 | okButton = new QPushButton(i18n("&Ok"), hbox1); | 37 | okButton = new QPushButton(i18n("&Ok"), hbox1); |
35 | cancelButton = new QPushButton(i18n("&Cancel"), hbox1); | 38 | cancelButton = new QPushButton(i18n("&Cancel"), hbox1); |
36 | 39 | ||
@@ -62,6 +65,6 @@ void GetKeyCardWnd::okButton_slot() | |||
62 | done(1); | 65 | done(1); |
63 | } | 66 | } |
64 | 67 | ||
65 | #ifndef PWM_EMBEDDED | 68 | #ifndef PWM_EMBEDDED_ |
66 | #include "getkeycardwnd.moc" | 69 | #include "moc_getkeycardwnd.cpp" |
67 | #endif | 70 | #endif |