summaryrefslogtreecommitdiffstats
path: root/src/translators/pilotdb/pilotdb.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/translators/pilotdb/pilotdb.cpp')
-rw-r--r--src/translators/pilotdb/pilotdb.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/translators/pilotdb/pilotdb.cpp b/src/translators/pilotdb/pilotdb.cpp
index d7779e4..b42cb6a 100644
--- a/src/translators/pilotdb/pilotdb.cpp
+++ b/src/translators/pilotdb/pilotdb.cpp
@@ -17,7 +17,7 @@
#include <kdebug.h>
-#include <qbuffer.h>
+#include <tqbuffer.h>
using namespace PalmLib;
using Tellico::Export::PilotDB;
@@ -42,8 +42,8 @@ PilotDB::~PilotDB() {
}
}
-QByteArray PilotDB::data() {
- QBuffer b;
+TQByteArray PilotDB::data() {
+ TQBuffer b;
b.open(IO_WriteOnly);
pi_char_t buf[PI_HDR_SIZE];
@@ -53,7 +53,7 @@ QByteArray PilotDB::data() {
for(int i=0; i<32; ++i) {
buf[i] = 0;
}
- memcpy(buf, name().c_str(), QMIN(31, name().length()));
+ memcpy(buf, name().c_str(), TQMIN(31, name().length()));
set_short(buf + 32, flags());
set_short(buf + 34, version());
set_long(buf + 36, creation_time());