summaryrefslogtreecommitdiffstats
path: root/examples/sysinfo/dialog.cpp
diff options
context:
space:
mode:
authorLorn Potter <lorn.potter@nokia.com>2011-02-21 13:06:32 +1000
committerLorn Potter <lorn.potter@nokia.com>2011-02-21 13:06:32 +1000
commitae9688c4274add20130ff8d4ce1e5bec26f743c5 (patch)
treed20e60bd9215a074dee2fc662129b88332b7649f /examples/sysinfo/dialog.cpp
parentb5dba382cc11286e36549952b6290d1e05e7e263 (diff)
fix keyboardFLipped signal on maemo6
Task-number: QTMOBILITY-2583
Diffstat (limited to 'examples/sysinfo/dialog.cpp')
-rw-r--r--examples/sysinfo/dialog.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/sysinfo/dialog.cpp b/examples/sysinfo/dialog.cpp
index 50d7364af0..0d3ccba4c5 100644
--- a/examples/sysinfo/dialog.cpp
+++ b/examples/sysinfo/dialog.cpp
@@ -192,6 +192,8 @@ void Dialog::setupDevice()
updateKeyboard(di->keyboardTypes());
keyboardFlipRadioButton->setChecked(di->isKeyboardFlippedOpen());
+ connect(di,SIGNAL(keyboardFlipped(bool)),this,SLOT(keyboardFlipped(bool)));
+
wirelessKeyboardConnectedRadioButton->setChecked(di->isWirelessKeyboardConnected());
QString lockState;
@@ -979,3 +981,7 @@ void Dialog::orientationChanged(QSystemDisplayInfo::DisplayOrientation orientati
}
+void Dialog::keyboardFlipped(bool on)
+{
+ keyboardFlipRadioButton->setChecked(on);
+}