diff options
author | Mavridis Philippe <[email protected]> | 2021-08-11 09:29:23 +0000 |
---|---|---|
committer | Mavridis Philippe <[email protected]> | 2021-08-29 10:18:55 +0000 |
commit | 8d99f539b8a8b43877973c8cabb9c44d9da01e36 (patch) | |
tree | a843ffe4bd9f2b1a1b2924ea1c707862ccb12af4 /kweather/weatherbar.h | |
parent | 064a406d4e72e1f00b6027e311bc228fa7be27e0 (diff) | |
download | tdetoys-8d99f539b8a8b43877973c8cabb9c44d9da01e36.tar.gz tdetoys-8d99f539b8a8b43877973c8cabb9c44d9da01e36.zip |
KWeather Konqueror sidebar revival
Signed-off-by: Mavridis Philippe <[email protected]>
(cherry picked from commit 07171bc7a78a7c4d45372d8750e857d1da5d6173)
Diffstat (limited to 'kweather/weatherbar.h')
-rw-r--r-- | kweather/weatherbar.h | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/kweather/weatherbar.h b/kweather/weatherbar.h index 0bf6075..8607d59 100644 --- a/kweather/weatherbar.h +++ b/kweather/weatherbar.h @@ -33,11 +33,12 @@ class dockwidget; class sidebarwidget; +class TQLabel; class KonqSidebarWeather: public KonqSidebarPlugin, virtual public DCOPObject { Q_OBJECT - + K_DCOP public: KonqSidebarWeather(TDEInstance* inst, TQObject* parent, TQWidget* widgetParent, @@ -50,16 +51,19 @@ public: k_dcop: virtual void refresh(TQString); - + +public slots: + virtual void updateWidgets( bool firstTime = false ); + protected: virtual void handleURL(const KURL &url); virtual void handlePreview(const KFileItemList& items); virtual void handlePreviewOnMouseOver(const KFileItem& item); -private slots: - void update(); - private: + bool startWeatherService(); + + TQDict <TQLabel> m_labels; TQDict <dockwidget> m_widgets; sidebarwidget *m_container; TQTimer *timeOut; |