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 @@ -#include "URLDialog.h" -#include "qlayout.h" - -CURLDialog::CURLDialog(const QString& fname, bool fs, QWidget* parent, const char* name) : QDialog(parent, name, true) -{ - setCaption(tr("Save URL")); - QVBoxLayout *tmp = new QVBoxLayout(this); - QVButtonGroup* vb = new QVButtonGroup(fname, this); - tmp->addWidget(vb); - m_clipboard = new QCheckBox(tr("Clipboard"), vb); - m_localfile = new QCheckBox(tr("Local file"), vb); - m_globalfile = new QCheckBox(tr("Global file"), vb); - if (fs) showMaximized(); -} +#include "URLDialog.h"
+#include "qlayout.h"
+
+#include <qpe/qpeapplication.h>
+
+CURLDialog::CURLDialog(const QString& fname, bool fs, QWidget* parent, const char* name) : QDialog(parent, name, true)
+{
+ setCaption(tr("Save URL"));
+ QVBoxLayout *tmp = new QVBoxLayout(this);
+ QVButtonGroup* vb = new QVButtonGroup(fname, this);
+ tmp->addWidget(vb);
+ m_clipboard = new QCheckBox(tr("Clipboard"), vb);
+ m_localfile = new QCheckBox(tr("Local file"), vb);
+ m_globalfile = new QCheckBox(tr("Global file"), vb);
+ if (fs)
+ QPEApplication::showDialog( this );
+}
|