summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-console/mainwindow.cpp
Unidiff
Diffstat (limited to 'noncore/apps/opie-console/mainwindow.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-console/mainwindow.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/noncore/apps/opie-console/mainwindow.cpp b/noncore/apps/opie-console/mainwindow.cpp
index c1020fa..8e529a3 100644
--- a/noncore/apps/opie-console/mainwindow.cpp
+++ b/noncore/apps/opie-console/mainwindow.cpp
@@ -210,4 +210,4 @@ void MainWindow::initUI() {
210 m_kb = new FunctionKeyboard(m_keyBar); 210 m_kb = new FunctionKeyboard(m_keyBar);
211 connect(m_kb, SIGNAL(keyPressed(ushort, ushort, bool, bool, bool, ushort, ushort)), 211 connect(m_kb, SIGNAL(keyPressed(FKey, ushort, ushort, bool)),
212 this, SLOT(slotKeyReceived(ushort, ushort, bool, bool, bool, ushort, ushort))); 212 this, SLOT(slotKeyReceived(FKey, ushort, ushort, bool)));
213 213
@@ -218,2 +218,3 @@ void MainWindow::initUI() {
218 218
219 /*
219 m_qb = new QuickButton( m_buttonBar ); 220 m_qb = new QuickButton( m_buttonBar );
@@ -221,2 +222,3 @@ void MainWindow::initUI() {
221 this, SLOT( slotKeyReceived( ushort, ushort, bool, bool, bool) ) ); 222 this, SLOT( slotKeyReceived( ushort, ushort, bool, bool, bool) ) );
223 */
222 224
@@ -522,5 +524,3 @@ void MainWindow::slotFullscreen() {
522 524
523void MainWindow::slotKeyReceived(ushort u, ushort q, bool, bool pressed, bool, ushort, ushort) { 525void MainWindow::slotKeyReceived(FKey k, ushort, ushort, bool pressed) {
524
525 //qWarning("unicode: %x, qkey: %x, %s", u, q, pressed ? "pressed" : "released");
526 526
@@ -533,3 +533,3 @@ void MainWindow::slotKeyReceived(ushort u, ushort q, bool, bool pressed, bool, u
533 533
534 QKeyEvent ke(state, q, u, 0, QString(QChar(u))); 534 QKeyEvent ke(state, k.qcode, k.unicode, 0, QString(QChar(k.unicode)));
535 535