diff options
Diffstat (limited to 'doc/html/sound-example.html')
-rw-r--r-- | doc/html/sound-example.html | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/doc/html/sound-example.html b/doc/html/sound-example.html index b72ad0c80..ab2ca3115 100644 --- a/doc/html/sound-example.html +++ b/doc/html/sound-example.html @@ -50,9 +50,9 @@ if your machine is set up to play audio. #define PLAY_H #include "ntqsound.h" -#include <<a href="qmainwindow-h.html">ntqmainwindow.h</a>> +#include <<a href="tqmainwindow-h.html">tqmainwindow.h</a>> -class SoundPlayer : public <a href="ntqmainwindow.html">TQMainWindow</a> { +class SoundPlayer : public <a href="tqmainwindow.html">TQMainWindow</a> { <a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a> public: SoundPlayer(); @@ -94,10 +94,10 @@ private: #include "sound.h" #include <<a href="qapplication-h.html">ntqapplication.h</a>> #include <<a href="qmessagebox-h.html">ntqmessagebox.h</a>> -#include <<a href="qmenubar-h.html">ntqmenubar.h</a>> +#include <<a href="tqmenubar-h.html">tqmenubar.h</a>> <a name="f581"></a>SoundPlayer::SoundPlayer() : - <a href="ntqmainwindow.html">TQMainWindow</a>(), + <a href="tqmainwindow.html">TQMainWindow</a>(), bucket3("sounds/3.wav"), bucket4("sounds/4.wav") { @@ -119,17 +119,17 @@ private: "<p>After installing NAS, you will then need to reconfigure TQt with NAS sound support"); } - <a href="ntqpopupmenu.html">TQPopupMenu</a> *file = new <a href="ntqpopupmenu.html">TQPopupMenu</a>; -<a name="x2810"></a> file-><a href="ntqmenudata.html#insertItem">insertItem</a>("Play &1", this, TQ_SLOT(doPlay1()), CTRL+Key_1); - file-><a href="ntqmenudata.html#insertItem">insertItem</a>("Play &2", this, TQ_SLOT(doPlay2()), CTRL+Key_2); - file-><a href="ntqmenudata.html#insertItem">insertItem</a>("Play from bucket &3", this, TQ_SLOT(doPlay3()), CTRL+Key_3); - file-><a href="ntqmenudata.html#insertItem">insertItem</a>("Play from bucket &4", this, TQ_SLOT(doPlay4()), CTRL+Key_4); -<a name="x2811"></a> file-><a href="ntqmenudata.html#insertSeparator">insertSeparator</a>(); - file-><a href="ntqmenudata.html#insertItem">insertItem</a>("Play 3 and 4 together", this, TQ_SLOT(doPlay34())); - file-><a href="ntqmenudata.html#insertItem">insertItem</a>("Play all together", this, TQ_SLOT(doPlay1234())); - file-><a href="ntqmenudata.html#insertSeparator">insertSeparator</a>(); - file-><a href="ntqmenudata.html#insertItem">insertItem</a>("E&xit", tqApp, TQ_SLOT(<a href="ntqapplication.html#quit">quit</a>())); - <a href="ntqmainwindow.html#menuBar">menuBar</a>()->insertItem("&File", file); + <a href="tqpopupmenu.html">TQPopupMenu</a> *file = new <a href="tqpopupmenu.html">TQPopupMenu</a>; +<a name="x2810"></a> file-><a href="tqmenudata.html#insertItem">insertItem</a>("Play &1", this, TQ_SLOT(doPlay1()), CTRL+Key_1); + file-><a href="tqmenudata.html#insertItem">insertItem</a>("Play &2", this, TQ_SLOT(doPlay2()), CTRL+Key_2); + file-><a href="tqmenudata.html#insertItem">insertItem</a>("Play from bucket &3", this, TQ_SLOT(doPlay3()), CTRL+Key_3); + file-><a href="tqmenudata.html#insertItem">insertItem</a>("Play from bucket &4", this, TQ_SLOT(doPlay4()), CTRL+Key_4); +<a name="x2811"></a> file-><a href="tqmenudata.html#insertSeparator">insertSeparator</a>(); + file-><a href="tqmenudata.html#insertItem">insertItem</a>("Play 3 and 4 together", this, TQ_SLOT(doPlay34())); + file-><a href="tqmenudata.html#insertItem">insertItem</a>("Play all together", this, TQ_SLOT(doPlay1234())); + file-><a href="tqmenudata.html#insertSeparator">insertSeparator</a>(); + file-><a href="tqmenudata.html#insertItem">insertItem</a>("E&xit", tqApp, TQ_SLOT(<a href="ntqapplication.html#quit">quit</a>())); + <a href="tqmainwindow.html#menuBar">menuBar</a>()->insertItem("&File", file); } void <a name="f582"></a>SoundPlayer::doPlay1() |