Diffstat (limited to 'noncore/apps/opie-console/session.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/session.cpp | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/noncore/apps/opie-console/session.cpp b/noncore/apps/opie-console/session.cpp index ff2c3e2..7cae0df 100644 --- a/noncore/apps/opie-console/session.cpp +++ b/noncore/apps/opie-console/session.cpp | |||
@@ -12,4 +12,4 @@ Session::Session() { | |||
12 | m_layer = 0l; | 12 | m_layer = 0l; |
13 | m_widLay = 0l; | 13 | // m_widLay = 0l; |
14 | m_emLay = 0l; | 14 | // m_emLay = 0l; |
15 | } | 15 | } |
@@ -18,4 +18,4 @@ Session::Session( const QString& na, QWidgetStack* widget, IOLayer* lay) | |||
18 | { | 18 | { |
19 | m_widLay = 0l; | 19 | // m_widLay = 0l; |
20 | m_emLay = 0l; | 20 | // m_emLay = 0l; |
21 | } | 21 | } |
@@ -23,3 +23,3 @@ Session::~Session() { | |||
23 | delete m_layer; | 23 | delete m_layer; |
24 | delete m_emLay; | 24 | // delete m_emLay; |
25 | delete m_widget; | 25 | delete m_widget; |
@@ -36,3 +36,3 @@ IOLayer* Session::layer() { | |||
36 | } | 36 | } |
37 | EmulationLayer* Session::emulationLayer() { | 37 | /*EmulationLayer* Session::emulationLayer() { |
38 | return m_emLay; | 38 | return m_emLay; |
@@ -42,4 +42,5 @@ WidgetLayer* Session::emulationWidget() { | |||
42 | } | 42 | } |
43 | */ | ||
43 | void Session::connect() { | 44 | void Session::connect() { |
44 | if ( !m_layer || !m_emLay ) | 45 | /* if ( !m_layer || !m_emLay ) |
45 | return; | 46 | return; |
@@ -50,4 +51,6 @@ void Session::connect() { | |||
50 | m_layer, SLOT(send(const QByteArray&) ) ); | 51 | m_layer, SLOT(send(const QByteArray&) ) ); |
52 | */ | ||
51 | } | 53 | } |
52 | void Session::disconnect() { | 54 | void Session::disconnect() { |
55 | /* | ||
53 | if ( !m_layer || !m_emLay ) | 56 | if ( !m_layer || !m_emLay ) |
@@ -59,2 +62,3 @@ void Session::disconnect() { | |||
59 | m_layer, SLOT(send(const QByteArray&) ) ); | 62 | m_layer, SLOT(send(const QByteArray&) ) ); |
63 | */ | ||
60 | } | 64 | } |
@@ -66,3 +70,3 @@ void Session::setWidgetStack( QWidgetStack* wid ) { | |||
66 | /* the EmulationLayer was destroyed... */ | 70 | /* the EmulationLayer was destroyed... */ |
67 | delete m_emLay; | 71 | //delete m_emLay; |
68 | m_widget = wid; | 72 | m_widget = wid; |
@@ -73,2 +77,3 @@ void Session::setIOLayer( IOLayer* lay ) { | |||
73 | } | 77 | } |
78 | /* | ||
74 | void Session::setEmulationLayer( EmulationLayer* lay ) { | 79 | void Session::setEmulationLayer( EmulationLayer* lay ) { |
@@ -81 +86,2 @@ void Session::setEmulationWidget( WidgetLayer* lay ) { | |||
81 | } | 86 | } |
87 | */ \ No newline at end of file | ||