Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 36 lines (26 sloc) 0.615 kB
#ifndef POPUPDIALOG_H
#define POPUPDIALOG_H
#include <QDialog>
#include <phonon/mediaobject.h>
#include <phonon/audiooutput.h>
//class QSound;
class QCloseEvent;
class QTextEdit;
class PopupDialog:public QDialog
{
//Q_OBJECT
public:
PopupDialog(QWidget* =0);
~PopupDialog();
void playSound(const QString&);
void display(const QString&,const QString&);
void display(const QString&,bool);
//protected:
// void closeEvent(QCloseEvent* event);
private:
QTextEdit* textEdit;
//QSound* sound;
Phonon::MediaObject* player;
Phonon::AudioOutput* audioOutput;
};
#endif // POPUPDIALOG_H
Jump to Line
Something went wrong with that request. Please try again.