summaryrefslogtreecommitdiffstats
path: root/kweather
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-08 11:05:29 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-08 18:02:03 +0900
commitebce9b53863b1ccf1cc2f84eb556d50ec28beeaf (patch)
tree085cc3e369c38c74d5200933bb503d3170b58495 /kweather
parenta876313d64876005fc672d1362a2032c2b28dd21 (diff)
downloadtdetoys-ebce9b53863b1ccf1cc2f84eb556d50ec28beeaf.tar.gz
tdetoys-ebce9b53863b1ccf1cc2f84eb556d50ec28beeaf.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kweather')
-rw-r--r--kweather/dockwidget.cpp2
-rw-r--r--kweather/dockwidget.h2
-rw-r--r--kweather/kweather.cpp6
3 files changed, 5 insertions, 5 deletions
diff --git a/kweather/dockwidget.cpp b/kweather/dockwidget.cpp
index 744ab91..11d45ea 100644
--- a/kweather/dockwidget.cpp
+++ b/kweather/dockwidget.cpp
@@ -32,7 +32,7 @@
#include <kiconloader.h>
dockwidget::dockwidget(const TQString &location, TQWidget *parent,
- const char *name) : TQWidget(parent,name), m_locationCode( location ), m_orientation(Qt::Horizontal )
+ const char *name) : TQWidget(parent,name), m_locationCode( location ), m_orientation(TQt::Horizontal )
{
m_font = TDEGlobalSettings::generalFont();
setBackgroundOrigin( AncestorOrigin );
diff --git a/kweather/dockwidget.h b/kweather/dockwidget.h
index dfdca05..89c5133 100644
--- a/kweather/dockwidget.h
+++ b/kweather/dockwidget.h
@@ -41,7 +41,7 @@ public:
void setLocationCode(const TQString &locationCode);
void setViewMode(int);
- void setOrientation(Qt::Orientation o) { m_orientation = o; }
+ void setOrientation(TQt::Orientation o) { m_orientation = o; }
/** resize the view **/
void resizeView(const TQSize &size);
int widthForHeight(int h);
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;