diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:59:25 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:59:25 -0600 |
commit | f59dfa08651a47f21d004e8e4cb5020b8035287e (patch) | |
tree | 0582273566661474af14fe8f1737cfe1e6527d46 /kscd/ledlamp.h | |
parent | 83fbc82a101309e171089f0d5ed080f82a367345 (diff) | |
download | tdemultimedia-f59dfa08651a47f21d004e8e4cb5020b8035287e.tar.gz tdemultimedia-f59dfa08651a47f21d004e8e4cb5020b8035287e.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 83fbc82a101309e171089f0d5ed080f82a367345.
Diffstat (limited to 'kscd/ledlamp.h')
-rw-r--r-- | kscd/ledlamp.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kscd/ledlamp.h b/kscd/ledlamp.h index f6ba4915..6bd2e44f 100644 --- a/kscd/ledlamp.h +++ b/kscd/ledlamp.h @@ -42,10 +42,10 @@ public: State state() const { return s; } - void setState(State state) { s= state; repaint(false); } + void setState(State state) { s= state; tqrepaint(false); } - void toggleState() { if (s == On) s= Off; else if (s == Off) s= On; repaint(false); } + void toggleState() { if (s == On) s= Off; else if (s == Off) s= On; tqrepaint(false); } public slots: void toggle() { toggleState(); }; void on() { setState(On); }; |