summaryrefslogtreecommitdiff
path: root/libopie2/opiecore/device/odevice_simpad.h
authorzecke <zecke>2004-09-21 18:56:53 (UTC)
committer zecke <zecke>2004-09-21 18:56:53 (UTC)
commit1b6a3549317fd895965f0ac22d08e640b94eb741 (patch) (unidiff)
tree9898c5238c2f76d2a5af5afa913eb141bd0d37b2 /libopie2/opiecore/device/odevice_simpad.h
parent95b81f3c2c9ae5f48f9aeca4dafea9400f9bb3f0 (diff)
downloadopie-1b6a3549317fd895965f0ac22d08e640b94eb741.zip
opie-1b6a3549317fd895965f0ac22d08e640b94eb741.tar.gz
opie-1b6a3549317fd895965f0ac22d08e640b94eb741.tar.bz2
SIMpad:
-Update all Widgets if we suspended the device. We implement it by iterating over QApplication::allWidgets and calling QWidget::update(). This approach should be more reliable than the system and echo hack
Diffstat (limited to 'libopie2/opiecore/device/odevice_simpad.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiecore/device/odevice_simpad.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libopie2/opiecore/device/odevice_simpad.h b/libopie2/opiecore/device/odevice_simpad.h
index dbcbbb4..c25b911 100644
--- a/libopie2/opiecore/device/odevice_simpad.h
+++ b/libopie2/opiecore/device/odevice_simpad.h
@@ -64,8 +64,10 @@ protected:
64 64
65 int m_power_timer; 65 int m_power_timer;
66 66
67 OLedState m_leds [2]; 67 OLedState m_leds [2];
68private:
69 static void updateAllWidgets();
68}; 70};
69 71
70struct s_button { 72struct s_button {
71 uint model; 73 uint model;