diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
commit | ffe8a83e053396df448e9413828527613ca3bd46 (patch) | |
tree | a73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /libkmid/midfile.cc | |
parent | 682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff) | |
download | tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libkmid/midfile.cc')
-rw-r--r-- | libkmid/midfile.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libkmid/midfile.cc b/libkmid/midfile.cc index baf0a2b37..0e804e4e3 100644 --- a/libkmid/midfile.cc +++ b/libkmid/midfile.cc @@ -35,7 +35,7 @@ #include <config.h> #include <kprocess.h> -#include <qfile.h> +#include <tqfile.h> int fsearch(FILE *fh,const char *text,long *ptr); @@ -54,10 +54,10 @@ double metronomeTempoToTempo(ulong x) int uncompressFile(const char *gzname, char *tmpname) // Returns 0 if OK, 1 if error (tmpname not set) { - QString cmd("gzip -dc " + KProcess::quote(gzname)); - FILE *infile = popen( QFile::encodeName(cmd).data(), "r"); + TQString cmd("gzip -dc " + KProcess::quote(gzname)); + FILE *infile = popen( TQFile::encodeName(cmd).data(), "r"); if (infile==NULL) { - fprintf(stderr,"ERROR : popen failed : %s\n",QFile::encodeName(cmd).data()); + fprintf(stderr,"ERROR : popen failed : %s\n",TQFile::encodeName(cmd).data()); return 1; } strcpy(tmpname, "/tmp/KMid.XXXXXXXXXX"); |