diff options
author | Michele Calgaro <[email protected]> | 2023-11-05 15:23:32 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-11-05 21:40:00 +0900 |
commit | de4276a79e6b558d97a04cfc8495c7e0eba428b3 (patch) | |
tree | 8ed9c3cbca49f0260b7a4150d4de5bce660ef94e /src | |
parent | d20207ca6e9b087322e6dd5b7de40d35fda20ef9 (diff) | |
download | knetstats-de4276a79e6b558d97a04cfc8495c7e0eba428b3.tar.gz knetstats-de4276a79e6b558d97a04cfc8495c7e0eba428b3.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 11a85e9bc6b0e4426266b4dcc190c08c75c6ca13)
Diffstat (limited to 'src')
-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 |