diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:49:11 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:49:11 -0600 |
commit | 83fbc82a101309e171089f0d5ed080f82a367345 (patch) | |
tree | c7b61083b6e2d4bfceaace9a7f018181ea36afec /kscd/ledlamp.h | |
parent | b248983f92b865ef74636ab5a673ae3a88f79c20 (diff) | |
download | tdemultimedia-83fbc82a101309e171089f0d5ed080f82a367345.tar.gz tdemultimedia-83fbc82a101309e171089f0d5ed080f82a367345.zip |
Rename a number of old tq methods that are no longer tq specific
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 6bd2e44f..f6ba4915 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; tqrepaint(false); } + void setState(State state) { s= state; repaint(false); } - void toggleState() { if (s == On) s= Off; else if (s == Off) s= On; tqrepaint(false); } + void toggleState() { if (s == On) s= Off; else if (s == Off) s= On; repaint(false); } public slots: void toggle() { toggleState(); }; void on() { setState(On); }; |