diff options
Diffstat (limited to 'noatun-plugins/tippercanoe/synaescope.cpp')
-rw-r--r-- | noatun-plugins/tippercanoe/synaescope.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/noatun-plugins/tippercanoe/synaescope.cpp b/noatun-plugins/tippercanoe/synaescope.cpp index 8ccf6c3..cf5cbfc 100644 --- a/noatun-plugins/tippercanoe/synaescope.cpp +++ b/noatun-plugins/tippercanoe/synaescope.cpp @@ -13,8 +13,8 @@ #include <kmessagebox.h> #include <kprocess.h> #include <kstandarddirs.h> -#include <qframe.h> -#include <qregexp.h> +#include <tqframe.h> +#include <tqregexp.h> #include <noatun/app.h> #include "syna.h" #include "synaescope.h" @@ -26,7 +26,7 @@ extern "C" Plugin *create_plugin() } SynaeScope::SynaeScope() - : QWidget(0, 0, WType_TopLevel | WStyle_DialogBorder | WRepaintNoErase | WMouseNoMask) + : TQWidget(0, 0, WType_TopLevel | WStyle_DialogBorder | WRepaintNoErase | WMouseNoMask) , StereoScope(50) , Plugin() { @@ -45,14 +45,14 @@ SynaeScope::SynaeScope() SynaeScope::~SynaeScope() { - connect(&process, SIGNAL(processExited(KProcess *)), this, SLOT(processExited(KProcess *))); + connect(&process, TQT_SIGNAL(processExited(KProcess *)), this, TQT_SLOT(processExited(KProcess *))); napp->pluginMenuRemove(pluginMenuItem); } void SynaeScope::init() { - connect(&process, SIGNAL(receivedStdout(KProcess *, char *, int)), this, SLOT(read(KProcess *, char *, int))); - pluginMenuItem = napp->pluginMenuAdd(i18n("Toggle Tippecanoe"), this, SLOT(toggle(void))); + connect(&process, TQT_SIGNAL(receivedStdout(KProcess *, char *, int)), this, TQT_SLOT(read(KProcess *, char *, int))); + pluginMenuItem = napp->pluginMenuAdd(i18n("Toggle Tippecanoe"), this, TQT_SLOT(toggle(void))); process << KStandardDirs::findExe("noatuntippecanoe.bin"); @@ -81,8 +81,8 @@ void SynaeScope::scopeEvent(float *left, float *right, int size) void SynaeScope::read(KProcess *, char *buf, int) { - QString num = QString::fromLatin1(buf); - num = num.left(num.find(QRegExp("\\s"))); + TQString num = TQString::fromLatin1(buf); + num = num.left(num.find(TQRegExp("\\s"))); id = num.toInt(); embed->embed(id); } |