diff options
author | Michele Calgaro <[email protected]> | 2023-11-05 15:23:32 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-11-05 15:23:32 +0900 |
commit | 11a85e9bc6b0e4426266b4dcc190c08c75c6ca13 (patch) | |
tree | 8ed9c3cbca49f0260b7a4150d4de5bce660ef94e | |
parent | e18aea39eb3789197c8ff9299185726049899433 (diff) | |
download | knetstats-11a85e9bc6b0e4426266b4dcc190c08c75c6ca13.tar.gz knetstats-11a85e9bc6b0e4426266b4dcc190c08c75c6ca13.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]>
-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 |