summaryrefslogtreecommitdiffstats
path: root/conduits/docconduit/doc-conduit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'conduits/docconduit/doc-conduit.cpp')
-rw-r--r--conduits/docconduit/doc-conduit.cpp38
1 files changed, 19 insertions, 19 deletions
diff --git a/conduits/docconduit/doc-conduit.cpp b/conduits/docconduit/doc-conduit.cpp
index 7f375d4..fb87c37 100644
--- a/conduits/docconduit/doc-conduit.cpp
+++ b/conduits/docconduit/doc-conduit.cpp
@@ -271,7 +271,7 @@ TQString DOCConduit::constructTXTFileName(TQString name) {
emit logMessage(i18n("Searching for texts and databases to synchronize"));
- TQTimer::singleShot(0, this, TQT_SLOT(syncNextDB()));
+ TQTimer::singleShot(0, this, TQ_SLOT(syncNextDB()));
return true;
}
@@ -336,8 +336,8 @@ bool DOCConduit::doSync(docSyncInfo &sinfo)
if (database && database->isOpen()) {
DOCConverter docconverter;
- connect(&docconverter, TQT_SIGNAL(logError(const TQString &)), TQT_SIGNAL(logError(const TQString &)));
- connect(&docconverter, TQT_SIGNAL(logMessage(const TQString &)), TQT_SIGNAL(logMessage(const TQString &)));
+ connect(&docconverter, TQ_SIGNAL(logError(const TQString &)), TQ_SIGNAL(logError(const TQString &)));
+ connect(&docconverter, TQ_SIGNAL(logMessage(const TQString &)), TQ_SIGNAL(logMessage(const TQString &)));
docconverter.setTXTpath( DOCConduitSettings::tXTDirectory(), sinfo.txtfilename );
docconverter.setPDB(database);
@@ -382,8 +382,8 @@ bool DOCConduit::doSync(docSyncInfo &sinfo)
if (!res)
emit logError(i18n("Conversion of PalmDOC \"%1\" failed.")
.arg(TQString::fromLatin1(sinfo.dbinfo.name)));
-// disconnect(&docconverter, TQT_SIGNAL(logError(const TQString &)), TQT_SIGNAL(logError(const TQString &)));
-// disconnect(&docconverter, TQT_SIGNAL(logMessage(const TQString &)), TQT_SIGNAL(logMessage(const TQString &)));
+// disconnect(&docconverter, TQ_SIGNAL(logError(const TQString &)), TQ_SIGNAL(logError(const TQString &)));
+// disconnect(&docconverter, TQ_SIGNAL(logMessage(const TQString &)), TQ_SIGNAL(logMessage(const TQString &)));
// KPILOT_DELETE(database);
}
else
@@ -404,7 +404,7 @@ void DOCConduit::syncNextDB() {
if (eSyncDirection==eSyncPCToPDA || fHandle->findDatabase(NULL, &dbinfo, dbnr, dbtype(), dbcreator() /*, cardno */ ) < 0)
{
// no more databases available, so check for PC->Palm sync
- TQTimer::singleShot(0, this, TQT_SLOT(syncNextTXT()));
+ TQTimer::singleShot(0, this, TQ_SLOT(syncNextTXT()));
return;
}
dbnr=dbinfo.index+1;
@@ -416,7 +416,7 @@ void DOCConduit::syncNextDB() {
if (!isCorrectDBTypeCreator(dbinfo) ||
fDBNames.contains(TQString::fromLatin1(dbinfo.name)))
{
- TQTimer::singleShot(0, this, TQT_SLOT(syncNextDB()));
+ TQTimer::singleShot(0, this, TQ_SLOT(syncNextDB()));
return;
}
@@ -430,7 +430,7 @@ void DOCConduit::syncNextDB() {
fSyncInfoList.append(syncInfo);
fDBNames.append(TQString::fromLatin1(dbinfo.name));
- TQTimer::singleShot(0, this, TQT_SLOT(syncNextDB()));
+ TQTimer::singleShot(0, this, TQ_SLOT(syncNextDB()));
return;
}
@@ -444,7 +444,7 @@ void DOCConduit::syncNextTXT()
{
// We don't sync from PC to PDB, so start the conflict resolution and then the actual sync process
docnames.clear();
- TQTimer::singleShot(0, this, TQT_SLOT(checkPDBFiles()));
+ TQTimer::singleShot(0, this, TQ_SLOT(checkPDBFiles()));
return;
}
@@ -456,7 +456,7 @@ void DOCConduit::syncNextTXT()
if (dociterator==docnames.end()) {
// no more databases available, so start the conflict resolution and then the actual sync proces
docnames.clear();
- TQTimer::singleShot(0, this, TQT_SLOT(checkPDBFiles()));
+ TQTimer::singleShot(0, this, TQ_SLOT(checkPDBFiles()));
return;
}
@@ -488,7 +488,7 @@ void DOCConduit::syncNextTXT()
#endif
}
- TQTimer::singleShot(0, this, TQT_SLOT(syncNextTXT()));
+ TQTimer::singleShot(0, this, TQ_SLOT(syncNextTXT()));
return;
}
@@ -502,7 +502,7 @@ void DOCConduit::checkPDBFiles() {
if ( DOCConduitSettings::localSync() || !DOCConduitSettings::keepPDBsLocally() || eSyncDirection==eSyncPCToPDA )
{
// no more databases available, so check for PC->Palm sync
- TQTimer::singleShot(0, this, TQT_SLOT(checkDeletedDocs()));
+ TQTimer::singleShot(0, this, TQ_SLOT(checkDeletedDocs()));
return;
}
@@ -515,7 +515,7 @@ void DOCConduit::checkPDBFiles() {
if (dociterator==docnames.end()) {
// no more databases available, so start the conflict resolution and then the actual sync proces
docnames.clear();
- TQTimer::singleShot(0, this, TQT_SLOT(checkDeletedDocs()));
+ TQTimer::singleShot(0, this, TQ_SLOT(checkDeletedDocs()));
return;
}
@@ -549,7 +549,7 @@ void DOCConduit::checkPDBFiles() {
}
}
- TQTimer::singleShot(0, this, TQT_SLOT(checkPDBFiles()));
+ TQTimer::singleShot(0, this, TQ_SLOT(checkPDBFiles()));
}
@@ -574,7 +574,7 @@ void DOCConduit::checkDeletedDocs()
fSyncInfoList.append(syncInfo);
}
}
- TQTimer::singleShot(0, this, TQT_SLOT(resolve()));
+ TQTimer::singleShot(0, this, TQ_SLOT(resolve()));
return;
}
@@ -628,7 +628,7 @@ void DOCConduit::resolve() {
if (!dlg || !dlg->exec() ) {
KPILOT_DELETE(dlg)
emit logMessage(i18n("Sync aborted by user."));
- TQTimer::singleShot(0, this, TQT_SLOT(cleanup()));
+ TQTimer::singleShot(0, this, TQ_SLOT(cleanup()));
return;
}
}
@@ -638,7 +638,7 @@ void DOCConduit::resolve() {
// fDBNames will be filled with the names of the databases that are actually synced (not deleted), so I can write the list to the config file
fDBNames.clear();
fSyncInfoListIterator=fSyncInfoList.begin();
- TQTimer::singleShot(0,this, TQT_SLOT(syncDatabases()));
+ TQTimer::singleShot(0,this, TQ_SLOT(syncDatabases()));
return;
}
@@ -648,7 +648,7 @@ void DOCConduit::syncDatabases() {
FUNCTIONSETUP;
if (fSyncInfoListIterator==fSyncInfoList.end()) {
// We're done, so clean up
- TQTimer::singleShot(0, this, TQT_SLOT(cleanup()));
+ TQTimer::singleShot(0, this, TQ_SLOT(cleanup()));
return;
}
@@ -679,7 +679,7 @@ void DOCConduit::syncDatabases() {
}
if (sinfo.direction != eSyncDelete) fDBNames.append(sinfo.handheldDB);
- TQTimer::singleShot(0,this, TQT_SLOT(syncDatabases()));
+ TQTimer::singleShot(0,this, TQ_SLOT(syncDatabases()));
return;
}