summaryrefslogtreecommitdiffstats
path: root/noatun-plugins/tippercanoe
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:22:56 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:22:56 +0000
commit7346aee26bf190a7e70333c40fab4caca847cd27 (patch)
tree4b019b434f88dcc3eeaafe1d3f26240b4c4718e8 /noatun-plugins/tippercanoe
parent23a3d3aa5b44cbdf305495919866d9dbf4f6da54 (diff)
downloadtdeaddons-7346aee26bf190a7e70333c40fab4caca847cd27.tar.gz
tdeaddons-7346aee26bf190a7e70333c40fab4caca847cd27.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaddons@1157634 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'noatun-plugins/tippercanoe')
-rw-r--r--noatun-plugins/tippercanoe/syna.h4
-rw-r--r--noatun-plugins/tippercanoe/synaescope.cpp16
-rw-r--r--noatun-plugins/tippercanoe/synaescope.h4
3 files changed, 12 insertions, 12 deletions
diff --git a/noatun-plugins/tippercanoe/syna.h b/noatun-plugins/tippercanoe/syna.h
index d4ea60e..0d36e1b 100644
--- a/noatun-plugins/tippercanoe/syna.h
+++ b/noatun-plugins/tippercanoe/syna.h
@@ -21,7 +21,7 @@
#define SYNA_H
#include "config.h"
-#include <qptrlist.h>
+#include <tqptrlist.h>
#include "polygon.h"
//**************************************
@@ -233,7 +233,7 @@ protected:
void changeState(int transitionSymbol);
private:
- QPtrList<UIObject> uiObjects;
+ TQPtrList<UIObject> uiObjects;
Button *stateButton, *starsButton, *waveButton, *flameButton, *starButton, *diamondButton;
int mouseButtons;
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);
}
diff --git a/noatun-plugins/tippercanoe/synaescope.h b/noatun-plugins/tippercanoe/synaescope.h
index da6855b..59daa93 100644
--- a/noatun-plugins/tippercanoe/synaescope.h
+++ b/noatun-plugins/tippercanoe/synaescope.h
@@ -13,10 +13,10 @@
#include "syna.h"
#include <noatun/plugin.h>
#include <kprocess.h>
-#include <qwidget.h>
+#include <tqwidget.h>
#include <qxembed.h>
-class SynaeScope : public QWidget, public StereoScope, public Plugin
+class SynaeScope : public TQWidget, public StereoScope, public Plugin
{
Q_OBJECT