X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=src%2Fmainwidget.h;fp=src%2Fmainwidget.h;h=0000000000000000000000000000000000000000;hb=20d5d242940382f516c55e2e229a863c7bb3476c;hp=f9af41e86cee42f6ac920c2f0c8dfd5b109416f5;hpb=3a4e0fa6e601aaa6d73daadbfe677626bf3495aa;p=buliscores diff --git a/src/mainwidget.h b/src/mainwidget.h deleted file mode 100644 index f9af41e..0000000 --- a/src/mainwidget.h +++ /dev/null @@ -1,55 +0,0 @@ -#ifndef MAINWIDGET_H -#define MAINWIDGET_H - -#include -#include -#include - -#include "matchdaybackend.h" -#include "match.h" -#include "scoretable.h" -#include "settingsdialog.h" -#include -#include - - -class MainWidget : public QWidget -{ - Q_OBJECT -public: - explicit MainWidget(QWidget *parent = 0); - - void mousePressEvent(QMouseEvent* event); - -public slots: - void showSettingsDialog(); - -protected slots: - void onBackendUpdateStarted(void); - void onBackendUpdateFinished(int error); - - void onMatchAdded(Match* match); - void onScoreChange(); - void onMatchStateChanged(Match::MatchState); - -private: - Phonon::MediaObject *m_mediaObject_tor; - Phonon::MediaObject *m_mediaObject_pfeife; - Phonon::AudioOutput *m_audioOutput_tor; - Phonon::AudioOutput *m_audioOutput_pfeife; - - MatchDayBackend* m_backend; - MatchDayModel* m_datamodel; - ScoreTable* m_scoretbl; - SettingsDialog* m_settingsdlg; - QSettings m_settings; - - QVBoxLayout m_layout; - QLabel m_statuslbl; - -private slots: - void update(void); - -}; - -#endif // MAINWIDGET_H