summaryrefslogtreecommitdiffstats
path: root/khotkeys/arts
diff options
context:
space:
mode:
Diffstat (limited to 'khotkeys/arts')
-rw-r--r--khotkeys/arts/soundrecorder_arts.cpp14
-rw-r--r--khotkeys/arts/soundrecorder_arts.h10
-rw-r--r--khotkeys/arts/voicerecorder_arts.cpp6
3 files changed, 15 insertions, 15 deletions
diff --git a/khotkeys/arts/soundrecorder_arts.cpp b/khotkeys/arts/soundrecorder_arts.cpp
index 2b1563787..e600e1730 100644
--- a/khotkeys/arts/soundrecorder_arts.cpp
+++ b/khotkeys/arts/soundrecorder_arts.cpp
@@ -32,7 +32,7 @@
#include <kdebug.h>
#include <klocale.h>
-#include <qtimer.h>
+#include <tqtimer.h>
#define FS 11025
@@ -42,7 +42,7 @@
extern "C"
KDE_EXPORT
-KHotKeys::SoundRecorder* khotkeys_soundrecorder_create( QObject* parent, const char* name )
+KHotKeys::SoundRecorder* khotkeys_soundrecorder_create( TQObject* parent, const char* name )
{
return new KHotKeys::SoundRecorderArts( parent, name );
}
@@ -51,7 +51,7 @@ namespace KHotKeys
{
-SoundRecorderArts::SoundRecorderArts(QObject *parent, const char *name)
+SoundRecorderArts::SoundRecorderArts(TQObject *parent, const char *name)
: SoundRecorder(parent, name) ,
m_dis(new KArtsDispatcher( this) ),
m_server( new KArtsServer( this ) ) ,
@@ -61,7 +61,7 @@ SoundRecorderArts::SoundRecorderArts(QObject *parent, const char *name)
( void ) check;
m_recStream->usePolling( false );
- connect( m_recStream, SIGNAL(data (QByteArray &)), this, SLOT(slotDataReceived(QByteArray& )));
+ connect( m_recStream, TQT_SIGNAL(data (TQByteArray &)), this, TQT_SLOT(slotDataReceived(TQByteArray& )));
}
SoundRecorderArts::~SoundRecorderArts()
@@ -80,7 +80,7 @@ void SoundRecorderArts::start()
void SoundRecorderArts::stop()
{
m_recStream->stop();
- QTimer::singleShot(400,this,SLOT(slotEmitSignal()));
+ TQTimer::singleShot(400,this,TQT_SLOT(slotEmitSignal()));
}
void SoundRecorderArts::abort()
@@ -95,7 +95,7 @@ Sound SoundRecorderArts::sound()
Sound s;
uint BytePS=BITS/8;
uint length=m_data.size()/BytePS;
- QMemArray<Q_INT32> da(length);
+ TQMemArray<Q_INT32> da(length);
s.max=0;
s._fs=FS;
for(uint f=0;f<length; f++)
@@ -119,7 +119,7 @@ Sound SoundRecorderArts::sound()
return s;
}
-void SoundRecorderArts::slotDataReceived(QByteArray & data)
+void SoundRecorderArts::slotDataReceived(TQByteArray & data)
{
uint pos=m_data.size();
m_data.resize(pos + data.size());
diff --git a/khotkeys/arts/soundrecorder_arts.h b/khotkeys/arts/soundrecorder_arts.h
index da11ce04b..72e901832 100644
--- a/khotkeys/arts/soundrecorder_arts.h
+++ b/khotkeys/arts/soundrecorder_arts.h
@@ -22,7 +22,7 @@
#define RECORDER_ARTS_H
#include "soundrecorder.h"
-#include <qmemarray.h>
+#include <tqmemarray.h>
#include "sound.h"
class KAudioRecordStream ;
@@ -40,7 +40,7 @@ class SoundRecorderArts : public SoundRecorder
{
Q_OBJECT
public:
- SoundRecorderArts(QObject *parent = 0, const char *name = 0);
+ SoundRecorderArts(TQObject *parent = 0, const char *name = 0);
virtual ~SoundRecorderArts();
virtual void start();
@@ -49,12 +49,12 @@ public:
virtual Sound sound();
private slots:
- void slotDataReceived(QByteArray &data);
+ void slotDataReceived(TQByteArray &data);
void slotEmitSignal();
private:
- QByteArray m_data;
- QObject *m_dis;
+ TQByteArray m_data;
+ TQObject *m_dis;
KArtsServer *m_server;
KAudioRecordStream *m_recStream;
};
diff --git a/khotkeys/arts/voicerecorder_arts.cpp b/khotkeys/arts/voicerecorder_arts.cpp
index 39cd38cfa..8b5c752ad 100644
--- a/khotkeys/arts/voicerecorder_arts.cpp
+++ b/khotkeys/arts/voicerecorder_arts.cpp
@@ -8,8 +8,8 @@
****************************************************************************/
-#include <qcolor.h>
-#include <qevent.h>
+#include <tqcolor.h>
+#include <tqevent.h>
#ifdef HAVE_CONFIG_H
#include <config.h>
@@ -26,7 +26,7 @@
extern "C"
KDE_EXPORT
-void khotkeys_voicerecorder_arts_play( const QString& file )
+void khotkeys_voicerecorder_arts_play( const TQString& file )
{
KHotKeys::VoiceRecorder::arts_play_fun check = khotkeys_voicerecorder_arts_play; // check the type matches
( void ) check;