diff options
Diffstat (limited to 'ksim')
-rw-r--r-- | ksim/ksimframe.cpp | 4 | ||||
-rw-r--r-- | ksim/ksimframe.h | 2 | ||||
-rw-r--r-- | ksim/library/chart.cpp | 4 | ||||
-rw-r--r-- | ksim/library/chart.h | 2 | ||||
-rw-r--r-- | ksim/library/common.h | 2 | ||||
-rw-r--r-- | ksim/library/label.cpp | 4 | ||||
-rw-r--r-- | ksim/library/label.h | 2 | ||||
-rw-r--r-- | ksim/library/progress.cpp | 4 | ||||
-rw-r--r-- | ksim/library/progress.h | 2 |
9 files changed, 13 insertions, 13 deletions
diff --git a/ksim/ksimframe.cpp b/ksim/ksimframe.cpp index b62c0ca..80af61a 100644 --- a/ksim/ksimframe.cpp +++ b/ksim/ksimframe.cpp @@ -36,7 +36,7 @@ KSim::Frame::~Frame() { } -void KSim::Frame::configureObject(bool tqrepaintWidget) +void KSim::Frame::configureObject(bool repaintWidget) { m_image.load(themeLoader().current().framePixmap(type())); @@ -58,7 +58,7 @@ void KSim::Frame::configureObject(bool tqrepaintWidget) themeLoader().reColourImage(m_image); m_background.convertFromImage(m_image.smoothScale(size())); - if (tqrepaintWidget) + if (repaintWidget) update(); } diff --git a/ksim/ksimframe.h b/ksim/ksimframe.h index aee425f..976523f 100644 --- a/ksim/ksimframe.h +++ b/ksim/ksimframe.h @@ -40,7 +40,7 @@ namespace KSim ~Frame(); const TQPixmap *const background() const { return &m_background; } - virtual void configureObject(bool tqrepaintWidget=true); + virtual void configureObject(bool repaintWidget=true); protected: virtual void paintEvent(TQPaintEvent *); diff --git a/ksim/library/chart.cpp b/ksim/library/chart.cpp index b78327b..b90fe00 100644 --- a/ksim/library/chart.cpp +++ b/ksim/library/chart.cpp @@ -249,7 +249,7 @@ void KSim::Chart::buildPixmaps() } } -void KSim::Chart::configureObject(bool tqrepaintWidget) +void KSim::Chart::configureObject(bool repaintWidget) { TQSize oldSize = tqsizeHint(); KSim::Config::config()->setGroup("Misc"); @@ -275,7 +275,7 @@ void KSim::Chart::configureObject(bool tqrepaintWidget) setConfigValues(); - if (tqrepaintWidget) + if (repaintWidget) update(); } diff --git a/ksim/library/chart.h b/ksim/library/chart.h index 1eb5a93..2354e22 100644 --- a/ksim/library/chart.h +++ b/ksim/library/chart.h @@ -104,7 +104,7 @@ namespace KSim /** * reimplemented for internal reasons */ - virtual void configureObject(bool tqrepaintWidget = true); + virtual void configureObject(bool repaintWidget = true); /** * reimplemented for internal reasons diff --git a/ksim/library/common.h b/ksim/library/common.h index e19310e..c64504b 100644 --- a/ksim/library/common.h +++ b/ksim/library/common.h @@ -63,7 +63,7 @@ namespace KSim * } * ~Test() {} * - * void configureObject(bool tqrepaintWidget) + * void configureObject(bool repaintWidget) * { * // Re-Create view code here * } diff --git a/ksim/library/label.cpp b/ksim/library/label.cpp index 06f525e..1f32724 100644 --- a/ksim/library/label.cpp +++ b/ksim/library/label.cpp @@ -79,7 +79,7 @@ const TQString &KSim::Label::text() const return d->text; } -void KSim::Label::configureObject(bool tqrepaintWidget) +void KSim::Label::configureObject(bool repaintWidget) { TQString image = themeLoader().current().meterPixmap(type(), false); if (image.isEmpty()) @@ -91,7 +91,7 @@ void KSim::Label::configureObject(bool tqrepaintWidget) TQSize oldSize = tqsizeHint(); setConfigValues(); - retqlayoutLabel(oldSize, tqrepaintWidget); + retqlayoutLabel(oldSize, repaintWidget); } void KSim::Label::setPixmap(const TQPixmap &pixmap) diff --git a/ksim/library/label.h b/ksim/library/label.h index 78136d4..484b36b 100644 --- a/ksim/library/label.h +++ b/ksim/library/label.h @@ -96,7 +96,7 @@ namespace KSim /** * recreates the labels look & feel */ - virtual void configureObject(bool tqrepaintWidget = true); + virtual void configureObject(bool repaintWidget = true); /** * sets a pixmap for the label */ diff --git a/ksim/library/progress.cpp b/ksim/library/progress.cpp index 6a8d2ba..32311e4 100644 --- a/ksim/library/progress.cpp +++ b/ksim/library/progress.cpp @@ -108,7 +108,7 @@ const TQRect &KSim::Progress::rectOrigin() const return d->rectOrigin; } -void KSim::Progress::configureObject(bool tqrepaintWidget) +void KSim::Progress::configureObject(bool repaintWidget) { KSim::Label::configureObject(false); @@ -120,7 +120,7 @@ void KSim::Progress::configureObject(bool tqrepaintWidget) setMeterPixmap(themeLoader().current().splitPixmap(KSim::Theme::KrellMeter)); } - if (tqrepaintWidget) + if (repaintWidget) update(); } diff --git a/ksim/library/progress.h b/ksim/library/progress.h index 40eca5c..09c4a21 100644 --- a/ksim/library/progress.h +++ b/ksim/library/progress.h @@ -118,7 +118,7 @@ namespace KSim /** * reimplemented for internal reasons */ - virtual void configureObject(bool tqrepaintWidget = true); + virtual void configureObject(bool repaintWidget = true); /** * reimplemented for internal reasons */ |