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