summaryrefslogtreecommitdiffstats
path: root/kweather/dockwidget.h
diff options
context:
space:
mode:
authorMavridis Philippe <mavridisf@gmail.com>2023-06-01 16:30:11 +0300
committerMavridis Philippe <mavridisf@gmail.com>2023-06-14 14:22:13 +0300
commitbc71670331e16b15fc30214cb85c409b8c91bb9c (patch)
treeacdd9b544beb14c0c201945a4a83ff206ba8fa40 /kweather/dockwidget.h
parent98f2adda028489a51a9bf825b08b125ac69e127f (diff)
downloadtdetoys-bc71670331e16b15fc30214cb85c409b8c91bb9c.tar.gz
tdetoys-bc71670331e16b15fc30214cb85c409b8c91bb9c.zip
KWeather: improve icon loading and other fixes
- Fix pixelated icons (issue #19) - Fix "network offline" state - Add helper `bool weatherDataAvailable(TQString stationID)` DCOP function - Fix compatibility with old DCOP function signatures - Prevent double "Network is offline" strings in weather data. This commit introduces some new and renamed DCOP calls. Old function signatures are kept for compatibility, but are mraked as deprecated. Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
Diffstat (limited to 'kweather/dockwidget.h')
-rw-r--r--kweather/dockwidget.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/kweather/dockwidget.h b/kweather/dockwidget.h
index 01cf4ce..e8e28af 100644
--- a/kweather/dockwidget.h
+++ b/kweather/dockwidget.h
@@ -56,6 +56,7 @@ signals: // Signals
private:
void initDock();
void updateFont();
+ void updateIcon();
int m_mode;
TQString m_locationCode;
@@ -65,7 +66,7 @@ private:
TQLabel *m_lblTemp;
TQLabel *m_lblWind;
TQLabel *m_lblPres;
- Qt::Orientation m_orientation;
+ TQt::Orientation m_orientation;
WeatherService_stub *m_weatherService;
};