summaryrefslogtreecommitdiffstats
path: root/noatun-plugins/tyler
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/tyler
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/tyler')
-rw-r--r--noatun-plugins/tyler/file.cpp10
-rw-r--r--noatun-plugins/tyler/tyler.cpp4
-rw-r--r--noatun-plugins/tyler/tyler.h4
3 files changed, 9 insertions, 9 deletions
diff --git a/noatun-plugins/tyler/file.cpp b/noatun-plugins/tyler/file.cpp
index 58ddd79..c641bc0 100644
--- a/noatun-plugins/tyler/file.cpp
+++ b/noatun-plugins/tyler/file.cpp
@@ -22,18 +22,18 @@ extern "C"
#include <stdlib.h>
}
-#include <qfile.h>
+#include <tqfile.h>
#include <kglobal.h>
#include <kstandarddirs.h>
-static QString getDataPath(void)
+static TQString getDataPath(void)
{
KStandardDirs &dirs = *KGlobal::dirs();
return dirs.findResource("data", "noatun/tylerstates");
}
-static QString getSavePath(void)
+static TQString getSavePath(void)
{
KStandardDirs &dirs = *KGlobal::dirs();
return dirs.saveLocation("data", "noatun/") + "tylerstates";
@@ -41,7 +41,7 @@ static QString getSavePath(void)
extern "C" void save_effect(t_effect *effect)
{
- QFile file(getSavePath());
+ TQFile file(getSavePath());
if(!file.open(IO_WriteOnly))
return;
@@ -54,7 +54,7 @@ int nb_effects=0;
extern "C" void load_effects()
{
- QFile file(getDataPath());
+ TQFile file(getDataPath());
if(!file.open(IO_ReadOnly))
exit(1);
diff --git a/noatun-plugins/tyler/tyler.cpp b/noatun-plugins/tyler/tyler.cpp
index 7990ae2..ad00cac 100644
--- a/noatun-plugins/tyler/tyler.cpp
+++ b/noatun-plugins/tyler/tyler.cpp
@@ -21,7 +21,7 @@ extern "C" Plugin *create_plugin()
const int Tyler::bufferSize = 512;
Tyler::Tyler()
- : QObject()
+ : TQObject()
, StereoScope(25)
, Plugin()
{
@@ -37,7 +37,7 @@ Tyler::~Tyler()
void Tyler::init()
{
process << KStandardDirs::findExe("noatuntyler.bin");
- connect(&process, SIGNAL(processExited(KProcess *)), this, SLOT(processExited(KProcess *)));
+ connect(&process, TQT_SIGNAL(processExited(KProcess *)), this, TQT_SLOT(processExited(KProcess *)));
// Note that process.start() will fail if findExe fails, so there's no real need
// for two separate checks.
diff --git a/noatun-plugins/tyler/tyler.h b/noatun-plugins/tyler/tyler.h
index ff72a80..e919316 100644
--- a/noatun-plugins/tyler/tyler.h
+++ b/noatun-plugins/tyler/tyler.h
@@ -7,9 +7,9 @@
#include <noatun/conversion.h>
#include <noatun/plugin.h>
#include <kprocess.h>
-#include <qwidget.h>
+#include <tqwidget.h>
-class Tyler : public QObject, public StereoScope, public Plugin
+class Tyler : public TQObject, public StereoScope, public Plugin
{
Q_OBJECT