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.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/noncore/apps/opie-console/session.h b/noncore/apps/opie-console/session.h
index c3673fc..64c2cdb 100644
--- a/noncore/apps/opie-console/session.h
+++ b/noncore/apps/opie-console/session.h
@@ -2,13 +2,13 @@
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 EmulationLayer;
8class Widget; 8class WidgetLayer;
9/** 9/**
10 * This is a Session. A session contains 10 * This is a Session. A session contains
11 * a QWidget pointer and a IOLayer 11 * a QWidget pointer and a IOLayer
12 * Imagine a session like a collection of what 12 * Imagine a session like a collection of what
13 * is needed to show your widget in a tab ;) 13 * is needed to show your widget in a tab ;)
14 */ 14 */
@@ -39,13 +39,13 @@ public:
39 /** 39 /**
40 * return the layer 40 * return the layer
41 */ 41 */
42 IOLayer* layer(); 42 IOLayer* layer();
43 43
44 EmulationLayer* emulationLayer(); 44 EmulationLayer* emulationLayer();
45 Widget* emulationWidget(); 45 WidgetLayer* emulationWidget();
46 46
47 /* 47 /*
48 * connects the data flow from 48 * connects the data flow from
49 * the IOLayer to the EmulationLayer 49 * the IOLayer to the EmulationLayer
50 */ 50 */
51 void connect(); 51 void connect();
@@ -55,20 +55,20 @@ public:
55 * this will be done for ft 55 * this will be done for ft
56 */ 56 */
57 void disconnect(); 57 void disconnect();
58 58
59 void setWidgetStack( QWidgetStack* widget ); 59 void setWidgetStack( QWidgetStack* widget );
60 void setEmulationLayer( EmulationLayer* lay ); 60 void setEmulationLayer( EmulationLayer* lay );
61 void setEmulationWidget( Widget* lay ); 61 void setEmulationWidget( WidgetLayer* lay );
62 void setIOLayer( IOLayer* ); 62 void setIOLayer( IOLayer* );
63 void setName( const QString& ); 63 void setName( const QString& );
64 64
65private: 65private:
66 QString m_name; 66 QString m_name;
67 QWidgetStack* m_widget; 67 QWidgetStack* m_widget;
68 IOLayer* m_layer; 68 IOLayer* m_layer;
69 EmulationLayer* m_emLay; 69 EmulationLayer* m_emLay;
70 Widget* m_widLay; 70 WidgetLayer* m_widLay;
71 71
72}; 72};
73 73
74#endif 74#endif