Rename additional global TQt functions

pull/1/head
Timothy Pearson 13 years ago
parent 06d0cb4e67
commit a9cba7252d

@ -52,7 +52,7 @@ void Chart::paintEvent(TQPaintEvent*) {
paint.drawLine(lastX, lastRxY, x, rxY);
paint.setPen(TQt::red);
paint.drawLine(lastX, lastTxY, x, txY);
//qDebug("%d => %d", i, int(mSpeedHistoryRx[i]));
//tqDebug("%d => %d", i, int(mSpeedHistoryRx[i]));
lastX = x;
lastRxY = rxY;
lastTxY = txY;

@ -313,7 +313,7 @@ void KNetStatsView::drawGraphic(TQPainter& paint) {
const int HEIGHT = size.height()-1;
// qDebug("MaxSpeed: %d, age: %d", int(mMaxSpeed), mMaxSpeedAge);
// tqDebug("MaxSpeed: %d, age: %d", int(mMaxSpeed), mMaxSpeedAge);
int lastX;
int lastRxY = HEIGHT - int(HEIGHT * (mSpeedHistoryRx[mSpeedHistoryPtr]/mMaxSpeed));
int lastTxY = HEIGHT - int(HEIGHT * (mSpeedHistoryTx[mSpeedHistoryPtr]/mMaxSpeed));
@ -329,7 +329,7 @@ void KNetStatsView::drawGraphic(TQPainter& paint) {
paint.drawLine(lastX, lastRxY, x, rxY);
paint.setPen(mOptions.mChartUplColor);
paint.drawLine(lastX, lastTxY, x, txY);
//qDebug("%d => %d", i, int(mSpeedHistoryRx[i]));
//tqDebug("%d => %d", i, int(mSpeedHistoryRx[i]));
lastX = x;
lastRxY = rxY;
lastTxY = txY;

Loading…
Cancel
Save