|
Last change
on this file since 94 was 48, checked in by dmik, 20 years ago |
|
Imported examples/process and examples/sound from the official release 3.3.1 from Trolltech.
|
-
Property svn:keywords
set to
Id
|
|
File size:
763 bytes
|
| Line | |
|---|
| 1 | /****************************************************************************
|
|---|
| 2 | ** $Id: sound.h 48 2006-01-08 15:39:36Z dmik $
|
|---|
| 3 | **
|
|---|
| 4 | ** Copyright (C) 1992-2000 Trolltech AS. All rights reserved.
|
|---|
| 5 | **
|
|---|
| 6 | ** This file is part of an example program for Qt. This example
|
|---|
| 7 | ** program may be used, distributed and modified without limitation.
|
|---|
| 8 | **
|
|---|
| 9 | *****************************************************************************/
|
|---|
| 10 | #ifndef PLAY_H
|
|---|
| 11 | #define PLAY_H
|
|---|
| 12 |
|
|---|
| 13 | #include "qsound.h"
|
|---|
| 14 | #include <qmainwindow.h>
|
|---|
| 15 |
|
|---|
| 16 | class SoundPlayer : public QMainWindow {
|
|---|
| 17 | Q_OBJECT
|
|---|
| 18 | public:
|
|---|
| 19 | SoundPlayer();
|
|---|
| 20 |
|
|---|
| 21 | public slots:
|
|---|
| 22 | void doPlay1();
|
|---|
| 23 | void doPlay2();
|
|---|
| 24 | void doPlay3();
|
|---|
| 25 | void doPlay4();
|
|---|
| 26 | void doPlay34();
|
|---|
| 27 | void doPlay1234();
|
|---|
| 28 |
|
|---|
| 29 | private:
|
|---|
| 30 | QSound bucket3;
|
|---|
| 31 | QSound bucket4;
|
|---|
| 32 | };
|
|---|
| 33 |
|
|---|
| 34 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.