From dc07846059a60d069687585cc72ff501a2096296 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 19 Dec 2011 11:57:28 -0600 Subject: Remove additional unneeded tq method conversions --- kscd/ledlamp.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kscd/ledlamp.h') 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); }; -- cgit v1.2.1