QtGui/qsoundqss_qws.h Source File
Go to the documentation of this file.
42 #ifndef QSOUNDQSS_QWS_H
43 #define QSOUNDQSS_QWS_H
59 #if defined(QT_NO_NETWORK) || defined(QT_NO_DNS)
60 #define QT_NO_QWS_SOUNDSERVER
65 class QWSSoundServerPrivate;
72 void playFile(
int id,
const QString& filename );
73 void stopFile(
int id );
74 void pauseFile(
int id );
75 void resumeFile(
int id );
78 void soundCompleted(
int );
81 void translateSoundCompleted(
int,
int );
84 QWSSoundServerPrivate* d;
87 #ifndef QT_NO_QWS_SOUNDSERVER
97 ErrOpeningAudioDevice = 0x01,
98 ErrOpeningFile = 0x02,
104 void play(
int id,
const QString& filename );
105 void play(
int id,
const QString& filename,
int volume,
int flags = 0 );
106 void playRaw(
int id,
const QString&,
int,
int,
int,
int flags = 0 );
108 void pause(
int id );
110 void resume(
int id );
111 void setVolume(
int id,
int left,
int right );
112 void setMute(
int id,
bool m );
115 void playPriorityOnly(
bool);
119 void setSilent(
bool);
122 void soundCompleted(
int);
123 void deviceReady(
int id);
127 void tryReadCommand();
128 void emitConnectionRefused();
131 void sendServerMessage(
QString msg);
175 #endif // QT_NO_SOUND
177 #endif // QSOUNDQSS_QWS_H
void setVolume(int, int, int, int)
void setMute(int, int, bool)
void soundFileCompleted(int, int)
void deviceReady(int, int)
QWSSoundServerSocket(QObject *parent=0)
void playFile(int, int, const QString &)
Q_CORE_EXPORT QTextStream & right(QTextStream &s)
#define QT_BEGIN_NAMESPACE
void resumeFile(int, int)
GLuint const GLchar * name
void playPriorityOnly(bool)
void playRawFile(int, int, const QString &, int, int, int, int)
Q_CORE_EXPORT QTextStream & left(QTextStream &s)
void deviceError(int, int, int)