summaryrefslogtreecommitdiffstats
path: root/noatun-plugins/synaescope
diff options
context:
space:
mode:
Diffstat (limited to 'noatun-plugins/synaescope')
-rw-r--r--noatun-plugins/synaescope/cmodule.cpp28
-rw-r--r--noatun-plugins/synaescope/cmodule.h6
-rw-r--r--noatun-plugins/synaescope/syna.h4
-rw-r--r--noatun-plugins/synaescope/synaescope.cpp18
-rw-r--r--noatun-plugins/synaescope/synaescope.h4
-rw-r--r--noatun-plugins/synaescope/ui.cpp8
6 files changed, 34 insertions, 34 deletions
diff --git a/noatun-plugins/synaescope/cmodule.cpp b/noatun-plugins/synaescope/cmodule.cpp
index 4765eef..5b881fd 100644
--- a/noatun-plugins/synaescope/cmodule.cpp
+++ b/noatun-plugins/synaescope/cmodule.cpp
@@ -22,29 +22,29 @@
#include <kglobal.h>
#include <kglobalsettings.h>
#include <klocale.h>
-#include <qlabel.h>
-#include <qlayout.h>
-#include <qpushbutton.h>
-#include <qspinbox.h>
+#include <tqlabel.h>
+#include <tqlayout.h>
+#include <tqpushbutton.h>
+#include <tqspinbox.h>
#include "cmodule.h"
#include "synaescope.h"
-SynaePrefs::SynaePrefs(QObject *parent)
+SynaePrefs::SynaePrefs(TQObject *parent)
: CModule(i18n("Synaescope"), i18n("Noatun Visualization"), "synaescope", parent)
{
// kdDebug(66666) << k_funcinfo << endl;
- xRes = new QSpinBox(320, 1024, 16, this);
- yRes = new QSpinBox(240, 768, 12, this);
+ xRes = new TQSpinBox(320, 1024, 16, this);
+ yRes = new TQSpinBox(240, 768, 12, this);
- QVBoxLayout *layout = new QVBoxLayout(this, 0, KDialog::spacingHint());
- QHBoxLayout *xResLayout = new QHBoxLayout(0, 0, KDialog::spacingHint());
- QHBoxLayout *yResLayout = new QHBoxLayout(0, 0, KDialog::spacingHint());
+ TQVBoxLayout *layout = new TQVBoxLayout(this, 0, KDialog::spacingHint());
+ TQHBoxLayout *xResLayout = new TQHBoxLayout(0, 0, KDialog::spacingHint());
+ TQHBoxLayout *yResLayout = new TQHBoxLayout(0, 0, KDialog::spacingHint());
- xResLayout->addWidget(new QLabel(i18n("Display width:"), this));
+ xResLayout->addWidget(new TQLabel(i18n("Display width:"), this));
xResLayout->addWidget(xRes);
- yResLayout->addWidget(new QLabel(i18n("Display height:"), this));
+ yResLayout->addWidget(new TQLabel(i18n("Display height:"), this));
yResLayout->addWidget(yRes);
layout->addLayout(xResLayout);
@@ -52,8 +52,8 @@ SynaePrefs::SynaePrefs(QObject *parent)
layout->addStretch();
changed=false;
- connect(xRes, SIGNAL(valueChanged(int)), this, SLOT(slotChanges()));
- connect(yRes, SIGNAL(valueChanged(int)), this, SLOT(slotChanges()));
+ connect(xRes, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(slotChanges()));
+ connect(yRes, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(slotChanges()));
}
void SynaePrefs::save()
diff --git a/noatun-plugins/synaescope/cmodule.h b/noatun-plugins/synaescope/cmodule.h
index 0642e2e..f0269bb 100644
--- a/noatun-plugins/synaescope/cmodule.h
+++ b/noatun-plugins/synaescope/cmodule.h
@@ -29,7 +29,7 @@ class SynaePrefs : public CModule
Q_OBJECT
public:
- SynaePrefs(QObject *parent);
+ SynaePrefs(TQObject *parent);
virtual void save();
virtual void reopen();
@@ -41,8 +41,8 @@ class SynaePrefs : public CModule
void slotChanges();
private:
- QSpinBox *xRes;
- QSpinBox *yRes;
+ TQSpinBox *xRes;
+ TQSpinBox *yRes;
bool changed;
};
diff --git a/noatun-plugins/synaescope/syna.h b/noatun-plugins/synaescope/syna.h
index 0b58ae8..07c4e5e 100644
--- a/noatun-plugins/synaescope/syna.h
+++ b/noatun-plugins/synaescope/syna.h
@@ -21,7 +21,7 @@
#define SYNA_H
#include "config.h"
-#include <qptrlist.h>
+#include <tqptrlist.h>
#include "polygon.h"
#include <noatun/plugin.h>
@@ -241,7 +241,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/synaescope/synaescope.cpp b/noatun-plugins/synaescope/synaescope.cpp
index 7e4df1c..16a6a2e 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, SIGNAL(processExited(KProcess *)),
- this, SLOT(processExited(KProcess *)));
- connect(&process, SIGNAL(receivedStdout(KProcess *,char *,int)),
- this, SLOT(receivedStdout(KProcess *,char *,int)));
- connect(&process, SIGNAL(receivedStderr(KProcess *,char *,int)),
- this, SLOT(receivedStderr(KProcess *,char *,int)));
+ connect(&process, TQT_SIGNAL(processExited(KProcess *)),
+ this, TQT_SLOT(processExited(KProcess *)));
+ connect(&process, TQT_SIGNAL(receivedStdout(KProcess *,char *,int)),
+ this, TQT_SLOT(receivedStdout(KProcess *,char *,int)));
+ connect(&process, TQT_SIGNAL(receivedStderr(KProcess *,char *,int)),
+ this, TQT_SLOT(receivedStderr(KProcess *,char *,int)));
}
SynaeScope::~SynaeScope()
@@ -46,7 +46,7 @@ void SynaeScope::init()
mPrefs = new SynaePrefs(this);
mPrefs->reopen();
mPrefs->save();
- connect(mPrefs, SIGNAL(configChanged()), this, SLOT(readConfig()));
+ connect(mPrefs, TQT_SIGNAL(configChanged()), this, TQT_SLOT(readConfig()));
scopeExePath = KStandardDirs::findExe("noatunsynaescope.bin");
if (scopeExePath.isEmpty())
@@ -97,13 +97,13 @@ void SynaeScope::processExited(KProcess *)
void SynaeScope::receivedStdout(KProcess *, char *buf, int len)
{
- QCString debugString(buf,len);
+ TQCString debugString(buf,len);
kdDebug(66666) << k_funcinfo << debugString << endl;
}
void SynaeScope::receivedStderr(KProcess *, char *buf, int len)
{
- QCString debugString(buf,len);
+ TQCString debugString(buf,len);
kdDebug(66666) << k_funcinfo << debugString << endl;
}
diff --git a/noatun-plugins/synaescope/synaescope.h b/noatun-plugins/synaescope/synaescope.h
index 718c2b9..af1b6f5 100644
--- a/noatun-plugins/synaescope/synaescope.h
+++ b/noatun-plugins/synaescope/synaescope.h
@@ -14,7 +14,7 @@
class SynaePrefs;
class KProcess;
-class SynaeScope : public QObject, public Plugin
+class SynaeScope : public TQObject, public Plugin
{
Q_OBJECT
@@ -33,7 +33,7 @@ private slots:
private:
KProcess process;
- QString scopeExePath;
+ TQString scopeExePath;
bool restarting;
SynaePrefs *mPrefs;
};
diff --git a/noatun-plugins/synaescope/ui.cpp b/noatun-plugins/synaescope/ui.cpp
index d02bfb7..2adc1f7 100644
--- a/noatun-plugins/synaescope/ui.cpp
+++ b/noatun-plugins/synaescope/ui.cpp
@@ -124,7 +124,7 @@ struct NoatunActionButton : public Button
if (mouseOver && mouseClick && !passive)
{
- QCString action;
+ TQCString action;
switch (icon)
{
case Play:
@@ -148,17 +148,17 @@ struct NoatunActionButton : public Button
action+="()";
DCOPClient c;
c.attach();
- QCString appName("noatun");
+ TQCString appName("noatun");
if (c.isApplicationRegistered(appName))
{
- c.send(appName, "Noatun", action, QByteArray());
+ c.send(appName, "Noatun", action, TQByteArray());
}
else
{
appName.setNum(getppid());
appName.prepend("noatun");
if (c.isApplicationRegistered(appName))
- c.send(appName, "Noatun", action, QByteArray());
+ c.send(appName, "Noatun", action, TQByteArray());
}
}
}