summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-console/profilemanager.cpp
authorzecke <zecke>2002-10-14 17:46:45 (UTC)
committer zecke <zecke>2002-10-14 17:46:45 (UTC)
commit2c5e8939ba073a42c032f5a9660ed0dd4580bf88 (patch) (side-by-side diff)
tree163d660eb057ba0f78c119465d85413d3524ed1b /noncore/apps/opie-console/profilemanager.cpp
parent51e18b363eb37621479a059af58da3040db1be7e (diff)
downloadopie-2c5e8939ba073a42c032f5a9660ed0dd4580bf88.zip
opie-2c5e8939ba073a42c032f5a9660ed0dd4580bf88.tar.gz
opie-2c5e8939ba073a42c032f5a9660ed0dd4580bf88.tar.bz2
The new old TerminalWidget I'm anything but happy about it
Diffstat (limited to 'noncore/apps/opie-console/profilemanager.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-console/profilemanager.cpp15
1 files changed, 9 insertions, 6 deletions
diff --git a/noncore/apps/opie-console/profilemanager.cpp b/noncore/apps/opie-console/profilemanager.cpp
index 4b88dec..113327c 100644
--- a/noncore/apps/opie-console/profilemanager.cpp
+++ b/noncore/apps/opie-console/profilemanager.cpp
@@ -7,6 +7,7 @@
#include <qpe/config.h>
+#include "emulation_handler.h"
#include "widget_layer.h"
#include "emulation_widget.h"
#include "metafactory.h"
@@ -83,12 +84,14 @@ Session* ProfileManager::fromProfile( const Profile& prof, QWidget* parent) {
QHBoxLayout* lay = new QHBoxLayout(dummy );
stack->addWidget( dummy, 0 );
stack->raiseWidget( 0 );
- WidgetLayer* wid = new EmulationWidget( prof, dummy );
- lay->addWidget( wid );
-
- session->setEmulationWidget( wid );
- session->setEmulationLayer( m_fact->newEmulationLayer( m_fact->external( prof.terminalName() ),
- wid ) );
+ EmulationHandler* handler = new EmulationHandler(prof,dummy );
+ lay->addWidget( handler->widget() );
+// WidgetLayer* wid = new EmulationWidget( prof, dummy );
+// lay->addWidget( wid );
+
+// session->setEmulationWidget( wid );
+// session->setEmulationLayer( m_fact->newEmulationLayer( m_fact->external( prof.terminalName() ),
+// wid ) );
session->connect();
return session;