summaryrefslogtreecommitdiffstats
path: root/kioslave/thumbnail/djvucreator.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
commitc663b6440964f6ac48027143ac9e63298991f9d0 (patch)
tree6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /kioslave/thumbnail/djvucreator.cpp
parenta061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff)
downloadtdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz
tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kioslave/thumbnail/djvucreator.cpp')
-rw-r--r--kioslave/thumbnail/djvucreator.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kioslave/thumbnail/djvucreator.cpp b/kioslave/thumbnail/djvucreator.cpp
index 653fc4163..20a32fb26 100644
--- a/kioslave/thumbnail/djvucreator.cpp
+++ b/kioslave/thumbnail/djvucreator.cpp
@@ -36,8 +36,8 @@
#include <fcntl.h>
#include <errno.h>
-#include <qfile.h>
-#include <qimage.h>
+#include <tqfile.h>
+#include <tqimage.h>
#include <kdemacros.h>
@@ -53,19 +53,19 @@ extern "C"
}
}
-bool DjVuCreator::create(const QString &path, int width, int height, QImage &img)
+bool DjVuCreator::create(const TQString &path, int width, int height, TQImage &img)
{
int output[2];
- QByteArray data(1024);
+ TQByteArray data(1024);
bool ok = false;
if (pipe(output) == -1)
return false;
const char* argv[8];
- QCString sizearg, fnamearg;
+ TQCString sizearg, fnamearg;
sizearg.sprintf("%dx%d", width, height);
- fnamearg = QFile::encodeName( path );
+ fnamearg = TQFile::encodeName( path );
argv[0] = "ddjvu";
argv[1] = "-page";
argv[2] = "1";