summaryrefslogtreecommitdiffstats
path: root/kweather/kweather.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/kweather.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/kweather.h')
-rw-r--r--kweather/kweather.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/kweather/kweather.h b/kweather/kweather.h
index d139411..ae20317 100644
--- a/kweather/kweather.h
+++ b/kweather/kweather.h
@@ -35,13 +35,13 @@ class kweather : public KPanelApplet, public weatherIface
Q_OBJECT
public:
- kweather(const QString& configFile, Type t = Normal, int actions = 0, QWidget *parent = 0, const char *name = 0);
+ kweather(const TQString& configFile, Type t = Normal, int actions = 0, TQWidget *parent = 0, const char *name = 0);
~kweather();
void help();
- void resizeEvent(QResizeEvent*);
+ void resizeEvent(TQResizeEvent*);
int heightForWidth(int i) const;
int widthForHeight(int i) const;
- void refresh(QString);
+ void refresh(TQString);
void setBackground();
void setLabelColor();
@@ -50,7 +50,7 @@ public slots: // Public slots
void about();
protected:
- void paletteChange(const QPalette &);
+ void paletteChange(const TQPalette &);
protected slots:
void doReport();
@@ -66,17 +66,17 @@ private: // Private methods
void savePrefs();
void showWeather();
void writeLogEntry();
- void mousePressEvent(QMouseEvent *e);
+ void mousePressEvent(TQMouseEvent *e);
bool attach();
- QString reportLocation;
- QString fileName;
- QString metarData;
+ TQString reportLocation;
+ TQString fileName;
+ TQString metarData;
bool logOn;
bool mFirstRun;
int mViewMode;
- QTimer *timeOut;
+ TQTimer *timeOut;
dockwidget *dockWidget;
reportView *mReport;
DCOPClient *mClient;
@@ -84,7 +84,7 @@ private: // Private methods
KPopupMenu *mContextMenu;
WeatherService_stub *mWeatherService;
KCMultiDialog *settingsDialog;
- QColor mTextColor;
+ TQColor mTextColor;
};
#endif