summaryrefslogtreecommitdiffstats
path: root/kweather/weatherbar.h
diff options
context:
space:
mode:
Diffstat (limited to 'kweather/weatherbar.h')
-rw-r--r--kweather/weatherbar.h14
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;