summaryrefslogtreecommitdiffstats
path: root/libkmid
diff options
context:
space:
mode:
Diffstat (limited to 'libkmid')
-rw-r--r--libkmid/deviceman.cc2
-rw-r--r--libkmid/midfile.cc8
2 files changed, 5 insertions, 5 deletions
diff --git a/libkmid/deviceman.cc b/libkmid/deviceman.cc
index 7c8e0f48c..c8030f44e 100644
--- a/libkmid/deviceman.cc
+++ b/libkmid/deviceman.cc
@@ -116,7 +116,7 @@ DeviceManager::DeviceManager(int def)
default_dev=config->readNumEntry("midiDevice",0);
if ( default_dev < 0 )
default_dev=0;
- QString mapurl(config->readPathEntry("mapFilename"));
+ TQString mapurl(config->readPathEntry("mapFilename"));
if ((config->readBoolEntry("useMidiMapper", false))&&(!mapurl.isEmpty()))
{
mapper_tmp = new MidiMapper( mapurl.mid(mapurl.find(":")+1 ).local8Bit() );
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");