author | sandman <sandman> | 2002-12-22 16:37:07 (UTC) |
---|---|---|
committer | sandman <sandman> | 2002-12-22 16:37:07 (UTC) |
commit | 150e066a847e8e10848cfd10a635b9cec57347b3 (patch) (unidiff) | |
tree | 8e16dec1950321db67455b0011b79fcae0469c68 /noncore/settings/mediummount | |
parent | 9ee5295d934e0876dfe0b7e0a4ee05012c491f91 (diff) | |
download | opie-150e066a847e8e10848cfd10a635b9cec57347b3.zip opie-150e066a847e8e10848cfd10a635b9cec57347b3.tar.gz opie-150e066a847e8e10848cfd10a635b9cec57347b3.tar.bz2 |
Fixed some window captions to match the corresponding launcher icons
Diffstat (limited to 'noncore/settings/mediummount') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/mediummount/mainwindow.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/noncore/settings/mediummount/mainwindow.cc b/noncore/settings/mediummount/mainwindow.cc index cf8ad6c..6d9bb80 100644 --- a/noncore/settings/mediummount/mainwindow.cc +++ b/noncore/settings/mediummount/mainwindow.cc | |||
@@ -1,43 +1,45 @@ | |||
1 | 1 | ||
2 | 2 | ||
3 | #include <qtabwidget.h> | 3 | #include <qtabwidget.h> |
4 | #include <qlayout.h> | 4 | #include <qlayout.h> |
5 | 5 | ||
6 | #include <qpe/storage.h> | 6 | #include <qpe/storage.h> |
7 | 7 | ||
8 | #include "mediumwidget.h" | 8 | #include "mediumwidget.h" |
9 | #include "mediumglobal.h" | 9 | #include "mediumglobal.h" |
10 | 10 | ||
11 | #include "mainwindow.h" | 11 | #include "mainwindow.h" |
12 | 12 | ||
13 | using namespace MediumMountSetting; | 13 | using namespace MediumMountSetting; |
14 | 14 | ||
15 | 15 | ||
16 | MainWindow::MainWindow( QWidget *parent, const char *name, WFlags ) | 16 | MainWindow::MainWindow( QWidget *parent, const char *name, WFlags ) |
17 | : QMainWindow( parent, name, WStyle_ContextHelp ) | 17 | : QMainWindow( parent, name, WStyle_ContextHelp ) |
18 | 18 | ||
19 | { | 19 | { |
20 | setCaption ( tr( "Medium Mount Settings" )); | ||
21 | |||
20 | // m_lay = new QVBoxLayout( this ); | 22 | // m_lay = new QVBoxLayout( this ); |
21 | m_tab = new QTabWidget( this ); | 23 | m_tab = new QTabWidget( this ); |
22 | setCentralWidget( m_tab ); | 24 | setCentralWidget( m_tab ); |
23 | init(); | 25 | init(); |
24 | } | 26 | } |
25 | 27 | ||
26 | MainWindow::~MainWindow() | 28 | MainWindow::~MainWindow() |
27 | { | 29 | { |
28 | 30 | ||
29 | } | 31 | } |
30 | void MainWindow::init() | 32 | void MainWindow::init() |
31 | { | 33 | { |
32 | m_global = new MediumGlobalWidget( m_tab, "test drive" ); | 34 | m_global = new MediumGlobalWidget( m_tab, "test drive" ); |
33 | m_tab->addTab( m_global, tr("Global") ); | 35 | m_tab->addTab( m_global, tr("Global") ); |
34 | 36 | ||
35 | StorageInfo storage; | 37 | StorageInfo storage; |
36 | const QList<FileSystem> &fs = storage.fileSystems(); | 38 | const QList<FileSystem> &fs = storage.fileSystems(); |
37 | QListIterator<FileSystem> it( fs ); | 39 | QListIterator<FileSystem> it( fs ); |
38 | MediumMountWidget *wid; | 40 | MediumMountWidget *wid; |
39 | for( ; it.current(); ++it ){ | 41 | for( ; it.current(); ++it ){ |
40 | if( (*it)->isRemovable() ){ | 42 | if( (*it)->isRemovable() ){ |
41 | wid = new MediumMountWidget((*it)->path(), QPixmap(), m_tab ); | 43 | wid = new MediumMountWidget((*it)->path(), QPixmap(), m_tab ); |
42 | m_mediums.append( wid ); | 44 | m_mediums.append( wid ); |
43 | m_tab->addTab( wid, (*it)->name() ); | 45 | m_tab->addTab( wid, (*it)->name() ); |