Diffstat (limited to 'noncore/apps/opie-console/emulation_handler.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/emulation_handler.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/noncore/apps/opie-console/emulation_handler.cpp b/noncore/apps/opie-console/emulation_handler.cpp index c67c7c7..9e7f56c 100644 --- a/noncore/apps/opie-console/emulation_handler.cpp +++ b/noncore/apps/opie-console/emulation_handler.cpp | |||
@@ -20,4 +20,5 @@ EmulationHandler::EmulationHandler( const Profile& prof, QWidget* parent,const c | |||
20 | this, SLOT(recvEmulation(const char*, int) ) ); | 20 | this, SLOT(recvEmulation(const char*, int) ) ); |
21 | m_teEmu->setConnect( true ); | 21 | m_teEmu->setConnect( true ); |
22 | m_teEmu->setHistory( TRUE ); | ||
22 | load( prof ); | 23 | load( prof ); |
23 | 24 | ||
@@ -33,11 +34,14 @@ void EmulationHandler::load( const Profile& ) { | |||
33 | font.setFixedPitch(TRUE); | 34 | font.setFixedPitch(TRUE); |
34 | m_teWid->setVTFont( font ); | 35 | m_teWid->setVTFont( font ); |
35 | m_teWid->setBackgroundColor(Qt::black ); | 36 | m_teWid->setBackgroundColor(Qt::gray ); |
36 | } | 37 | } |
37 | void EmulationHandler::recv( const QByteArray& ar) { | 38 | void EmulationHandler::recv( const QByteArray& ar) { |
39 | qWarning("received in EmulationHandler!"); | ||
38 | m_teEmu->onRcvBlock(ar.data(), ar.count() ); | 40 | m_teEmu->onRcvBlock(ar.data(), ar.count() ); |
39 | } | 41 | } |
40 | void EmulationHandler::recvEmulation(const char* src, int len ) { | 42 | void EmulationHandler::recvEmulation(const char* src, int len ) { |
43 | qWarning("received from te "); | ||
41 | QByteArray ar(len); | 44 | QByteArray ar(len); |
45 | |||
42 | memcpy(ar.data(), src, sizeof(char) * len ); | 46 | memcpy(ar.data(), src, sizeof(char) * len ); |
43 | 47 | ||