summaryrefslogtreecommitdiffstats
path: root/kweather/dockwidget.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:49:52 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:49:52 +0000
commitcfc42a28c327b96c6a2afee92af3bac1a479eb8a (patch)
treee3219edf5f827eaa4db3feb509a17846a1a5a752 /kweather/dockwidget.h
parenta73fc4d7e66fe0824313aa4e9a650c4cddef6e9f (diff)
downloadtdetoys-cfc42a28c327b96c6a2afee92af3bac1a479eb8a.tar.gz
tdetoys-cfc42a28c327b96c6a2afee92af3bac1a479eb8a.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdetoys@1157650 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kweather/dockwidget.h')
-rw-r--r--kweather/dockwidget.h24
1 files changed, 12 insertions, 12 deletions
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 <qfont.h>
-#include <qpixmap.h>
-#include <qwidget.h>
+#include <tqfont.h>
+#include <tqpixmap.h>
+#include <tqwidget.h>
#include <dcopref.h>
@@ -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;