/**************************************************************************
KitchenAlert
- Copyright (C) 2010 Heli Hyvättinen
+ Copyright (C) 2010-2011 Heli Hyvättinen
This file is part of KitchenAlert.
#include <QObject>
-
-
-#include <Phonon>
+#include <QMediaPlayer>
/*! Class for playing the alert sound'
@author Heli Hyvättinen
- @date 2010-09-27
- @version 0.2.0
+ @date 2011-04-26
+ @version 0.3.0
Class for playing (and stopping) the alert sound.
virtual ~AlertSound();
+ static const QString defaultsound_ ; /*! the name (with full path) of the default sound file */
+
signals:
public slots:
- Phonon::MediaObject *pSound_;
- QString defaultsound_;
+ QMediaPlayer *pSound_; /*! The media player used to play the sound */
+
};
+
+
#endif // ALERTSOUND_H