diff options
author | Michele Calgaro <[email protected]> | 2023-11-08 11:05:29 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-11-08 18:19:31 +0900 |
commit | 8f9e8c882373f01e38599281c1c4e0d667b1f2f2 (patch) | |
tree | 648b0c69b1a4fb37277df76134b6f27287de8a05 /kweather/kweather.cpp | |
parent | 76679027e6f0d3eb77f5f5dc3dd9378e01c1bf94 (diff) | |
download | tdetoys-8f9e8c882373f01e38599281c1c4e0d667b1f2f2.tar.gz tdetoys-8f9e8c882373f01e38599281c1c4e0d667b1f2f2.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit ebce9b53863b1ccf1cc2f84eb556d50ec28beeaf)
Diffstat (limited to 'kweather/kweather.cpp')
-rw-r--r-- | kweather/kweather.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kweather/kweather.cpp b/kweather/kweather.cpp index 8d0b618..1a215f4 100644 --- a/kweather/kweather.cpp +++ b/kweather/kweather.cpp @@ -302,7 +302,7 @@ void kweather::timeout() int kweather::widthForHeight(int h) const { //kdDebug(12004) << "widthForHeight " << h << endl; - dockWidget->setOrientation(Qt::Horizontal); + dockWidget->setOrientation(TQt::Horizontal); int w = dockWidget->widthForHeight(h); return w; } @@ -310,7 +310,7 @@ int kweather::widthForHeight(int h) const int kweather::heightForWidth(int w) const { kdDebug(12004) << "heightForWidth " << w<< endl; - dockWidget->setOrientation(Qt::Vertical); + dockWidget->setOrientation(TQt::Vertical); int h = dockWidget->heightForWidth( w ); return h; } @@ -373,7 +373,7 @@ void kweather::slotPrefsAccepted() void kweather::mousePressEvent(TQMouseEvent *e) { - if ( e->button() != Qt::RightButton ) + if ( e->button() != TQt::RightButton ) { KPanelApplet::mousePressEvent( e ); return; |