summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-console/session.cpp
authorzecke <zecke>2002-10-14 17:46:45 (UTC)
committer zecke <zecke>2002-10-14 17:46:45 (UTC)
commit2c5e8939ba073a42c032f5a9660ed0dd4580bf88 (patch) (side-by-side diff)
tree163d660eb057ba0f78c119465d85413d3524ed1b /noncore/apps/opie-console/session.cpp
parent51e18b363eb37621479a059af58da3040db1be7e (diff)
downloadopie-2c5e8939ba073a42c032f5a9660ed0dd4580bf88.zip
opie-2c5e8939ba073a42c032f5a9660ed0dd4580bf88.tar.gz
opie-2c5e8939ba073a42c032f5a9660ed0dd4580bf88.tar.bz2
The new old TerminalWidget I'm anything but happy about it
Diffstat (limited to 'noncore/apps/opie-console/session.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-console/session.cpp22
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
@@ -10,18 +10,18 @@
Session::Session() {
m_widget = 0l;
m_layer = 0l;
- m_widLay = 0l;
- m_emLay = 0l;
+// m_widLay = 0l;
+// m_emLay = 0l;
}
Session::Session( const QString& na, QWidgetStack* widget, IOLayer* lay)
: m_name( na ), m_widget( widget ), m_layer( lay )
{
- m_widLay = 0l;
- m_emLay = 0l;
+// m_widLay = 0l;
+// m_emLay = 0l;
}
Session::~Session() {
delete m_layer;
- delete m_emLay;
+// delete m_emLay;
delete m_widget;
/* the widget layer should be deleted by the m_widget */
}
@@ -34,22 +34,25 @@ QWidgetStack* Session::widgetStack() {
IOLayer* Session::layer() {
return m_layer;
}
-EmulationLayer* Session::emulationLayer() {
+/*EmulationLayer* Session::emulationLayer() {
return m_emLay;
}
WidgetLayer* Session::emulationWidget() {
return m_widLay;
}
+*/
void Session::connect() {
- if ( !m_layer || !m_emLay )
+/* if ( !m_layer || !m_emLay )
return;
QObject::connect(m_layer, SIGNAL(received(const QByteArray&) ),
m_emLay, SLOT(onRcvBlock(const QByteArray&) ) );
QObject::connect(m_emLay, SIGNAL(sndBlock(const QByteArray&) ),
m_layer, SLOT(send(const QByteArray&) ) );
+ */
}
void Session::disconnect() {
+/*
if ( !m_layer || !m_emLay )
return;
@@ -57,6 +60,7 @@ void Session::disconnect() {
m_emLay, SLOT(onRcvBlock(const QByteArray&) ) );
QObject::disconnect(m_emLay, SIGNAL(sndBlock(const QByteArray&) ),
m_layer, SLOT(send(const QByteArray&) ) );
+ */
}
void Session::setName( const QString& na){
m_name = na;
@@ -64,13 +68,14 @@ void Session::setName( const QString& na){
void Session::setWidgetStack( QWidgetStack* wid ) {
delete m_widget;
/* the EmulationLayer was destroyed... */
- delete m_emLay;
+ //delete m_emLay;
m_widget = wid;
}
void Session::setIOLayer( IOLayer* lay ) {
delete m_layer;
m_layer = lay;
}
+/*
void Session::setEmulationLayer( EmulationLayer* lay ) {
delete m_emLay;
m_emLay = lay;
@@ -79,3 +84,4 @@ void Session::setEmulationWidget( WidgetLayer* lay ) {
delete m_widLay;
m_widLay = lay;
}
+*/ \ No newline at end of file