summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-console/session.cpp
authorjosef <josef>2002-10-26 11:38:42 (UTC)
committer josef <josef>2002-10-26 11:38:42 (UTC)
commit2dc92ada34785bbfff8ca1202e4d53eb0606c362 (patch) (unidiff)
treec92a92b5cbb1d80962821212b9157260a9faa0f6 /noncore/apps/opie-console/session.cpp
parent65ada01d36dc25f053a09222e8abdb21f2fc3a2a (diff)
downloadopie-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.cpp10
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
10Session::Session() { 10Session::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}
15Session::Session( const QString& na, QWidgetStack* widget, IOLayer* lay) 16Session::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}
22Session::~Session() { 23Session::~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}
98void Session::setProfile( const Profile& prof ) { 99void Session::setProfile( const Profile& prof ) {
99 m_prof = prof; 100 m_prof = prof;
100} 101}
101/* 102/*
102void Session::setEmulationWidget( WidgetLayer* lay ) { 103void Session::setEmulationWidget( WidgetLayer* lay ) {
103 delete m_widLay; 104 delete m_widLay;
104 m_widLay = lay; 105 m_widLay = lay;
105} 106}
106*/ 107*/
108void Session::setTransferDialog(QWidget *d)
109{
110 m_transfer = d;
111}
112
113QWidget *Session::transferDialog()
114{
115 return m_transfer;
116}
107 117