author | wazlaf <wazlaf> | 2002-09-28 15:21:53 (UTC) |
---|---|---|
committer | wazlaf <wazlaf> | 2002-09-28 15:21:53 (UTC) |
commit | 18d575d0ee47a0700091de81bc3e8c54be4eae18 (patch) (unidiff) | |
tree | a4a890a3d9e823ed75ba0b5a51a67b6e47a57ab9 /noncore/apps/opie-console/mainwindow.cpp | |
parent | ea1975bdf411de3e08e7b84d2480a522596fe143 (diff) | |
download | opie-18d575d0ee47a0700091de81bc3e8c54be4eae18.zip opie-18d575d0ee47a0700091de81bc3e8c54be4eae18.tar.gz opie-18d575d0ee47a0700091de81bc3e8c54be4eae18.tar.bz2 |
indenting, comments
Diffstat (limited to 'noncore/apps/opie-console/mainwindow.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/mainwindow.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/noncore/apps/opie-console/mainwindow.cpp b/noncore/apps/opie-console/mainwindow.cpp index b6b2a2e..e9b5eda 100644 --- a/noncore/apps/opie-console/mainwindow.cpp +++ b/noncore/apps/opie-console/mainwindow.cpp | |||
@@ -8,15 +8,12 @@ | |||
8 | #include "metafactory.h" | 8 | #include "metafactory.h" |
9 | #include "mainwindow.h" | 9 | #include "mainwindow.h" |
10 | 10 | ||
11 | MainWindow::MainWindow() | 11 | MainWindow::MainWindow() { |
12 | { | ||
13 | qWarning("c'tor"); | ||
14 | m_factory = new MetaFactory(); | 12 | m_factory = new MetaFactory(); |
15 | m_sessions.setAutoDelete( TRUE ); | 13 | m_sessions.setAutoDelete( TRUE ); |
16 | m_curSession = 0l; | 14 | m_curSession = -1; |
17 | 15 | ||
18 | initUI(); | 16 | initUI(); |
19 | |||
20 | } | 17 | } |
21 | void MainWindow::initUI() { | 18 | void MainWindow::initUI() { |
22 | setToolBarsMovable( FALSE ); | 19 | setToolBarsMovable( FALSE ); |
@@ -51,12 +48,15 @@ void MainWindow::initUI() { | |||
51 | MainWindow::~MainWindow() { | 48 | MainWindow::~MainWindow() { |
52 | delete m_factory; | 49 | delete m_factory; |
53 | } | 50 | } |
51 | |||
54 | MetaFactory* MainWindow::factory() { | 52 | MetaFactory* MainWindow::factory() { |
55 | return m_factory; | 53 | return m_factory; |
56 | } | 54 | } |
55 | |||
57 | Session* MainWindow::currentSession() { | 56 | Session* MainWindow::currentSession() { |
58 | return m_curSession; | 57 | return m_curSession; |
59 | } | 58 | } |
59 | |||
60 | QList<Session> MainWindow::sessions() { | 60 | QList<Session> MainWindow::sessions() { |
61 | return m_sessions; | 61 | return m_sessions; |
62 | } | 62 | } |