summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-console/MyPty.cpp1
-rw-r--r--noncore/apps/opie-console/TEmulation.cpp1
-rw-r--r--noncore/apps/opie-console/io_layer.h2
-rw-r--r--noncore/apps/opie-console/mainwindow.cpp5
-rw-r--r--noncore/apps/opie-console/session.cpp2
5 files changed, 9 insertions, 2 deletions
diff --git a/noncore/apps/opie-console/MyPty.cpp b/noncore/apps/opie-console/MyPty.cpp
index a2373bf..6b0d6f2 100644
--- a/noncore/apps/opie-console/MyPty.cpp
+++ b/noncore/apps/opie-console/MyPty.cpp
@@ -100,2 +100,3 @@ void MyPty::setSize(int lines, int columns)
{
+ qWarning("setting size");
struct winsize wsize;
diff --git a/noncore/apps/opie-console/TEmulation.cpp b/noncore/apps/opie-console/TEmulation.cpp
index 6f3ad32..7a0c624 100644
--- a/noncore/apps/opie-console/TEmulation.cpp
+++ b/noncore/apps/opie-console/TEmulation.cpp
@@ -209,2 +209,3 @@ void TEmulation::onKeyPress( QKeyEvent* ev )
{
+ qWarning("onKeyPress,....");
if (!connected) return; // someone else gets the keys
diff --git a/noncore/apps/opie-console/io_layer.h b/noncore/apps/opie-console/io_layer.h
index d5f7eab..97a1e1c 100644
--- a/noncore/apps/opie-console/io_layer.h
+++ b/noncore/apps/opie-console/io_layer.h
@@ -122,3 +122,3 @@ public slots:
*/
- virtual void setSize(int rows, int cols );
+ virtual void setSize(int lines, int cols );
};
diff --git a/noncore/apps/opie-console/mainwindow.cpp b/noncore/apps/opie-console/mainwindow.cpp
index 0c89620..a7541f0 100644
--- a/noncore/apps/opie-console/mainwindow.cpp
+++ b/noncore/apps/opie-console/mainwindow.cpp
@@ -79,3 +79,3 @@ void MainWindow::initUI() {
-
+ m_console->insertSeparator();
/*
@@ -109,2 +109,4 @@ void MainWindow::initUI() {
+ m_console->insertSeparator();
+
m_transfer = new QAction();
@@ -128,2 +130,3 @@ void MainWindow::initUI() {
+ m_console->insertSeparator();
/*
diff --git a/noncore/apps/opie-console/session.cpp b/noncore/apps/opie-console/session.cpp
index 2ce6872..03d0fcd 100644
--- a/noncore/apps/opie-console/session.cpp
+++ b/noncore/apps/opie-console/session.cpp
@@ -57,2 +57,4 @@ void Session::connect() {
m_layer, SLOT(send(const QByteArray&) ) );
+ QObject::connect(m_emu, SIGNAL(changeSize(int, int) ),
+ m_layer, SLOT(setSize(int, int) ) );
}