#ifndef PLAYFORK_H #define PLAYFORK_H #include "qobject.h" class PagePlay; class QProcess; class PlayFork:public QObject { Q_OBJECT /// public: PlayFork (QWidget * parent = 0, const char *name = 0); ~PlayFork (); QProcess *player; bool forkPlayer (); void killPlayer (); private: PagePlay * pageplay; private slots: //// void onPlayerExit (); }; #endif