X-Git-Url: http://git.maemo.org/git/?p=medard;a=blobdiff_plain;f=src%2Fmainwindow.h;h=46b7cb48080e9d5662eb5f746b3586c134f3fd64;hp=499c69a7af67a5be7d705e78dab06998d2e0a185;hb=46f57ee55633ee3c6009e9daca0529019a80a1a7;hpb=0411c3ec87b5410979d954abb2a5d715140a70dc diff --git a/src/mainwindow.h b/src/mainwindow.h index 499c69a..46b7cb4 100644 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -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;