summaryrefslogtreecommitdiffstats
path: root/src/modules/mediaplayer/mp_mp3.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-28 18:31:12 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-28 18:31:12 +0000
commit0a80cfd57d271dd44221467efb426675fa470356 (patch)
tree6f503a31aa078eaf8fa015cf1749808529d49fc9 /src/modules/mediaplayer/mp_mp3.cpp
parent3329e5a804e28ef3f5eb51d1e7affdd5a508e8f2 (diff)
downloadkvirc-0a80cfd57d271dd44221467efb426675fa470356.tar.gz
kvirc-0a80cfd57d271dd44221467efb426675fa470356.zip
TQt4 port kvirc
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kvirc@1238719 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/modules/mediaplayer/mp_mp3.cpp')
-rw-r--r--src/modules/mediaplayer/mp_mp3.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/modules/mediaplayer/mp_mp3.cpp b/src/modules/mediaplayer/mp_mp3.cpp
index 6e27fa5f..4942ee50 100644
--- a/src/modules/mediaplayer/mp_mp3.cpp
+++ b/src/modules/mediaplayer/mp_mp3.cpp
@@ -40,8 +40,8 @@
#include "mp_mp3.h"
#include "kvi_options.h"
-#include <qfileinfo.h>
-#include <qtextcodec.h>
+#include <tqfileinfo.h>
+#include <tqtextcodec.h>
#define MAXGENRE 147
#define GENREROWS 50
@@ -207,7 +207,7 @@ int get_mp3_info(mp3info *mp3)
int sample_pos,data_start=0;
- QFile fi(mp3->filename);
+ TQFile fi(mp3->filename);
mp3->datasize=fi.size();//filestat.st_size;
get_id3(mp3);
@@ -449,14 +449,14 @@ char *unpad(char *string)
return string;
}
-bool scan_mp3_file(QString& szFileName,mp3info * i)
+bool scan_mp3_file(TQString& szFileName,mp3info * i)
{
//memset(i,0,sizeof(mp3info));
resetmp3infoStruct(i);
i->filename = "text";
- i->file = fopen(QTextCodec::codecForLocale()->fromUnicode(i->filename).data(),"rb");
+ i->file = fopen(TQTextCodec::codecForLocale()->fromUnicode(i->filename).data(),"rb");
if(!i->file)return false;
get_mp3_info(i);