diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:57:28 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:57:28 -0600 |
commit | dc07846059a60d069687585cc72ff501a2096296 (patch) | |
tree | 432ead5b09c6ace7e804629f1f74a3ed58f003e0 /kscd/ledlamp.h | |
parent | 3c299dfe48c0060272c2966fff599b3b417e2ee4 (diff) | |
download | tdemultimedia-dc07846059a60d069687585cc72ff501a2096296.tar.gz tdemultimedia-dc07846059a60d069687585cc72ff501a2096296.zip |
Remove additional unneeded tq method conversions
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); }; |