summaryrefslogtreecommitdiffstats
path: root/noatun-plugins/tyler/file.cpp
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/file.cpp
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/file.cpp')
-rw-r--r--noatun-plugins/tyler/file.cpp10
1 files changed, 5 insertions, 5 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);