diff options
author | Michele Calgaro <[email protected]> | 2023-11-04 23:07:43 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-11-04 23:07:43 +0900 |
commit | 84c57055d607cbb05adfacb46b1d8a21685c098a (patch) | |
tree | 7ff51090f114461a30178e012e7a9bac925e011f /plugins/stats | |
parent | f25d0eec8a3966312528f6fc84dabda64749691d (diff) | |
download | ktorrent-84c57055d607cbb05adfacb46b1d8a21685c098a.tar.gz ktorrent-84c57055d607cbb05adfacb46b1d8a21685c098a.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'plugins/stats')
-rw-r--r-- | plugins/stats/ChartDrawer.cpp | 2 | ||||
-rw-r--r-- | plugins/stats/StatsCon.cpp | 4 | ||||
-rw-r--r-- | plugins/stats/StatsSpd.cpp | 6 |
3 files changed, 6 insertions, 6 deletions
diff --git a/plugins/stats/ChartDrawer.cpp b/plugins/stats/ChartDrawer.cpp index 6eb08b4..ad4ff67 100644 --- a/plugins/stats/ChartDrawer.cpp +++ b/plugins/stats/ChartDrawer.cpp @@ -190,7 +190,7 @@ void ChartDrawer::DrawChart(TQPainter & rPnt) // ------------ TQPen myop(rPnt.pen()); TQPen topl(myop); - topl.setStyle(Qt::DotLine); + topl.setStyle(TQt::DotLine); rPnt.setPen(topl); rPnt.drawLine(0, TrY(FindYScreenCoords(mEls[i].pmVals -> at(mEls[i].pmVals -> size() - 1))), width(), TrY(FindYScreenCoords(mEls[i].pmVals -> at(mEls[i].pmVals -> size() - 1))) ); rPnt.setPen(myop); diff --git a/plugins/stats/StatsCon.cpp b/plugins/stats/StatsCon.cpp index 568005d..d2f8d5f 100644 --- a/plugins/stats/StatsCon.cpp +++ b/plugins/stats/StatsCon.cpp @@ -25,13 +25,13 @@ namespace kt { StatsCon::StatsCon(TQWidget * p) : StatsConWgt(p), pmPeersConCht(new ChartDrawer(PeersConGbw, StatsPluginSettings::connectionsMeasurements())), pmDHTCht(new ChartDrawer(DHTGbw, StatsPluginSettings::dHTMeasurements())) { - PeersConGbw->setColumnLayout(0, Qt::Vertical ); + PeersConGbw->setColumnLayout(0, TQt::Vertical ); PeersConGbw->layout()->setSpacing( 6 ); PeersConGbw->layout()->setMargin( 11 ); pmPeersConLay = new TQVBoxLayout(PeersConGbw -> layout()); - DHTGbw->setColumnLayout(0, Qt::Vertical ); + DHTGbw->setColumnLayout(0, TQt::Vertical ); DHTGbw->layout()->setSpacing( 6 ); DHTGbw->layout()->setMargin( 11 ); diff --git a/plugins/stats/StatsSpd.cpp b/plugins/stats/StatsSpd.cpp index c8cb157..d48e2fd 100644 --- a/plugins/stats/StatsSpd.cpp +++ b/plugins/stats/StatsSpd.cpp @@ -28,19 +28,19 @@ StatsSpd::StatsSpd(TQWidget *p) : StatsSpdWgt(p), pmUpCht(new ChartDrawer(UpSpeedGbw, StatsPluginSettings::uploadMeasurements())) { - DownSpeedGbw->setColumnLayout(0, Qt::Vertical ); + DownSpeedGbw->setColumnLayout(0, TQt::Vertical ); DownSpeedGbw->layout()->setSpacing( 6 ); DownSpeedGbw->layout()->setMargin( 11 ); pmDSpdLay = new TQVBoxLayout(DownSpeedGbw -> layout()); - UpSpeedGbw->setColumnLayout(0, Qt::Vertical ); + UpSpeedGbw->setColumnLayout(0, TQt::Vertical ); UpSpeedGbw->layout()->setSpacing( 6 ); UpSpeedGbw->layout()->setMargin( 11 ); pmUSpdLay = new TQVBoxLayout(UpSpeedGbw -> layout()); - PeersSpdGbw->setColumnLayout(0, Qt::Vertical ); + PeersSpdGbw->setColumnLayout(0, TQt::Vertical ); PeersSpdGbw->layout()->setSpacing( 6 ); PeersSpdGbw->layout()->setMargin( 11 ); |