summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-05 15:23:32 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-05 15:23:32 +0900
commit11a85e9bc6b0e4426266b4dcc190c08c75c6ca13 (patch)
tree8ed9c3cbca49f0260b7a4150d4de5bce660ef94e /src
parente18aea39eb3789197c8ff9299185726049899433 (diff)
downloadknetstats-11a85e9bc6b0e4426266b4dcc190c08c75c6ca13.tar.gz
knetstats-11a85e9bc6b0e4426266b4dcc190c08c75c6ca13.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src')
-rw-r--r--src/chart.cpp2
-rw-r--r--src/knetstatsview.cpp4
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