- write logfile for debugging purposes
[buliscores] / src / mainwidget.h
index 1b68c1e..6cbd0eb 100644 (file)
@@ -6,8 +6,11 @@
 #include <QLabel>
 
 #include "matchdaybackend.h"
+#include "match.h"
 #include "scoretable.h"
 #include "settingsdialog.h"
+#include <phonon/mediaobject.h>
+#include <phonon/audiooutput.h>
 
 
 class MainWidget : public QWidget
@@ -22,10 +25,16 @@ public slots:
     void showSettingsDialog();
 
 protected slots:
-    void onBackendUpdateStarted();
+    void onBackendUpdateStarted(void);
     void onBackendUpdateFinished(void);
 
+    void onMatchAdded(Match* match);
+    void onScoreChange();
+    void onMatchStateChanged(Match::MatchState state);
+
 private:
+    Phonon::MediaObject *m_mediaObject;
+    Phonon::AudioOutput *m_audioOutput;
     MatchDayBackend* m_backend;
     MatchDayModel*   m_datamodel;
     ScoreTable*      m_scoretbl;