summaryrefslogtreecommitdiffstats
path: root/kopete/plugins/motionautoaway
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-01-13 17:34:53 +0900
committerMichele Calgaro <[email protected]>2024-01-13 17:51:33 +0900
commit1329ec6abbcb7b79cd960e0ca138f16598d5f11f (patch)
tree8b64fab3a352aada6a046f69f1f7e8a6ad819594 /kopete/plugins/motionautoaway
parent69c2eb8d5f2ed64c876b2a1081cc83ed9f4652d3 (diff)
downloadtdenetwork-1329ec6abbcb7b79cd960e0ca138f16598d5f11f.tar.gz
tdenetwork-1329ec6abbcb7b79cd960e0ca138f16598d5f11f.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kopete/plugins/motionautoaway')
-rw-r--r--kopete/plugins/motionautoaway/motionawayplugin.cpp6
-rw-r--r--kopete/plugins/motionautoaway/motionawaypreferences.cpp6
2 files changed, 6 insertions, 6 deletions
diff --git a/kopete/plugins/motionautoaway/motionawayplugin.cpp b/kopete/plugins/motionautoaway/motionawayplugin.cpp
index fa6136ef..3b5def24 100644
--- a/kopete/plugins/motionautoaway/motionawayplugin.cpp
+++ b/kopete/plugins/motionautoaway/motionawayplugin.cpp
@@ -86,8 +86,8 @@ MotionAwayPlugin::MotionAwayPlugin( TQObject *parent, const char *name, const TQ
m_captureTimer = new TQTimer(this);
m_awayTimer = new TQTimer(this);
- connect( m_captureTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(slotCapture()) );
- connect( m_awayTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(slotTimeout()) );
+ connect( m_captureTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(slotCapture()) );
+ connect( m_awayTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(slotTimeout()) );
signal(SIGCHLD, SIG_IGN);
@@ -124,7 +124,7 @@ MotionAwayPlugin::MotionAwayPlugin( TQObject *parent, const char *name, const TQ
m_awayTimer->start( awayTimeout * 60 * 1000 );
}
loadSettings();
- connect(this, TQT_SIGNAL(settingsChanged()), this, TQT_SLOT( loadSettings() ) );
+ connect(this, TQ_SIGNAL(settingsChanged()), this, TQ_SLOT( loadSettings() ) );
}
MotionAwayPlugin::~MotionAwayPlugin()
diff --git a/kopete/plugins/motionautoaway/motionawaypreferences.cpp b/kopete/plugins/motionautoaway/motionawaypreferences.cpp
index 8b282548..d7a381b4 100644
--- a/kopete/plugins/motionautoaway/motionawaypreferences.cpp
+++ b/kopete/plugins/motionautoaway/motionawaypreferences.cpp
@@ -36,9 +36,9 @@ MotionAwayPreferences::MotionAwayPreferences(TQWidget *parent, const char* /*nam
// Add actuall widget generated from ui file.
( new TQVBoxLayout( this ) )->setAutoAdd( true );
preferencesDialog = new motionawayPrefsUI(this);
- connect(preferencesDialog->BecomeAvailableWithActivity, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotWidgetModified()));
- connect(preferencesDialog->AwayTimeout, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(slotWidgetModified()));
- connect(preferencesDialog->VideoDevice, TQT_SIGNAL(textChanged(const TQString &)), this, TQT_SLOT(slotWidgetModified()));
+ connect(preferencesDialog->BecomeAvailableWithActivity, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotWidgetModified()));
+ connect(preferencesDialog->AwayTimeout, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(slotWidgetModified()));
+ connect(preferencesDialog->VideoDevice, TQ_SIGNAL(textChanged(const TQString &)), this, TQ_SLOT(slotWidgetModified()));
load();
}