summaryrefslogtreecommitdiffstats
path: root/kweather/dockwidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'kweather/dockwidget.h')
-rw-r--r--kweather/dockwidget.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/kweather/dockwidget.h b/kweather/dockwidget.h
index 13f5bc0..89c5133 100644
--- a/kweather/dockwidget.h
+++ b/kweather/dockwidget.h
@@ -30,7 +30,7 @@ class WeatherButton;
class dockwidget : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -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);
@@ -56,6 +56,7 @@ signals: // Signals
private:
void initDock();
void updateFont();
+ void updateIcon();
int m_mode;
TQString m_locationCode;
@@ -65,11 +66,9 @@ private:
TQLabel *m_lblTemp;
TQLabel *m_lblWind;
TQLabel *m_lblPres;
- Qt::Orientation m_orientation;
+ TQt::Orientation m_orientation;
WeatherService_stub *m_weatherService;
};
#endif
-
-// vim:ts=4:sw=4:et