summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-console/session.h
Unidiff
Diffstat (limited to 'noncore/apps/opie-console/session.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-console/session.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/noncore/apps/opie-console/session.h b/noncore/apps/opie-console/session.h
index 04bf257..c3f3661 100644
--- a/noncore/apps/opie-console/session.h
+++ b/noncore/apps/opie-console/session.h
@@ -1,14 +1,13 @@
1#ifndef OPIE_SESSION_H 1#ifndef OPIE_SESSION_H
2#define OPIE_SESSION_H 2#define OPIE_SESSION_H
3 3
4#include <qwidgetstack.h> 4#include <qwidgetstack.h>
5 5
6class IOLayer; 6class IOLayer;
7class EmulationLayer; 7class EmulationHandler;
8class WidgetLayer;
9/** 8/**
10 * This is a Session. A session contains 9 * This is a Session. A session contains
11 * a QWidget pointer and a IOLayer 10 * a QWidget pointer and a IOLayer
12 * Imagine a session like a collection of what 11 * Imagine a session like a collection of what
13 * is needed to show your widget in a tab ;) 12 * is needed to show your widget in a tab ;)
14 */ 13 */
@@ -38,14 +37,13 @@ public:
38 37
39 /** 38 /**
40 * return the layer 39 * return the layer
41 */ 40 */
42 IOLayer* layer(); 41 IOLayer* layer();
43 42
44// EmulationLayer* emulationLayer(); 43 EmulationHandler* emulationHandler();
45 WidgetLayer* emulationWidget();
46 44
47 /* 45 /*
48 * connects the data flow from 46 * connects the data flow from
49 * the IOLayer to the EmulationLayer 47 * the IOLayer to the EmulationLayer
50 */ 48 */
51 void connect(); 49 void connect();
@@ -54,21 +52,19 @@ public:
54 * disconnect the dataflow 52 * disconnect the dataflow
55 * this will be done for ft 53 * this will be done for ft
56 */ 54 */
57 void disconnect(); 55 void disconnect();
58 56
59 void setWidgetStack( QWidgetStack* widget ); 57 void setWidgetStack( QWidgetStack* widget );
60// void setEmulationLayer( EmulationLayer* lay ); 58 void setEmulationHandler( EmulationHandler* lay );
61// void setEmulationWidget( WidgetLayer* lay );
62 void setIOLayer( IOLayer* ); 59 void setIOLayer( IOLayer* );
63 void setName( const QString& ); 60 void setName( const QString& );
64 61
65private: 62private:
66 QString m_name; 63 QString m_name;
67 QWidgetStack* m_widget; 64 QWidgetStack* m_widget;
68 IOLayer* m_layer; 65 IOLayer* m_layer;
69// EmulationLayer* m_emLay; 66 EmulationHandler* m_emu;
70// WidgetLayer* m_widLay;
71 67
72}; 68};
73 69
74#endif 70#endif