diff options
Diffstat (limited to 'noatun-plugins/tippercanoe/synaescope.cpp')
-rw-r--r-- | noatun-plugins/tippercanoe/synaescope.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/noatun-plugins/tippercanoe/synaescope.cpp b/noatun-plugins/tippercanoe/synaescope.cpp index cf5cbfc..4a617ee 100644 --- a/noatun-plugins/tippercanoe/synaescope.cpp +++ b/noatun-plugins/tippercanoe/synaescope.cpp @@ -52,7 +52,7 @@ SynaeScope::~SynaeScope() void SynaeScope::init() { 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))); + pluginMenuItem = napp->pluginMenuAdd(i18n("Toggle Tippecanoe"), TQT_TQOBJECT(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) { - TQString num = TQString::fromLatin1(buf); - num = num.left(num.find(TQRegExp("\\s"))); + TQString num = TQString::tqfromLatin1(buf); + num = num.left(num.tqfind(TQRegExp("\\s"))); id = num.toInt(); embed->embed(id); } |