author | zecke <zecke> | 2004-03-13 23:00:19 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-03-13 23:00:19 (UTC) |
commit | 874af2f5ce2d48a460d5d9fa1d6535b68e5966da (patch) (unidiff) | |
tree | 50c2f0dbe0b0aa4b0ef53c537d6005a4afcf210d /noncore/graphics/drawpad/exportdialog.cpp | |
parent | 8f5b7d0ee495901cdd9aa7901c445d82827e99b1 (diff) | |
download | opie-874af2f5ce2d48a460d5d9fa1d6535b68e5966da.zip opie-874af2f5ce2d48a460d5d9fa1d6535b68e5966da.tar.gz opie-874af2f5ce2d48a460d5d9fa1d6535b68e5966da.tar.bz2 |
ODP namespace adjustment
Diffstat (limited to 'noncore/graphics/drawpad/exportdialog.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/graphics/drawpad/exportdialog.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/noncore/graphics/drawpad/exportdialog.cpp b/noncore/graphics/drawpad/exportdialog.cpp index 169acef..f053bb5 100644 --- a/noncore/graphics/drawpad/exportdialog.cpp +++ b/noncore/graphics/drawpad/exportdialog.cpp | |||
@@ -23,12 +23,13 @@ | |||
23 | #include <qlineedit.h> | 23 | #include <qlineedit.h> |
24 | #include <qradiobutton.h> | 24 | #include <qradiobutton.h> |
25 | #include <qspinbox.h> | 25 | #include <qspinbox.h> |
26 | 26 | ||
27 | #include <stdlib.h> | 27 | #include <stdlib.h> |
28 | 28 | ||
29 | using namespace Opie::Ui; | ||
29 | ExportDialog::ExportDialog(uint pageAt, uint pageCount, QWidget* parent, const char* name) | 30 | ExportDialog::ExportDialog(uint pageAt, uint pageCount, QWidget* parent, const char* name) |
30 | : QDialog(parent, name, true) | 31 | : QDialog(parent, name, true) |
31 | { | 32 | { |
32 | setCaption(tr("DrawPad - Export")); | 33 | setCaption(tr("DrawPad - Export")); |
33 | 34 | ||
34 | m_pageAt = pageAt; | 35 | m_pageAt = pageAt; |
@@ -63,14 +64,14 @@ ExportDialog::ExportDialog(uint pageAt, uint pageCount, QWidget* parent, const c | |||
63 | m_pNameLineEdit = new QLineEdit(exportGroupBox); | 64 | m_pNameLineEdit = new QLineEdit(exportGroupBox); |
64 | 65 | ||
65 | m_pFormatComboBox = new QComboBox(exportGroupBox); | 66 | m_pFormatComboBox = new QComboBox(exportGroupBox); |
66 | m_pFormatComboBox->insertStrList(QImageIO::outputFormats()); | 67 | m_pFormatComboBox->insertStrList(QImageIO::outputFormats()); |
67 | 68 | ||
68 | MimeTypes types; types.insert( tr("All Images"), "image/*" ); | 69 | MimeTypes types; types.insert( tr("All Images"), "image/*" ); |
69 | Opie::OFileSelector* fileSelector = new Opie::OFileSelector(this, Opie::OFileSelector::FileSelector, | 70 | OFileSelector* fileSelector = new OFileSelector(this, OFileSelector::FileSelector, |
70 | Opie::OFileSelector::Normal, | 71 | OFileSelector::Normal, |
71 | QString::null, QString::null, | 72 | QString::null, QString::null, |
72 | types ); | 73 | types ); |
73 | fileSelector->setNameVisible( false ); | 74 | fileSelector->setNameVisible( false ); |
74 | 75 | ||
75 | QVBoxLayout* mainLayout = new QVBoxLayout(this, 4, 4); | 76 | QVBoxLayout* mainLayout = new QVBoxLayout(this, 4, 4); |
76 | selectionButtonGroup->layout()->setSpacing(4); | 77 | selectionButtonGroup->layout()->setSpacing(4); |