Rename additional global TQt functions

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

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

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

Loading…
Cancel
Save