summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-console/session.h
Side-by-side diff
Diffstat (limited to 'noncore/apps/opie-console/session.h') (more/less context) (show 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
@@ -1,20 +1,20 @@
#ifndef OPIE_SESSION_H
#define OPIE_SESSION_H
#include <qwidgetstack.h>
class IOLayer;
class EmulationLayer;
-class Widget;
+class WidgetLayer;
/**
* This is a Session. A session contains
* a QWidget pointer and a IOLayer
* Imagine a session like a collection of what
* is needed to show your widget in a tab ;)
*/
class Session {
public:
/**
* c'tor with widget and layer
* ownership get's transfered
*/
@@ -33,42 +33,42 @@ public:
* for FileTransfer
*
* semi modal == SessionModal
*/
QWidgetStack* widgetStack();
/**
* return the layer
*/
IOLayer* layer();
EmulationLayer* emulationLayer();
- Widget* emulationWidget();
+ WidgetLayer* emulationWidget();
/*
* connects the data flow from
* the IOLayer to the EmulationLayer
*/
void connect();
/*
* disconnect the dataflow
* this will be done for ft
*/
void disconnect();
void setWidgetStack( QWidgetStack* widget );
void setEmulationLayer( EmulationLayer* lay );
- void setEmulationWidget( Widget* lay );
+ void setEmulationWidget( WidgetLayer* lay );
void setIOLayer( IOLayer* );
void setName( const QString& );
private:
QString m_name;
QWidgetStack* m_widget;
IOLayer* m_layer;
EmulationLayer* m_emLay;
- Widget* m_widLay;
+ WidgetLayer* m_widLay;
};
#endif