/*************************************************************************** qcphonon.hpp - description ------------------- begin : Fri Sep 05 2008 copyright : (C) 2008 by Harald Krippel email : harald@the-develop.net ***************************************************************************/ /*************************************************************************** * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * ***************************************************************************/ #ifndef QCPHONON_H #define QCPHONON_H /** *@author Krippel Harald */ #include "qcsound.hpp" /*! This Class is the glue between QTPhonon and QCake. */ class MediaPlayer; class QMessageBox; class FolderListItem; class qcPhonon: public qcSound { Q_OBJECT public: qcPhonon(FolderListItem * parent); int Play(); int Stop(); void Loop(int flag); void setFullScreen(bool flag); void adjustVolume(float gain); int loadFile(const QString &); int loadUrl(const QString & tmpurl); ~qcPhonon(void); //signals: public slots: void getVolume(int); void getFile(const QString &); void getUrl(const QString &); private: MediaPlayer *player; FolderListItem * i; protected: }; #endif