summaryrefslogtreecommitdiffstats
path: root/noatun/noatun20update.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:43:15 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:43:15 +0000
commite654398e46e37abf457b2b1122ab898d2c51c49f (patch)
treed39ee6440f3c3663c3ead84a2d4cc2d034667e96 /noatun/noatun20update.cpp
parente4f29b18e19394b9352f52a6c0d0d0e3932cf511 (diff)
downloadtdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.tar.gz
tdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1157644 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'noatun/noatun20update.cpp')
-rw-r--r--noatun/noatun20update.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/noatun/noatun20update.cpp b/noatun/noatun20update.cpp
index e6a611f0..8ab0bbdb 100644
--- a/noatun/noatun20update.cpp
+++ b/noatun/noatun20update.cpp
@@ -1,8 +1,8 @@
// Convert Noatun 1.2 plugins that no longer exist to their closest 2.0
// counterparts.
-#include <qfile.h>
-#include <qregexp.h>
+#include <tqfile.h>
+#include <tqregexp.h>
#ifndef stdin
extern "C" FILE *stdin;
@@ -14,26 +14,26 @@ extern "C" FILE *stdout;
int main(int, char **)
{
- QFile qin, qout;
+ TQFile qin, qout;
qin.open(IO_ReadOnly, stdin);
qout.open(IO_WriteOnly, stdout);
- QString text = qin.readAll();
+ TQString text = qin.readAll();
// tag loaders
bool tagloaders = text.contains("id3tag.plugin") ||
text.contains("oggtag.plugin") ||
text.contains("luckytag.plugin");
- text.replace(QRegExp("id3tag\\.plugin"), "");
- text.replace(QRegExp("oggtag\\.plugin"), "");
- text.replace(QRegExp("luckytag\\.plugin"), "");
+ text.replace(TQRegExp("id3tag\\.plugin"), "");
+ text.replace(TQRegExp("oggtag\\.plugin"), "");
+ text.replace(TQRegExp("luckytag\\.plugin"), "");
- if(tagloaders) text.replace(QRegExp("Modules="), "Modules=metatag.plugin,");
+ if(tagloaders) text.replace(TQRegExp("Modules="), "Modules=metatag.plugin,");
// playlists
- text.replace(QRegExp("tron\\.plugin"), "splitplaylist.plugin");
- text.replace(QRegExp("liszt\\.plugin"), "splitplaylist.plugin");
+ text.replace(TQRegExp("tron\\.plugin"), "splitplaylist.plugin");
+ text.replace(TQRegExp("liszt\\.plugin"), "splitplaylist.plugin");
qout.writeBlock(text.local8Bit());