From acf0d83414870e569c1e780543d49403a15c33f6 Mon Sep 17 00:00:00 2001 From: tpearson Date: Thu, 7 Jul 2011 21:14:06 +0000 Subject: [PATCH] Rename incorrect instances of tqrepaint[...] to repaint[...] git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kradio@1240369 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kradio3/plugins/recording/recording-datamonitor.cpp | 6 +++--- kradio3/plugins/recording/recording-datamonitor.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/kradio3/plugins/recording/recording-datamonitor.cpp b/kradio3/plugins/recording/recording-datamonitor.cpp index bfc1e3b..c34ab0a 100644 --- a/kradio3/plugins/recording/recording-datamonitor.cpp +++ b/kradio3/plugins/recording/recording-datamonitor.cpp @@ -102,7 +102,7 @@ void RecordingDataMonitor::drawContents(TQPainter *painter) internalDrawContents(*painter, true); } -void RecordingDataMonitor::internalDrawContents(TQPainter &painter, bool tqrepaintAll) +void RecordingDataMonitor::internalDrawContents(TQPainter &painter, bool repaintAll) { if (m_channels <= 0) return; TQRect r = contentsRect(); @@ -142,7 +142,7 @@ void RecordingDataMonitor::internalDrawContents(TQPainter &painter, bool tqrepai m_pActiveBlocks[c] = m_channelsMax[c] ? (int)rint(nBlocks * (min_dB - dBMax) / min_dB) : 0; - if (!tqrepaintAll) { + if (!repaintAll) { if (oldActiveBlocks > m_pActiveBlocks[c]) { startBlock = m_pActiveBlocks[c]; endBlock = oldActiveBlocks - 1; @@ -165,7 +165,7 @@ void RecordingDataMonitor::internalDrawContents(TQPainter &painter, bool tqrepai y += chHeight; } - if (tqrepaintAll) { + if (repaintAll) { TQFont f("Helvetica"); painter.setPen (activePen); f.setPixelSize(CHANNEL_H_MIN); diff --git a/kradio3/plugins/recording/recording-datamonitor.h b/kradio3/plugins/recording/recording-datamonitor.h index 9d40b51..427354f 100644 --- a/kradio3/plugins/recording/recording-datamonitor.h +++ b/kradio3/plugins/recording/recording-datamonitor.h @@ -43,7 +43,7 @@ public: protected: void drawContents(TQPainter *p); - void internalDrawContents(TQPainter &painter, bool tqrepaintAll); + void internalDrawContents(TQPainter &painter, bool repaintAll); // own stuff ... protected: