summaryrefslogtreecommitdiffstats
path: root/iso/qfilehack.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-03 02:49:54 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-03 02:49:54 +0000
commit6ffad5a006df848f5e9a80ca31e5faec8ed65e62 (patch)
tree3757770dc3586efff30fdfe30f7e36b64ab883f1 /iso/qfilehack.cpp
parent1359f43e963c10d08c6c78f4806da291ca216bfe (diff)
downloadkrusader-6ffad5a006df848f5e9a80ca31e5faec8ed65e62.tar.gz
krusader-6ffad5a006df848f5e9a80ca31e5faec8ed65e62.zip
TQt4 port krusader
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/krusader@1239136 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'iso/qfilehack.cpp')
-rw-r--r--iso/qfilehack.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/iso/qfilehack.cpp b/iso/qfilehack.cpp
index 6f0b99d..234f404 100644
--- a/iso/qfilehack.cpp
+++ b/iso/qfilehack.cpp
@@ -15,24 +15,24 @@
* *
***************************************************************************/
-#include "qfilehack.h"
+#include "tqfilehack.h"
-QFileHack::QFileHack(){
+TQFileHack::TQFileHack(){
}
-QFileHack::QFileHack( const QString & name ) : QFile(name) {
+TQFileHack::TQFileHack( const TQString & name ) : TQFile(name) {
}
-QFileHack::~QFileHack(){
+TQFileHack::~TQFileHack(){
}
-bool QFileHack::open ( int m ) {
+bool TQFileHack::open ( int m ) {
bool ret;
#ifdef __linux__
m |= IO_Async; //On linux, set O_NONBLOCK, opens CD-ROMs faster
#endif
- ret=QFile::open(m);
+ ret=TQFile::open(m);
if (ret && isSequentialAccess() ) {
setType(IO_Direct);
}