diff options
-rw-r--r-- | src/chart.cpp | 2 | ||||
-rw-r--r-- | src/knetstatsview.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/chart.cpp b/src/chart.cpp index 8af9d1e..4e06b4d 100644 --- a/src/chart.cpp +++ b/src/chart.cpp @@ -30,7 +30,7 @@ Chart::Chart(TQWidget* parent, const double* uploadBuffer, const double* downloa void Chart::paintEvent(TQPaintEvent*) { TQPainter paint(this); paint.setBackgroundColor(TQt::black); - paint.setBackgroundMode(Qt::OpaqueMode); + paint.setBackgroundMode(TQt::OpaqueMode); TQBrush brush(TQColor(0x33, 0x33, 0x33), CrossPattern); paint.fillRect(0, 0, width(), height(), brush); diff --git a/src/knetstatsview.cpp b/src/knetstatsview.cpp index 72af3b4..828413f 100644 --- a/src/knetstatsview.cpp +++ b/src/knetstatsview.cpp @@ -340,9 +340,9 @@ void KNetStatsView::drawGraphic(TQPainter& paint) { } void KNetStatsView::mousePressEvent(TQMouseEvent* ev) { - if (ev->button() == Qt::RightButton ) + if (ev->button() == TQt::RightButton ) mContextMenu->exec(TQCursor::pos()); - else if (ev->button() == Qt::LeftButton) + else if (ev->button() == TQt::LeftButton) if (mStatistics->isShown()) mStatistics->accept(); else |