Fixed toolbar and menu items.
[medard] / src / mainwindow.h
index 499c69a..46b7cb4 100644 (file)
@@ -66,10 +66,9 @@ private slots:
     void plusHourClicked();
     void minusHourClicked();
 
-    void forecastTypeChanged(const QString label, MedardDownloader::ForecastType type);
-    void forecastDateOffsetChanged(int offset);
 #if Q_WS_MAEMO_6
     void forecastDomainChanged(int index);
+    void forecastTypeChanged(int index);
 #else
     void forecastDomainChanged(QAction *action);
 #endif
@@ -86,6 +85,9 @@ private:
     void hideNavigationButtons(bool showRetryButton);
     void updateNavigationButtons();
 
+    void setForecastType(const QString label, MedardDownloader::ForecastType type);
+    void setForecastDateOffset(int offset);
+
 private:
     MedardDownloader *m_downloader;
 
@@ -102,7 +104,8 @@ private:
     MButton *m_minusHourButton;
     MButton *m_plusHourButton;
 
-    MComboBox *m_domainComboBox;
+    MComboBox *m_forecastDomainComboBox;
+    MComboBox *m_forecastTypeComboBox;
 #else
     QLabel *m_forecastTypeLabel;
     QLabel *m_forecastInitialDateLabel;