diff options
author | Michele Calgaro <[email protected]> | 2024-01-11 10:35:25 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-11 10:35:25 +0900 |
commit | 7e9d8ea45280ad6657796da9536ccf6218111f22 (patch) | |
tree | 67d57c480b89c5967466e39bf60f7e4f05434f15 /noatun-plugins/synaescope | |
parent | 1ecb90ecaf66e1cc8ddeacad21e71640477d9767 (diff) | |
download | tdeaddons-7e9d8ea45280ad6657796da9536ccf6218111f22.tar.gz tdeaddons-7e9d8ea45280ad6657796da9536ccf6218111f22.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'noatun-plugins/synaescope')
-rw-r--r-- | noatun-plugins/synaescope/cmodule.cpp | 4 | ||||
-rw-r--r-- | noatun-plugins/synaescope/synaescope.cpp | 14 |
2 files changed, 9 insertions, 9 deletions
diff --git a/noatun-plugins/synaescope/cmodule.cpp b/noatun-plugins/synaescope/cmodule.cpp index d32bb17..bf6209b 100644 --- a/noatun-plugins/synaescope/cmodule.cpp +++ b/noatun-plugins/synaescope/cmodule.cpp @@ -52,8 +52,8 @@ SynaePrefs::SynaePrefs(TQObject *parent) layout->addStretch(); changed=false; - connect(xRes, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(slotChanges())); - connect(yRes, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(slotChanges())); + connect(xRes, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(slotChanges())); + connect(yRes, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(slotChanges())); } void SynaePrefs::save() diff --git a/noatun-plugins/synaescope/synaescope.cpp b/noatun-plugins/synaescope/synaescope.cpp index 1249953..3d143dd 100644 --- a/noatun-plugins/synaescope/synaescope.cpp +++ b/noatun-plugins/synaescope/synaescope.cpp @@ -26,12 +26,12 @@ SynaeScope::SynaeScope() : Plugin(), scopeExePath(0) { kdDebug(66666) << k_funcinfo << endl; restarting=false; - connect(&process, TQT_SIGNAL(processExited(TDEProcess *)), - this, TQT_SLOT(processExited(TDEProcess *))); - connect(&process, TQT_SIGNAL(receivedStdout(TDEProcess *,char *,int)), - this, TQT_SLOT(receivedStdout(TDEProcess *,char *,int))); - connect(&process, TQT_SIGNAL(receivedStderr(TDEProcess *,char *,int)), - this, TQT_SLOT(receivedStderr(TDEProcess *,char *,int))); + connect(&process, TQ_SIGNAL(processExited(TDEProcess *)), + this, TQ_SLOT(processExited(TDEProcess *))); + connect(&process, TQ_SIGNAL(receivedStdout(TDEProcess *,char *,int)), + this, TQ_SLOT(receivedStdout(TDEProcess *,char *,int))); + connect(&process, TQ_SIGNAL(receivedStderr(TDEProcess *,char *,int)), + this, TQ_SLOT(receivedStderr(TDEProcess *,char *,int))); } SynaeScope::~SynaeScope() @@ -46,7 +46,7 @@ void SynaeScope::init() mPrefs = new SynaePrefs(this); mPrefs->reopen(); mPrefs->save(); - connect(mPrefs, TQT_SIGNAL(configChanged()), this, TQT_SLOT(readConfig())); + connect(mPrefs, TQ_SIGNAL(configChanged()), this, TQ_SLOT(readConfig())); scopeExePath = TDEStandardDirs::findExe("noatunsynaescope.bin"); if (scopeExePath.isEmpty()) |