summaryrefslogtreecommitdiffstats
path: root/kpilot/conduits/docconduit/doc-conduit.h
diff options
context:
space:
mode:
Diffstat (limited to 'kpilot/conduits/docconduit/doc-conduit.h')
-rw-r--r--kpilot/conduits/docconduit/doc-conduit.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/kpilot/conduits/docconduit/doc-conduit.h b/kpilot/conduits/docconduit/doc-conduit.h
index 834002bea..aefb4264f 100644
--- a/kpilot/conduits/docconduit/doc-conduit.h
+++ b/kpilot/conduits/docconduit/doc-conduit.h
@@ -31,7 +31,7 @@
#include <plugin.h>
class docSyncInfo;
-typedef QValueList<docSyncInfo> syncInfoList;
+typedef TQValueList<docSyncInfo> syncInfoList;
typedef enum eSyncDirectionEnum {
eSyncNone,
@@ -51,7 +51,7 @@ typedef enum eTextStatus {
};
-QString dirToString(eSyncDirectionEnum dir);
+TQString dirToString(eSyncDirectionEnum dir);
class DOCConduit:public ConduitAction {
Q_OBJECT
@@ -60,11 +60,11 @@ public:
public:
DOCConduit(KPilotLink * o,
- const char *n = 0L, const QStringList & a = QStringList());
+ const char *n = 0L, const TQStringList & a = TQStringList());
virtual ~ DOCConduit();
- bool encode(QStringList fileName, PilotDatabase * db);
- bool decode(PilotDatabase * db, QString fileName);
+ bool encode(TQStringList fileName, PilotDatabase * db);
+ bool decode(PilotDatabase * db, TQString fileName);
virtual bool exec();
protected:
virtual bool isCorrectDBTypeCreator(DBInfo dbinfo);
@@ -106,33 +106,33 @@ public slots:
*/
bool postSyncAction(PilotDatabase * dbinfo, docSyncInfo &sinfo, bool res = true);
- bool pcTextChanged(QString txtfn);
+ bool pcTextChanged(TQString txtfn);
bool hhTextChanged(PilotDatabase*docdb);
/** Opens the database with name dbname. For a local sync, this will be a
* PilotLocalDatabase, otherwise it will be a database on the serial device
* (i.e. an object of class PilotSerialDatabase) */
- PilotDatabase *openDOCDatabase(const QString &dbname);
+ PilotDatabase *openDOCDatabase(const TQString &dbname);
- QString constructPDBFileName(QString name);
- QString constructTXTFileName(QString name);
+ TQString constructPDBFileName(TQString name);
+ TQString constructTXTFileName(TQString name);
eSyncDirectionEnum eConflictResolution;
int fTXTBookmarks, fPDBBookmarks;
- QStringList fDBListSynced;
- QStringList fDBNames;
+ TQStringList fDBListSynced;
+ TQStringList fDBNames;
syncInfoList fSyncInfoList;
syncInfoList::Iterator fSyncInfoListIterator;
long int dbnr;
- QStringList docnames;
- QStringList::Iterator dociterator;
+ TQStringList docnames;
+ TQStringList::Iterator dociterator;
};
class docSyncInfo
{
public:
- docSyncInfo(QString hhDB=QString(), QString txtfn=QString(), QString pdbfn=QString(), eSyncDirectionEnum dir=eSyncNone)
+ docSyncInfo(TQString hhDB=TQString(), TQString txtfn=TQString(), TQString pdbfn=TQString(), eSyncDirectionEnum dir=eSyncNone)
{
handheldDB=hhDB;
txtfilename=txtfn;
@@ -142,7 +142,7 @@ public:
fPalmStatus=eStatNone;
};
~docSyncInfo(){};
- QString handheldDB, txtfilename, pdbfilename;
+ TQString handheldDB, txtfilename, pdbfilename;
DBInfo dbinfo;
eSyncDirectionEnum direction;
eTextStatus fPCStatus, fPalmStatus;