summaryrefslogtreecommitdiffstats
path: root/libk3b/projects/k3bimagefilereader.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-27 19:21:21 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-27 19:21:21 +0000
commitd8cc8bdfa7fa624a526d5aa1626974e1444cb799 (patch)
treef295f1c545b319963d5357af79fe08991d8141d9 /libk3b/projects/k3bimagefilereader.cpp
parent2a39a080579fb52a2599c02b2939795385b89093 (diff)
downloadk3b-d8cc8bdfa7fa624a526d5aa1626974e1444cb799.tar.gz
k3b-d8cc8bdfa7fa624a526d5aa1626974e1444cb799.zip
TQt4 port k3b
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/k3b@1233803 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libk3b/projects/k3bimagefilereader.cpp')
-rw-r--r--libk3b/projects/k3bimagefilereader.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/libk3b/projects/k3bimagefilereader.cpp b/libk3b/projects/k3bimagefilereader.cpp
index 70ece16..76d8e92 100644
--- a/libk3b/projects/k3bimagefilereader.cpp
+++ b/libk3b/projects/k3bimagefilereader.cpp
@@ -15,8 +15,8 @@
#include "k3bimagefilereader.h"
-#include <qfile.h>
-#include <qtextstream.h>
+#include <tqfile.h>
+#include <tqtextstream.h>
#include <kdebug.h>
@@ -29,8 +29,8 @@ public:
: isValid(false) {
}
- QString filename;
- QString imageFilename;
+ TQString filename;
+ TQString imageFilename;
bool isValid;
};
@@ -47,10 +47,10 @@ K3bImageFileReader::~K3bImageFileReader()
}
-void K3bImageFileReader::openFile( const QString& filename )
+void K3bImageFileReader::openFile( const TQString& filename )
{
d->filename = filename;
- d->imageFilename = QString::null;
+ d->imageFilename = TQString();
setValid(false);
if( !filename.isEmpty() )
@@ -64,7 +64,7 @@ void K3bImageFileReader::setValid( bool b )
}
-void K3bImageFileReader::setImageFilename( const QString& filename )
+void K3bImageFileReader::setImageFilename( const TQString& filename )
{
d->imageFilename = filename;
}
@@ -76,13 +76,13 @@ bool K3bImageFileReader::isValid() const
}
-const QString& K3bImageFileReader::filename() const
+const TQString& K3bImageFileReader::filename() const
{
return d->filename;
}
-const QString& K3bImageFileReader::imageFilename() const
+const TQString& K3bImageFileReader::imageFilename() const
{
return d->imageFilename;
}