author | josef <josef> | 2002-10-26 11:38:42 (UTC) |
---|---|---|
committer | josef <josef> | 2002-10-26 11:38:42 (UTC) |
commit | 2dc92ada34785bbfff8ca1202e4d53eb0606c362 (patch) (unidiff) | |
tree | c92a92b5cbb1d80962821212b9157260a9faa0f6 /noncore/apps/opie-console/session.cpp | |
parent | 65ada01d36dc25f053a09222e8abdb21f2fc3a2a (diff) | |
download | opie-2dc92ada34785bbfff8ca1202e4d53eb0606c362.zip opie-2dc92ada34785bbfff8ca1202e4d53eb0606c362.tar.gz opie-2dc92ada34785bbfff8ca1202e4d53eb0606c362.tar.bz2 |
- nonmodal file transfer (doesn't work yet!)
Diffstat (limited to 'noncore/apps/opie-console/session.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/session.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/noncore/apps/opie-console/session.cpp b/noncore/apps/opie-console/session.cpp index c166d95..4f52584 100644 --- a/noncore/apps/opie-console/session.cpp +++ b/noncore/apps/opie-console/session.cpp | |||
@@ -2,24 +2,25 @@ | |||
2 | 2 | ||
3 | #include "profile.h" | 3 | #include "profile.h" |
4 | #include "io_layer.h" | 4 | #include "io_layer.h" |
5 | #include "file_layer.h" | 5 | #include "file_layer.h" |
6 | #include "emulation_handler.h" | 6 | #include "emulation_handler.h" |
7 | #include "session.h" | 7 | #include "session.h" |
8 | 8 | ||
9 | 9 | ||
10 | Session::Session() { | 10 | Session::Session() { |
11 | m_widget = 0l; | 11 | m_widget = 0l; |
12 | m_layer = 0l; | 12 | m_layer = 0l; |
13 | m_emu = 0l; | 13 | m_emu = 0l; |
14 | m_transfer = 0l; | ||
14 | } | 15 | } |
15 | Session::Session( const QString& na, QWidgetStack* widget, IOLayer* lay) | 16 | Session::Session( const QString& na, QWidgetStack* widget, IOLayer* lay) |
16 | : m_name( na ), m_widget( widget ), m_layer( lay ) | 17 | : m_name( na ), m_widget( widget ), m_layer( lay ) |
17 | { | 18 | { |
18 | // m_widLay = 0l; | 19 | // m_widLay = 0l; |
19 | // m_emLay = 0l; | 20 | // m_emLay = 0l; |
20 | m_emu = 0l; | 21 | m_emu = 0l; |
21 | } | 22 | } |
22 | Session::~Session() { | 23 | Session::~Session() { |
23 | delete m_layer; | 24 | delete m_layer; |
24 | delete m_emu; | 25 | delete m_emu; |
25 | delete m_widget; | 26 | delete m_widget; |
@@ -95,13 +96,22 @@ void Session::setEmulationHandler( EmulationHandler* lay ) { | |||
95 | delete m_emu; | 96 | delete m_emu; |
96 | m_emu = lay; | 97 | m_emu = lay; |
97 | } | 98 | } |
98 | void Session::setProfile( const Profile& prof ) { | 99 | void Session::setProfile( const Profile& prof ) { |
99 | m_prof = prof; | 100 | m_prof = prof; |
100 | } | 101 | } |
101 | /* | 102 | /* |
102 | void Session::setEmulationWidget( WidgetLayer* lay ) { | 103 | void Session::setEmulationWidget( WidgetLayer* lay ) { |
103 | delete m_widLay; | 104 | delete m_widLay; |
104 | m_widLay = lay; | 105 | m_widLay = lay; |
105 | } | 106 | } |
106 | */ | 107 | */ |
108 | void Session::setTransferDialog(QWidget *d) | ||
109 | { | ||
110 | m_transfer = d; | ||
111 | } | ||
112 | |||
113 | QWidget *Session::transferDialog() | ||
114 | { | ||
115 | return m_transfer; | ||
116 | } | ||
107 | 117 | ||