summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-console/session.cpp
Unidiff
Diffstat (limited to 'noncore/apps/opie-console/session.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-console/session.cpp12
1 files changed, 11 insertions, 1 deletions
diff --git a/noncore/apps/opie-console/session.cpp b/noncore/apps/opie-console/session.cpp
index f4fbcf2..d0ace6c 100644
--- a/noncore/apps/opie-console/session.cpp
+++ b/noncore/apps/opie-console/session.cpp
@@ -47,2 +47,4 @@ void Session::connect() {
47 47
48 m_connected = true;
49
48 qWarning("connection in session"); 50 qWarning("connection in session");
@@ -52,4 +54,4 @@ void Session::connect() {
52 m_layer, SLOT(send(const QByteArray&) ) ); 54 m_layer, SLOT(send(const QByteArray&) ) );
53
54} 55}
56
55void Session::disconnect() { 57void Session::disconnect() {
@@ -59,2 +61,4 @@ void Session::disconnect() {
59 61
62 m_connected = false;
63
60 QObject::disconnect(m_layer, SIGNAL(received(const QByteArray&) ), 64 QObject::disconnect(m_layer, SIGNAL(received(const QByteArray&) ),
@@ -64,2 +68,3 @@ void Session::disconnect() {
64} 68}
69
65void Session::setName( const QString& na){ 70void Session::setName( const QString& na){
@@ -67,2 +72,3 @@ void Session::setName( const QString& na){
67} 72}
73
68void Session::setWidgetStack( QWidgetStack* wid ) { 74void Session::setWidgetStack( QWidgetStack* wid ) {
@@ -90 +96,5 @@ void Session::setEmulationWidget( WidgetLayer* lay ) {
90*/ 96*/
97
98bool Session::isConnected() {
99 return m_connected;
100}