Diffstat (limited to 'noncore/apps/opie-reader/URLDialog.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-reader/URLDialog.cpp | 31 |
1 files changed, 17 insertions, 14 deletions
diff --git a/noncore/apps/opie-reader/URLDialog.cpp b/noncore/apps/opie-reader/URLDialog.cpp index dd4568b..e572c80 100644 --- a/noncore/apps/opie-reader/URLDialog.cpp +++ b/noncore/apps/opie-reader/URLDialog.cpp | |||
@@ -1,14 +1,17 @@ | |||
1 | #include "URLDialog.h" | 1 | #include "URLDialog.h" |
2 | #include "qlayout.h" | 2 | #include "qlayout.h" |
3 | 3 | ||
4 | CURLDialog::CURLDialog(const QString& fname, bool fs, QWidget* parent, const char* name) : QDialog(parent, name, true) | 4 | #include <qpe/qpeapplication.h> |
5 | { | 5 | |
6 | setCaption(tr("Save URL")); | 6 | CURLDialog::CURLDialog(const QString& fname, bool fs, QWidget* parent, const char* name) : QDialog(parent, name, true) |
7 | QVBoxLayout *tmp = new QVBoxLayout(this); | 7 | { |
8 | QVButtonGroup* vb = new QVButtonGroup(fname, this); | 8 | setCaption(tr("Save URL")); |
9 | tmp->addWidget(vb); | 9 | QVBoxLayout *tmp = new QVBoxLayout(this); |
10 | m_clipboard = new QCheckBox(tr("Clipboard"), vb); | 10 | QVButtonGroup* vb = new QVButtonGroup(fname, this); |
11 | m_localfile = new QCheckBox(tr("Local file"), vb); | 11 | tmp->addWidget(vb); |
12 | m_globalfile = new QCheckBox(tr("Global file"), vb); | 12 | m_clipboard = new QCheckBox(tr("Clipboard"), vb); |
13 | if (fs) showMaximized(); | 13 | m_localfile = new QCheckBox(tr("Local file"), vb); |
14 | } | 14 | m_globalfile = new QCheckBox(tr("Global file"), vb); |
15 | if (fs) | ||
16 | QPEApplication::showDialog( this ); | ||
17 | } | ||