author | zecke <zecke> | 2002-09-26 21:22:18 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-09-26 21:22:18 (UTC) |
commit | 80471c46265182afccfa832750abd1f4f7fbfaa9 (patch) (unidiff) | |
tree | 73b174abc34fcd23abe2d865365726d85db312b3 /noncore/apps/opie-console/session.cpp | |
parent | 48b3a7159c613b59ca3f838517373620b8afd1d5 (diff) | |
download | opie-80471c46265182afccfa832750abd1f4f7fbfaa9.zip opie-80471c46265182afccfa832750abd1f4f7fbfaa9.tar.gz opie-80471c46265182afccfa832750abd1f4f7fbfaa9.tar.bz2 |
main /s/setMainWindow/showMainWindow
First implementation of the gui
Diffstat (limited to 'noncore/apps/opie-console/session.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/session.cpp | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/noncore/apps/opie-console/session.cpp b/noncore/apps/opie-console/session.cpp new file mode 100644 index 0000000..4198fdc --- a/dev/null +++ b/noncore/apps/opie-console/session.cpp | |||
@@ -0,0 +1,26 @@ | |||
1 | |||
2 | |||
3 | #include "io_layer.h" | ||
4 | #include "file_layer.h" | ||
5 | #include "session.h" | ||
6 | |||
7 | Session::Session( QWidget* widget, IOLayer* lay) | ||
8 | : m_widget( widget ), m_layer( lay ) | ||
9 | { | ||
10 | } | ||
11 | Session::~Session() { | ||
12 | delete m_layer; | ||
13 | delete m_widget; | ||
14 | } | ||
15 | QWidget* Session::widget() { | ||
16 | return m_widget; | ||
17 | } | ||
18 | IOLayer* Session::layer() { | ||
19 | return m_layer; | ||
20 | } | ||
21 | void Session::setWidget( QWidget* wid ) { | ||
22 | m_widget = wid; | ||
23 | } | ||
24 | void Session::setIOLayer( IOLayer* lay ) { | ||
25 | m_layer = lay; | ||
26 | } | ||