summaryrefslogtreecommitdiffstats
path: root/kpilot/conduits/memofileconduit/memofile-conduit.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kpilot/conduits/memofileconduit/memofile-conduit.cc')
-rw-r--r--kpilot/conduits/memofileconduit/memofile-conduit.cc22
1 files changed, 11 insertions, 11 deletions
diff --git a/kpilot/conduits/memofileconduit/memofile-conduit.cc b/kpilot/conduits/memofileconduit/memofile-conduit.cc
index 1dc5fe386..7c2402eaf 100644
--- a/kpilot/conduits/memofileconduit/memofile-conduit.cc
+++ b/kpilot/conduits/memofileconduit/memofile-conduit.cc
@@ -41,9 +41,9 @@
#include "pilotMemo.h"
-#include <qfile.h>
-#include <qdir.h>
-#include <qtextcodec.h>
+#include <tqfile.h>
+#include <tqdir.h>
+#include <tqtextcodec.h>
#include <kconfig.h>
#include <kdebug.h>
@@ -60,9 +60,9 @@
*/
MemofileConduit::MemofileConduit(KPilotLink *d,
const char *n,
- const QStringList &l) :
+ const TQStringList &l) :
ConduitAction(d,n,l),
- _DEFAULT_MEMODIR(QDir::homeDirPath() + CSL1("/MyMemos")),
+ _DEFAULT_MEMODIR(TQDir::homeDirPath() + CSL1("/MyMemos")),
fMemoAppInfo(0L),
_memofiles(0L)
{
@@ -145,7 +145,7 @@ bool MemofileConduit::readConfig()
{
FUNCTIONSETUP;
- QString dir(MemofileConduitSettings::directory());
+ TQString dir(MemofileConduitSettings::directory());
if (dir.isEmpty()) {
dir = _DEFAULT_MEMODIR;
@@ -235,7 +235,7 @@ bool MemofileConduit::loadPilotCategories()
fCategories.clear();
- QString _category_name;
+ TQString _category_name;
int _category_id=0;
int _category_num=0;
@@ -378,7 +378,7 @@ void MemofileConduit::listPilotMemos()
PilotMemo *memo;
for ( memo = fMemoList.first(); memo; memo = fMemoList.next() ) {
- QString _category_name = fCategories[memo->category()];
+ TQString _category_name = fCategories[memo->category()];
DEBUGKPILOT << fConduitName
<< ": listing record id: [" << memo->id()
@@ -421,7 +421,7 @@ bool MemofileConduit::copyPCToHH()
_memofiles->load(true);
- QPtrList<Memofile> memofiles = _memofiles->getAll();
+ TQPtrList<Memofile> memofiles = _memofiles->getAll();
Memofile * memofile;
@@ -484,7 +484,7 @@ int MemofileConduit::writeToPilot(Memofile * memofile)
memofile->setID(newid);
- QString status;
+ TQString status;
if (oldid <=0) {
fCtrHH->created();
status = "new to pilot";
@@ -534,7 +534,7 @@ bool MemofileConduit::sync()
_memofiles->addModifiedMemo(memo);
}
- QPtrList<Memofile> memofiles = _memofiles->getModified();
+ TQPtrList<Memofile> memofiles = _memofiles->getModified();
Memofile *memofile;
for ( memofile = memofiles.first(); memofile; memofile = memofiles.next() ) {