summaryrefslogtreecommitdiffstats
path: root/libksirtet/common/misc_ui.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-19 11:55:35 -0600
committerSlávek Banko <[email protected]>2012-06-04 01:10:53 +0200
commit00e58f1937047eb6c23edbdb3ae7ed5feec7a572 (patch)
tree33b3465e8515be992049db8cc3fd529660f9731a /libksirtet/common/misc_ui.cpp
parent9e8c9cf72cdda55e3c96c7ef072c3358061d53c9 (diff)
downloadtdegames-00e58f1937047eb6c23edbdb3ae7ed5feec7a572.tar.gz
tdegames-00e58f1937047eb6c23edbdb3ae7ed5feec7a572.zip
Remove additional unneeded tq method conversions
(cherry picked from commit c0f375feba0103bed2bac1b1f05e76e9ae28fa89)
Diffstat (limited to 'libksirtet/common/misc_ui.cpp')
-rw-r--r--libksirtet/common/misc_ui.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/libksirtet/common/misc_ui.cpp b/libksirtet/common/misc_ui.cpp
index f6426a4d..376c0c57 100644
--- a/libksirtet/common/misc_ui.cpp
+++ b/libksirtet/common/misc_ui.cpp
@@ -88,9 +88,9 @@ class Led : public TQWidget
{ return TQSizePolicy(TQSizePolicy::Fixed, TQSizePolicy::Fixed); }
TQSize sizeHint() const { return TQSize(LED_WIDTH, LED_HEIGHT); }
- void on() { if (!_on) { _on = TRUE; tqrepaint(); } }
- void off() { if (_on) {_on = FALSE; tqrepaint(); } }
- void setColor(const TQColor &c) { if (c!=col) { col = c; tqrepaint(); } }
+ void on() { if (!_on) { _on = TRUE; repaint(); } }
+ void off() { if (_on) {_on = FALSE; repaint(); } }
+ void setColor(const TQColor &c) { if (c!=col) { col = c; repaint(); } }
protected:
void paintEvent(TQPaintEvent *) {