From cfc42a28c327b96c6a2afee92af3bac1a479eb8a Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:49:52 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdetoys@1157650 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kweather/dockwidget.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'kweather/dockwidget.h') diff --git a/kweather/dockwidget.h b/kweather/dockwidget.h index f61f6b1..8a786b9 100644 --- a/kweather/dockwidget.h +++ b/kweather/dockwidget.h @@ -18,9 +18,9 @@ #ifndef DOCKWIDGET_H #define DOCKWIDGET_H -#include -#include -#include +#include +#include +#include #include @@ -33,16 +33,16 @@ class dockwidget : public QWidget Q_OBJECT public: - dockwidget(const QString &location, QWidget *parent=0, const char *name=0); + dockwidget(const TQString &location, TQWidget *parent=0, const char *name=0); ~dockwidget(); enum {ShowIconOnly=1, ShowTempOnly=2, ShowAll=3 }; - void setLocationCode(const QString &locationCode); + void setLocationCode(const TQString &locationCode); void setViewMode(int); void setOrientation(Orientation o) { m_orientation = o; } /** resize the view **/ - void resizeView(const QSize &size); + void resizeView(const TQSize &size); int widthForHeight(int h); int heightForWidth(int w); @@ -57,13 +57,13 @@ private: void updateFont(); int m_mode; - QString m_locationCode; - QFont m_font; - QPixmap m_icon; + TQString m_locationCode; + TQFont m_font; + TQPixmap m_icon; WeatherButton *m_button; - QLabel *m_lblTemp; - QLabel *m_lblWind; - QLabel *m_lblPres; + TQLabel *m_lblTemp; + TQLabel *m_lblWind; + TQLabel *m_lblPres; Orientation m_orientation; WeatherService_stub *m_weatherService; -- cgit v1.2.1