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
v3.5.13-sru
tpearson 14 years ago
parent 12b885ee13
commit acf0d83414

@ -102,7 +102,7 @@ void RecordingDataMonitor::drawContents(TQPainter *painter)
internalDrawContents(*painter, true); internalDrawContents(*painter, true);
} }
void RecordingDataMonitor::internalDrawContents(TQPainter &painter, bool tqrepaintAll) void RecordingDataMonitor::internalDrawContents(TQPainter &painter, bool repaintAll)
{ {
if (m_channels <= 0) return; if (m_channels <= 0) return;
TQRect r = contentsRect(); 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; m_pActiveBlocks[c] = m_channelsMax[c] ? (int)rint(nBlocks * (min_dB - dBMax) / min_dB) : 0;
if (!tqrepaintAll) { if (!repaintAll) {
if (oldActiveBlocks > m_pActiveBlocks[c]) { if (oldActiveBlocks > m_pActiveBlocks[c]) {
startBlock = m_pActiveBlocks[c]; startBlock = m_pActiveBlocks[c];
endBlock = oldActiveBlocks - 1; endBlock = oldActiveBlocks - 1;
@ -165,7 +165,7 @@ void RecordingDataMonitor::internalDrawContents(TQPainter &painter, bool tqrepai
y += chHeight; y += chHeight;
} }
if (tqrepaintAll) { if (repaintAll) {
TQFont f("Helvetica"); TQFont f("Helvetica");
painter.setPen (activePen); painter.setPen (activePen);
f.setPixelSize(CHANNEL_H_MIN); f.setPixelSize(CHANNEL_H_MIN);

@ -43,7 +43,7 @@ public:
protected: protected:
void drawContents(TQPainter *p); void drawContents(TQPainter *p);
void internalDrawContents(TQPainter &painter, bool tqrepaintAll); void internalDrawContents(TQPainter &painter, bool repaintAll);
// own stuff ... // own stuff ...
protected: protected:

Loading…
Cancel
Save