summaryrefslogtreecommitdiffstats
path: root/kopete/plugins/motionautoaway/motionawayplugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/plugins/motionautoaway/motionawayplugin.cpp')
-rw-r--r--kopete/plugins/motionautoaway/motionawayplugin.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kopete/plugins/motionautoaway/motionawayplugin.cpp b/kopete/plugins/motionautoaway/motionawayplugin.cpp
index d534a186..8dbd8853 100644
--- a/kopete/plugins/motionautoaway/motionawayplugin.cpp
+++ b/kopete/plugins/motionautoaway/motionawayplugin.cpp
@@ -36,7 +36,7 @@
#include <time.h>
#include <unistd.h>
-#include <qtimer.h>
+#include <tqtimer.h>
#include <kconfig.h>
#include <kdebug.h>
@@ -92,7 +92,7 @@ typedef __signed__ long long __s64;
typedef KGenericFactory<MotionAwayPlugin> MotionAwayPluginFactory;
K_EXPORT_COMPONENT_FACTORY( kopete_motionaway, MotionAwayPluginFactory( "kopete_motionaway" ) )
-MotionAwayPlugin::MotionAwayPlugin( QObject *parent, const char *name, const QStringList & /* args */ )
+MotionAwayPlugin::MotionAwayPlugin( TQObject *parent, const char *name, const TQStringList & /* args */ )
: Kopete::Plugin( MotionAwayPluginFactory::instance(), parent, name )
{
kdDebug(14305) << k_funcinfo << "Called." << endl;
@@ -106,11 +106,11 @@ MotionAwayPlugin::MotionAwayPlugin( QObject *parent, const char *name, const QSt
/* We haven't took the first picture yet */
m_tookFirst = false;
- m_captureTimer = new QTimer(this);
- m_awayTimer = new QTimer(this);
+ m_captureTimer = new TQTimer(this);
+ m_awayTimer = new TQTimer(this);
- connect( m_captureTimer, SIGNAL(timeout()), this, SLOT(slotCapture()) );
- connect( m_awayTimer, SIGNAL(timeout()), this, SLOT(slotTimeout()) );
+ connect( m_captureTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(slotCapture()) );
+ connect( m_awayTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(slotTimeout()) );
signal(SIGCHLD, SIG_IGN);
@@ -143,7 +143,7 @@ MotionAwayPlugin::MotionAwayPlugin( QObject *parent, const char *name, const QSt
m_awayTimer->start( awayTimeout * 60 * 1000 );
}
loadSettings();
- connect(this, SIGNAL(settingsChanged()), this, SLOT( loadSettings() ) );
+ connect(this, TQT_SIGNAL(settingsChanged()), this, TQT_SLOT( loadSettings() ) );
}
MotionAwayPlugin::~MotionAwayPlugin()
@@ -163,7 +163,7 @@ void MotionAwayPlugin::loadSettings(){
m_awayTimer->changeInterval(awayTimeout * 60 * 1000);
}
-int MotionAwayPlugin::getImage(int _dev, QByteArray &_image, int _width, int _height, int _input, int _norm, int _fmt)
+int MotionAwayPlugin::getImage(int _dev, TQByteArray &_image, int _width, int _height, int _input, int _norm, int _fmt)
{
struct video_capability vid_caps;
struct video_channel vid_chnl;