Diffstat (limited to 'noncore/apps/opie-reader/ToolbarPrefs.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-reader/ToolbarPrefs.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/noncore/apps/opie-reader/ToolbarPrefs.cpp b/noncore/apps/opie-reader/ToolbarPrefs.cpp index 5cf220a..56c4e9b 100644 --- a/noncore/apps/opie-reader/ToolbarPrefs.cpp +++ b/noncore/apps/opie-reader/ToolbarPrefs.cpp | |||
@@ -1,57 +1,56 @@ | |||
1 | /**************************************************************************** | 1 | /**************************************************************************** |
2 | ** Form implementation generated from reading ui file 'Prefs.ui' | 2 | ** Form implementation generated from reading ui file 'Prefs.ui' |
3 | ** | 3 | ** |
4 | ** Created: Tue Feb 11 23:53:35 2003 | 4 | ** Created: Tue Feb 11 23:53:35 2003 |
5 | ** by: The User Interface Compiler (uic) | 5 | ** by: The User Interface Compiler (uic) |
6 | ** | 6 | ** |
7 | ** WARNING! All changes made in this file will be lost! | 7 | ** WARNING! All changes made in this file will be lost! |
8 | ****************************************************************************/ | 8 | ****************************************************************************/ |
9 | #include "useqpe.h" | ||
10 | #include "ToolbarPrefs.h" | 9 | #include "ToolbarPrefs.h" |
11 | 10 | ||
12 | #include <qcheckbox.h> | 11 | #include <qcheckbox.h> |
13 | #include <qlabel.h> | 12 | #include <qlabel.h> |
14 | #include <qpushbutton.h> | 13 | #include <qpushbutton.h> |
15 | #include <qspinbox.h> | 14 | #include <qspinbox.h> |
16 | #include <qlayout.h> | 15 | #include <qlayout.h> |
17 | #include <qvariant.h> | 16 | #include <qvariant.h> |
18 | #include <qtooltip.h> | 17 | #include <qtooltip.h> |
19 | #include <qwhatsthis.h> | 18 | #include <qwhatsthis.h> |
20 | #include <qcombobox.h> | 19 | #include <qcombobox.h> |
21 | #include <qbuttongroup.h> | 20 | #include <qbuttongroup.h> |
22 | #include <qlineedit.h> | 21 | #include <qlineedit.h> |
23 | #ifdef USEQPE | 22 | #ifdef USEQPE |
24 | #include <qpe/menubutton.h> | 23 | #include <qpe/menubutton.h> |
25 | #endif | 24 | #endif |
26 | 25 | ||
27 | CBarPrefs::CBarPrefs(const QString& appdir, bool fs, QWidget* parent, const char* name) : QDialog(parent, name, true), config( appdir ) | 26 | CBarPrefs::CBarPrefs(const QString& appdir, bool fs, QWidget* parent, const char* name) : QDialog(parent, name, true), config( appdir ) |
28 | { | 27 | { |
29 | setCaption(tr( "Toolbar Settings" ) ); | 28 | setCaption(tr( "Toolbar Settings" ) ); |
30 | QTabWidget* td = new QTabWidget(this); | 29 | QTabWidget* td = new QTabWidget(this); |
31 | misc = new CMiscBarPrefs(this); | 30 | misc = new CMiscBarPrefs(this); |
32 | filebar = new CFileBarPrefs(config, this); | 31 | filebar = new CFileBarPrefs(config, this); |
33 | navbar = new CNavBarPrefs(config, this); | 32 | navbar = new CNavBarPrefs(config, this); |
34 | viewbar = new CViewBarPrefs(config, this); | 33 | viewbar = new CViewBarPrefs(config, this); |
35 | markbar = new CMarkBarPrefs(config, this); | 34 | markbar = new CMarkBarPrefs(config, this); |
36 | indbar = new CIndBarPrefs(config, this); | 35 | indbar = new CIndBarPrefs(config, this); |
37 | td->addTab(filebar, tr("File")); | 36 | td->addTab(filebar, tr("File")); |
38 | td->addTab(navbar, tr("Navigation")); | 37 | td->addTab(navbar, tr("Navigation")); |
39 | td->addTab(viewbar, tr("View")); | 38 | td->addTab(viewbar, tr("View")); |
40 | td->addTab(markbar, tr("Marks")); | 39 | td->addTab(markbar, tr("Marks")); |
41 | td->addTab(indbar, tr("Indicators")); | 40 | td->addTab(indbar, tr("Indicators")); |
42 | td->addTab(misc, tr("Policy")); | 41 | td->addTab(misc, tr("Policy")); |
43 | QVBoxLayout* v = new QVBoxLayout(this); | 42 | QVBoxLayout* v = new QVBoxLayout(this); |
44 | v->addWidget(td); | 43 | v->addWidget(td); |
45 | 44 | ||
46 | if (fs) showMaximized(); | 45 | if (fs) showMaximized(); |
47 | } | 46 | } |
48 | 47 | ||
49 | /* | 48 | /* |
50 | CBarPrefs1::CBarPrefs1( Config& _config, QWidget* parent, const char* name, WFlags fl ) | 49 | CBarPrefs1::CBarPrefs1( Config& _config, QWidget* parent, const char* name, WFlags fl ) |
51 | : QWidget( parent, name, fl ), config(_config) | 50 | : QWidget( parent, name, fl ), config(_config) |
52 | { | 51 | { |
53 | config.setGroup( "Toolbar" ); | 52 | config.setGroup( "Toolbar" ); |
54 | QVBoxLayout* vb = new QVBoxLayout(this); | 53 | QVBoxLayout* vb = new QVBoxLayout(this); |
55 | 54 | ||
56 | QGroupBox* bg = new QGroupBox(3, Qt::Horizontal, "File", this); | 55 | QGroupBox* bg = new QGroupBox(3, Qt::Horizontal, "File", this); |
57 | vb->addWidget(bg); | 56 | vb->addWidget(bg); |