summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-console/session.cpp
Side-by-side diff
Diffstat (limited to 'noncore/apps/opie-console/session.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-console/session.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/noncore/apps/opie-console/session.cpp b/noncore/apps/opie-console/session.cpp
index 42b0583..ff2c3e2 100644
--- a/noncore/apps/opie-console/session.cpp
+++ b/noncore/apps/opie-console/session.cpp
@@ -1,11 +1,11 @@
#include "io_layer.h"
#include "file_layer.h"
-#include "widget.h"
+#include "widget_layer.h"
#include "emulation_layer.h"
#include "session.h"
Session::Session() {
m_widget = 0l;
@@ -34,13 +34,13 @@ QWidgetStack* Session::widgetStack() {
IOLayer* Session::layer() {
return m_layer;
}
EmulationLayer* Session::emulationLayer() {
return m_emLay;
}
-Widget* Session::emulationWidget() {
+WidgetLayer* Session::emulationWidget() {
return m_widLay;
}
void Session::connect() {
if ( !m_layer || !m_emLay )
return;
@@ -72,10 +72,10 @@ void Session::setIOLayer( IOLayer* lay ) {
m_layer = lay;
}
void Session::setEmulationLayer( EmulationLayer* lay ) {
delete m_emLay;
m_emLay = lay;
}
-void Session::setEmulationWidget( Widget* lay ) {
+void Session::setEmulationWidget( WidgetLayer* lay ) {
delete m_widLay;
m_widLay = lay;
}