summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-reader/URLDialog.cpp
blob: e572c805e70f4a715c31d22c8c59b65cfb7003b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#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 );
}