diff options
Diffstat (limited to 'conduits')
20 files changed, 133 insertions, 133 deletions
diff --git a/conduits/abbrowserconduit/abbrowser-conduit.cpp b/conduits/abbrowserconduit/abbrowser-conduit.cpp index c4441b1..6e63596 100644 --- a/conduits/abbrowserconduit/abbrowser-conduit.cpp +++ b/conduits/abbrowserconduit/abbrowser-conduit.cpp @@ -530,7 +530,7 @@ void AbbrowserConduit::showAddresses( if ( syncMode().isTest() ) { - TQTimer::singleShot(0, this, TQT_SLOT(slotTestRecord())); + TQTimer::singleShot(0, this, TQ_SLOT(slotTestRecord())); return true; } @@ -580,7 +580,7 @@ void AbbrowserConduit::showAddresses( for this, and no longer purge the whole addressbook before the sync to prevent data loss in case of connection loss. */ - TQTimer::singleShot(0, this, TQT_SLOT(slotPalmRecToPC())); + TQTimer::singleShot(0, this, TQ_SLOT(slotPalmRecToPC())); return true; } @@ -596,7 +596,7 @@ void AbbrowserConduit::slotPalmRecToPC() { DEBUGKPILOT << fname << ": Done; change to PCtoHH phase." << endl; abiter = aBook->begin(); - TQTimer::singleShot(0, this, TQT_SLOT(slotPCRecToPalm())); + TQTimer::singleShot(0, this, TQ_SLOT(slotPCRecToPalm())); return; } @@ -614,7 +614,7 @@ void AbbrowserConduit::slotPalmRecToPC() if(!palmRec) { abiter = aBook->begin(); - TQTimer::singleShot(0, this, TQT_SLOT(slotPCRecToPalm())); + TQTimer::singleShot(0, this, TQ_SLOT(slotPCRecToPalm())); return; } @@ -622,7 +622,7 @@ void AbbrowserConduit::slotPalmRecToPC() if(syncedIds.contains(palmRec->id())) { KPILOT_DELETE(palmRec); - TQTimer::singleShot(0, this, TQT_SLOT(slotPalmRecToPC())); + TQTimer::singleShot(0, this, TQ_SLOT(slotPalmRecToPC())); return; } @@ -650,7 +650,7 @@ void AbbrowserConduit::slotPalmRecToPC() KPILOT_DELETE(palmRec); KPILOT_DELETE(backupRec); - TQTimer::singleShot(0, this, TQT_SLOT(slotPalmRecToPC())); + TQTimer::singleShot(0, this, TQ_SLOT(slotPalmRecToPC())); } @@ -664,7 +664,7 @@ void AbbrowserConduit::slotPCRecToPalm() { DEBUGKPILOT << fname << ": Done; change to delete records." << endl; pilotindex = 0; - TQTimer::singleShot(0, this, TQT_SLOT(slotDeletedRecord())); + TQTimer::singleShot(0, this, TQ_SLOT(slotDeletedRecord())); return; } @@ -678,7 +678,7 @@ void AbbrowserConduit::slotPCRecToPalm() { DEBUGKPILOT << fname << ": address with id " << ad.uid() << " marked archived, so don't sync." << endl; - TQTimer::singleShot(0, this, TQT_SLOT(slotPCRecToPalm())); + TQTimer::singleShot(0, this, TQ_SLOT(slotPCRecToPalm())); return; } @@ -691,7 +691,7 @@ void AbbrowserConduit::slotPCRecToPalm() DEBUGKPILOT << fname << ": This is a new record." << endl; // it's a new item(no record ID and not inserted by the Palm -> PC sync), so add it syncAddressee(ad, 0L, 0L); - TQTimer::singleShot(0, this, TQT_SLOT(slotPCRecToPalm())); + TQTimer::singleShot(0, this, TQ_SLOT(slotPCRecToPalm())); return; } @@ -699,7 +699,7 @@ void AbbrowserConduit::slotPCRecToPalm() if (syncedIds.contains(rid)) { DEBUGKPILOT << ": address with id " << rid << " already synced." << endl; - TQTimer::singleShot(0, this, TQT_SLOT(slotPCRecToPalm())); + TQTimer::singleShot(0, this, TQ_SLOT(slotPCRecToPalm())); return; } @@ -742,7 +742,7 @@ void AbbrowserConduit::slotPCRecToPalm() syncedIds.append(rid); // done with the sync process, go on with the next one: - TQTimer::singleShot(0, this, TQT_SLOT(slotPCRecToPalm())); + TQTimer::singleShot(0, this, TQ_SLOT(slotPCRecToPalm())); } @@ -755,7 +755,7 @@ void AbbrowserConduit::slotDeletedRecord() if(!backupRec || isFirstSync() ) { KPILOT_DELETE(backupRec); - TQTimer::singleShot(0, this, TQT_SLOT(slotDeleteUnsyncedPCRecords())); + TQTimer::singleShot(0, this, TQ_SLOT(slotDeleteUnsyncedPCRecords())); return; } @@ -796,7 +796,7 @@ void AbbrowserConduit::slotDeletedRecord() KPILOT_DELETE(palmRec); KPILOT_DELETE(backupAddr); KPILOT_DELETE(backupRec); - TQTimer::singleShot(0, this, TQT_SLOT(slotDeletedRecord())); + TQTimer::singleShot(0, this, TQ_SLOT(slotDeletedRecord())); } @@ -829,7 +829,7 @@ void AbbrowserConduit::slotDeleteUnsyncedPCRecords() } } } - TQTimer::singleShot(0, this, TQT_SLOT(slotDeleteUnsyncedHHRecords())); + TQTimer::singleShot(0, this, TQ_SLOT(slotDeleteUnsyncedHHRecords())); } @@ -852,7 +852,7 @@ void AbbrowserConduit::slotDeleteUnsyncedHHRecords() } } } - TQTimer::singleShot(0, this, TQT_SLOT(slotCleanup())); + TQTimer::singleShot(0, this, TQ_SLOT(slotCleanup())); } @@ -1893,5 +1893,5 @@ void AbbrowserConduit::slotTestRecord() // Schedule more work. ++pilotindex; - TQTimer::singleShot(0, this, TQT_SLOT(slotTestRecord())); + TQTimer::singleShot(0, this, TQ_SLOT(slotTestRecord())); } diff --git a/conduits/abbrowserconduit/abbrowser-setup.cpp b/conduits/abbrowserconduit/abbrowser-setup.cpp index a33632e..92f4a8c 100644 --- a/conduits/abbrowserconduit/abbrowser-setup.cpp +++ b/conduits/abbrowserconduit/abbrowser-setup.cpp @@ -73,20 +73,20 @@ AbbrowserWidgetSetup::AbbrowserWidgetSetup(TQWidget *w, const char *n) : ConduitConfigBase::addAboutPage(fConfigWidget->tabWidget,fAbout); fWidget=fConfigWidget; fConfigWidget->fAbookFile->setMode(KFile::File); -#define CM(a,b) connect(fConfigWidget->a,b,this,TQT_SLOT(modified())); - CM(fSyncDestination,TQT_SIGNAL(clicked(int))); - CM(fAbookFile,TQT_SIGNAL(textChanged(const TQString &))); - CM(fArchive,TQT_SIGNAL(toggled(bool))); - CM(fConflictResolution,TQT_SIGNAL(activated(int))); - CM(fOtherPhone,TQT_SIGNAL(activated(int))); - CM(fAddress,TQT_SIGNAL(activated(int))); - CM(fFax,TQT_SIGNAL(activated(int))); - CM(fCustom0,TQT_SIGNAL(activated(int))); - CM(fCustom1,TQT_SIGNAL(activated(int))); - CM(fCustom2,TQT_SIGNAL(activated(int))); - CM(fCustom3,TQT_SIGNAL(activated(int))); - CM(fCustomDate, TQT_SIGNAL(activated(int))); - CM(fCustomDate, TQT_SIGNAL(textChanged(const TQString&))); +#define CM(a,b) connect(fConfigWidget->a,b,this,TQ_SLOT(modified())); + CM(fSyncDestination,TQ_SIGNAL(clicked(int))); + CM(fAbookFile,TQ_SIGNAL(textChanged(const TQString &))); + CM(fArchive,TQ_SIGNAL(toggled(bool))); + CM(fConflictResolution,TQ_SIGNAL(activated(int))); + CM(fOtherPhone,TQ_SIGNAL(activated(int))); + CM(fAddress,TQ_SIGNAL(activated(int))); + CM(fFax,TQ_SIGNAL(activated(int))); + CM(fCustom0,TQ_SIGNAL(activated(int))); + CM(fCustom1,TQ_SIGNAL(activated(int))); + CM(fCustom2,TQ_SIGNAL(activated(int))); + CM(fCustom3,TQ_SIGNAL(activated(int))); + CM(fCustomDate, TQ_SIGNAL(activated(int))); + CM(fCustomDate, TQ_SIGNAL(textChanged(const TQString&))); #undef CM } diff --git a/conduits/abbrowserconduit/resolutionDialog.cpp b/conduits/abbrowserconduit/resolutionDialog.cpp index dea368b..1dd4e65 100644 --- a/conduits/abbrowserconduit/resolutionDialog.cpp +++ b/conduits/abbrowserconduit/resolutionDialog.cpp @@ -193,16 +193,16 @@ ResolutionDlg::ResolutionDlg( TQWidget* parent, KPilotLink*fH, if (tickleTimer) { - connect( tickleTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(_tickle())); + connect( tickleTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(_tickle())); // tickle the palm every 10 seconds to prevent a timeout until the // sync is really finished. tickleTimer->start( 10000 ); } - connect(fWidget->fKeepBoth, TQT_SIGNAL(clicked()), TQT_SLOT(slotKeepBoth())); - connect(fWidget->fBackupValues, TQT_SIGNAL(clicked()), TQT_SLOT(slotUseBackup())); - connect(fWidget->fPalmValues, TQT_SIGNAL(clicked()), TQT_SLOT(slotUsePalm())); - connect(fWidget->fPCValues, TQT_SIGNAL(clicked()), TQT_SLOT(slotUsePC())); + connect(fWidget->fKeepBoth, TQ_SIGNAL(clicked()), TQ_SLOT(slotKeepBoth())); + connect(fWidget->fBackupValues, TQ_SIGNAL(clicked()), TQ_SLOT(slotUseBackup())); + connect(fWidget->fPalmValues, TQ_SIGNAL(clicked()), TQ_SLOT(slotUsePalm())); + connect(fWidget->fPCValues, TQ_SIGNAL(clicked()), TQ_SLOT(slotUsePC())); } void ResolutionDlg::adjustButtons(ResolutionTable*tab) 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; } diff --git a/conduits/docconduit/doc-conflictdialog.cpp b/conduits/docconduit/doc-conflictdialog.cpp index 59df40b..c22c58b 100644 --- a/conduits/docconduit/doc-conflictdialog.cpp +++ b/conduits/docconduit/doc-conflictdialog.cpp @@ -75,7 +75,7 @@ ResolutionDialog::ResolutionDialog( TQWidget* parent, const TQString& caption, s // Invisible button group for the information buttons to use the same slot for all of them (see Dallheimer's book, page 309f) TQButtonGroup *bgroup = new TQButtonGroup( this ); bgroup->hide(); - TQObject::connect(bgroup, TQT_SIGNAL(clicked(int)), this, TQT_SLOT(slotInfo(int))); + TQObject::connect(bgroup, TQ_SIGNAL(clicked(int)), this, TQ_SLOT(slotInfo(int))); if (syncInfo) { DEBUGKPILOT<<"Adding resolution options for the databases "<<endl; @@ -127,7 +127,7 @@ ResolutionDialog::ResolutionDialog( TQWidget* parent, const TQString& caption, s if (fHandle) tickleTimer=new TQTimer(this, "TickleTimer"); if (tickleTimer) { - connect( tickleTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(_tickle()) ); + connect( tickleTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(_tickle()) ); tickleTimer->start( 10000 ); // tickle the palm every 10 seconds to prevent a timeout until the sync is really finished. } diff --git a/conduits/docconduit/doc-setup.cpp b/conduits/docconduit/doc-setup.cpp index d0951c5..be0f989 100644 --- a/conduits/docconduit/doc-setup.cpp +++ b/conduits/docconduit/doc-setup.cpp @@ -63,7 +63,7 @@ DOCWidgetConfig::DOCWidgetConfig(TQWidget * w, const char *n): fConduitName=i18n("Palm DOC"); -#define CMOD(a,b) connect(fConfigWidget->a,TQT_SIGNAL(b),this,TQT_SLOT(modified())) +#define CMOD(a,b) connect(fConfigWidget->a,TQ_SIGNAL(b),this,TQ_SLOT(modified())) CMOD(fTXTDir,textChanged(const TQString &)); CMOD(fPDBDir,textChanged(const TQString &)); CMOD(fkeepPDBLocally,clicked()); diff --git a/conduits/docconduit/kpalmdoc_dlg.cpp b/conduits/docconduit/kpalmdoc_dlg.cpp index fe2ec89..3685e45 100644 --- a/conduits/docconduit/kpalmdoc_dlg.cpp +++ b/conduits/docconduit/kpalmdoc_dlg.cpp @@ -70,10 +70,10 @@ ConverterDlg::ConverterDlg( TQWidget *parent, const TQString& caption) readSettings(); - connect(dlg->fDirectories, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(slotDirectories(bool))); - connect(dlg->fTextToPDB, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotToPDB())); - connect(dlg->fPDBToText, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotToText())); + connect(dlg->fDirectories, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(slotDirectories(bool))); + connect(dlg->fTextToPDB, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotToPDB())); + connect(dlg->fPDBToText, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotToText())); resize(minimumSize()); } diff --git a/conduits/knotes/knotes-action.cpp b/conduits/knotes/knotes-action.cpp index 84fe5cc..29a9a50 100644 --- a/conduits/knotes/knotes-action.cpp +++ b/conduits/knotes/knotes-action.cpp @@ -239,7 +239,7 @@ KNotesAction::KNotesAction(KPilotLink *o, // this is not needed. As it is done in the initstate in process(); // resetIndexes(); - connect(fP->fTimer,TQT_SIGNAL(timeout()),TQT_SLOT(process())); + connect(fP->fTimer,TQ_SIGNAL(timeout()),TQ_SLOT(process())); fP->fTimer->start(0,false); return true; diff --git a/conduits/knotes/knotes-setup.cpp b/conduits/knotes/knotes-setup.cpp index 0bdf41a..003efff 100644 --- a/conduits/knotes/knotes-setup.cpp +++ b/conduits/knotes/knotes-setup.cpp @@ -50,12 +50,12 @@ KNotesConfigBase::KNotesConfigBase(TQWidget *w, const char *n) : fConfigWidget = new KNotesWidget(w); ConduitConfigBase::addAboutPage(fConfigWidget->tabWidget,KNotesConduitFactory::about()); fWidget = fConfigWidget; - TQObject::connect(fConfigWidget->fDeleteNoteForMemo,TQT_SIGNAL(clicked()), - this,TQT_SLOT(modified())); - TQObject::connect(fConfigWidget->fSuppressConfirm,TQT_SIGNAL(clicked()), - this,TQT_SLOT(modified())); - TQObject::connect(fConfigWidget->fDeleteNoteForMemo,TQT_SIGNAL(toggled(bool)), - fConfigWidget->fSuppressConfirm,TQT_SLOT(setEnabled(bool))); + TQObject::connect(fConfigWidget->fDeleteNoteForMemo,TQ_SIGNAL(clicked()), + this,TQ_SLOT(modified())); + TQObject::connect(fConfigWidget->fSuppressConfirm,TQ_SIGNAL(clicked()), + this,TQ_SLOT(modified())); + TQObject::connect(fConfigWidget->fDeleteNoteForMemo,TQ_SIGNAL(toggled(bool)), + fConfigWidget->fSuppressConfirm,TQ_SLOT(setEnabled(bool))); fConduitName=i18n("KNotes"); } diff --git a/conduits/malconduit/mal-setup.cpp b/conduits/malconduit/mal-setup.cpp index e9a1e9c..80a97cc 100644 --- a/conduits/malconduit/mal-setup.cpp +++ b/conduits/malconduit/mal-setup.cpp @@ -65,21 +65,21 @@ MALWidgetSetup::MALWidgetSetup(TQWidget *w, const char *n) : fConfigWidget->tabWidget->adjustSize(); fConfigWidget->resize(fConfigWidget->tabWidget->size()); -#define CM(a,b) connect(fConfigWidget->a,b,this,TQT_SLOT(modified())); - CM( syncTime, TQT_SIGNAL(clicked(int)) ); - CM( proxyType, TQT_SIGNAL(clicked(int)) ); - - CM( proxyServerName, TQT_SIGNAL(textChanged(const TQString &)) ); - CM( proxyCustomPortCheck, TQT_SIGNAL(clicked()) ); - CM( proxyCustomPort, TQT_SIGNAL(valueChanged(int)) ); - CM( proxyUserName, TQT_SIGNAL(textChanged(const TQString &)) ); - CM( proxyPassword, TQT_SIGNAL(textChanged(const TQString &)) ); - - CM( malServerName, TQT_SIGNAL(textChanged(const TQString &)) ); - CM( malCustomPortCheck, TQT_SIGNAL(clicked()) ); - CM( malCustomPort, TQT_SIGNAL(valueChanged(int)) ); - CM( malUserName, TQT_SIGNAL(textChanged(const TQString &)) ); - CM( malPassword, TQT_SIGNAL(textChanged(const TQString &)) ); +#define CM(a,b) connect(fConfigWidget->a,b,this,TQ_SLOT(modified())); + CM( syncTime, TQ_SIGNAL(clicked(int)) ); + CM( proxyType, TQ_SIGNAL(clicked(int)) ); + + CM( proxyServerName, TQ_SIGNAL(textChanged(const TQString &)) ); + CM( proxyCustomPortCheck, TQ_SIGNAL(clicked()) ); + CM( proxyCustomPort, TQ_SIGNAL(valueChanged(int)) ); + CM( proxyUserName, TQ_SIGNAL(textChanged(const TQString &)) ); + CM( proxyPassword, TQ_SIGNAL(textChanged(const TQString &)) ); + + CM( malServerName, TQ_SIGNAL(textChanged(const TQString &)) ); + CM( malCustomPortCheck, TQ_SIGNAL(clicked()) ); + CM( malCustomPort, TQ_SIGNAL(valueChanged(int)) ); + CM( malUserName, TQ_SIGNAL(textChanged(const TQString &)) ); + CM( malPassword, TQ_SIGNAL(textChanged(const TQString &)) ); #undef CM } diff --git a/conduits/memofileconduit/memofile-factory.cpp b/conduits/memofileconduit/memofile-factory.cpp index bfaf43b..97589bf 100644 --- a/conduits/memofileconduit/memofile-factory.cpp +++ b/conduits/memofileconduit/memofile-factory.cpp @@ -72,10 +72,10 @@ MemofileConduitConfig::MemofileConduitConfig(TQWidget *p, const char *n) : ConduitConfigBase::addAboutPage(fConfigWidget->tabWidget,about); fWidget=fConfigWidget; - TQObject::connect(fConfigWidget->fDirectory,TQT_SIGNAL(textChanged(const TQString&)), - this,TQT_SLOT(modified())); - TQObject::connect(fConfigWidget->fSyncPrivate,TQT_SIGNAL(toggled(bool)), - this,TQT_SLOT(modified())); + TQObject::connect(fConfigWidget->fDirectory,TQ_SIGNAL(textChanged(const TQString&)), + this,TQ_SLOT(modified())); + TQObject::connect(fConfigWidget->fSyncPrivate,TQ_SIGNAL(toggled(bool)), + this,TQ_SLOT(modified())); } diff --git a/conduits/notepadconduit/notepad-factory.cpp b/conduits/notepadconduit/notepad-factory.cpp index 2f81414..41fb298 100644 --- a/conduits/notepadconduit/notepad-factory.cpp +++ b/conduits/notepadconduit/notepad-factory.cpp @@ -89,8 +89,8 @@ NotepadConduitConfig::NotepadConduitConfig(TQWidget *p, const char *n) : fConduitName = i18n("Notepad"); ConduitConfigBase::addAboutPage(fConfigWidget->tabWidget, createAbout()); fWidget=fConfigWidget; - TQObject::connect(fConfigWidget->fOutputDirectory, TQT_SIGNAL(textChanged(const TQString&)), - this, TQT_SLOT(modified())); + TQObject::connect(fConfigWidget->fOutputDirectory, TQ_SIGNAL(textChanged(const TQString&)), + this, TQ_SLOT(modified())); fConfigWidget->fOutputDirectory->setMode(KFile::Directory | KFile::LocalOnly); } diff --git a/conduits/null/null-factory.cpp b/conduits/null/null-factory.cpp index 68e7c56..b2c67b3 100644 --- a/conduits/null/null-factory.cpp +++ b/conduits/null/null-factory.cpp @@ -74,8 +74,8 @@ NullConduitConfig::NullConduitConfig(TQWidget *p, const char *n) : ConduitConfigBase::addAboutPage(fConfigWidget->tabWidget,fAbout); fWidget=fConfigWidget; - TQObject::connect(fConfigWidget->fLogMessage,TQT_SIGNAL(textChanged(const TQString&)), - this,TQT_SLOT(modified())); + TQObject::connect(fConfigWidget->fLogMessage,TQ_SIGNAL(textChanged(const TQString&)), + this,TQ_SLOT(modified())); } /* virtual */ void NullConduitConfig::commit() diff --git a/conduits/popmail/setupDialog.cpp b/conduits/popmail/setupDialog.cpp index ea23c90..3fe8be6 100644 --- a/conduits/popmail/setupDialog.cpp +++ b/conduits/popmail/setupDialog.cpp @@ -86,14 +86,14 @@ PopMailWidgetConfig::PopMailWidgetConfig(TQWidget *p,const char *n) : ConduitConfigBase::addAboutPage(fConfigWidget->fTabWidget,fAbout); fWidget=fConfigWidget; -#define CM(a,b) connect(fConfigWidget->a,b,this,TQT_SLOT(modified())); - CM(fSendMode,TQT_SIGNAL(activated(int))); - CM(fEmailFrom,TQT_SIGNAL(textChanged(const TQString &))); - CM(fSignature,TQT_SIGNAL(textChanged(const TQString &))); +#define CM(a,b) connect(fConfigWidget->a,b,this,TQ_SLOT(modified())); + CM(fSendMode,TQ_SIGNAL(activated(int))); + CM(fEmailFrom,TQ_SIGNAL(textChanged(const TQString &))); + CM(fSignature,TQ_SIGNAL(textChanged(const TQString &))); #undef CM - connect(fConfigWidget->fSendMode,TQT_SIGNAL(activated(int)), - this,TQT_SLOT(toggleSendMode(int))); + connect(fConfigWidget->fSendMode,TQ_SIGNAL(activated(int)), + this,TQ_SLOT(toggleSendMode(int))); } diff --git a/conduits/recordconduit/factory.cpp b/conduits/recordconduit/factory.cpp index 66bf0e0..950fb9c 100644 --- a/conduits/recordconduit/factory.cpp +++ b/conduits/recordconduit/factory.cpp @@ -75,12 +75,12 @@ ConduitConfig::ConduitConfig(TQWidget *p, const char *n) : ConduitConfigBase::addAboutPage(fConfigWidget->tabWidget,fAbout); fWidget=fConfigWidget; - TQObject::connect(fConfigWidget->fLogMessage,TQT_SIGNAL(textChanged(const TQString&)), - this,TQT_SLOT(modified())); - TQObject::connect(fConfigWidget->fDatabases,TQT_SIGNAL(textChanged(const TQString&)), - this,TQT_SLOT(modified())); - TQObject::connect(fConfigWidget->fFailImmediately,TQT_SIGNAL(toggled(bool)), - this,TQT_SLOT(modified())); + TQObject::connect(fConfigWidget->fLogMessage,TQ_SIGNAL(textChanged(const TQString&)), + this,TQ_SLOT(modified())); + TQObject::connect(fConfigWidget->fDatabases,TQ_SIGNAL(textChanged(const TQString&)), + this,TQ_SLOT(modified())); + TQObject::connect(fConfigWidget->fFailImmediately,TQ_SIGNAL(toggled(bool)), + this,TQ_SLOT(modified())); } /* virtual */ void ConduitConfig::commit() diff --git a/conduits/sysinfoconduit/sysinfo-conduit.cpp b/conduits/sysinfoconduit/sysinfo-conduit.cpp index 68511b7..71e1310 100644 --- a/conduits/sysinfoconduit/sysinfo-conduit.cpp +++ b/conduits/sysinfoconduit/sysinfo-conduit.cpp @@ -196,7 +196,7 @@ void SysInfoConduit::readConfig() readConfig(); - TQTimer::singleShot(0, this, TQT_SLOT(hardwareInfo())); + TQTimer::singleShot(0, this, TQ_SLOT(hardwareInfo())); return true; } @@ -235,7 +235,7 @@ void SysInfoConduit::hardwareInfo() KPILOT_DELETE(device); keepParts.append(CSL1("hardware")); } else removeParts.append(CSL1("hardware")); - TQTimer::singleShot(0, this, TQT_SLOT(userInfo())); + TQTimer::singleShot(0, this, TQ_SLOT(userInfo())); } void SysInfoConduit::userInfo() @@ -265,7 +265,7 @@ void SysInfoConduit::userInfo() { removeParts.append(CSL1("user")); } - TQTimer::singleShot(0, this, TQT_SLOT(memoryInfo())); + TQTimer::singleShot(0, this, TQ_SLOT(memoryInfo())); } void SysInfoConduit::memoryInfo() @@ -286,7 +286,7 @@ void SysInfoConduit::memoryInfo() } keepParts.append(CSL1("memory")); } else removeParts.append(CSL1("memory")); - TQTimer::singleShot(0, this, TQT_SLOT(storageInfo())); + TQTimer::singleShot(0, this, TQ_SLOT(storageInfo())); } void SysInfoConduit::storageInfo() @@ -309,7 +309,7 @@ void SysInfoConduit::storageInfo() } keepParts.append(CSL1("storage")); } else removeParts.append(CSL1("storage")); - TQTimer::singleShot(0, this, TQT_SLOT(dbListInfo())); + TQTimer::singleShot(0, this, TQ_SLOT(dbListInfo())); } void SysInfoConduit::dbListInfo() @@ -322,7 +322,7 @@ void SysInfoConduit::dbListInfo() dblist=deviceLink()->getDBList(); keepParts.append(CSL1("dblist")); } else removeParts.append(CSL1("dblist")); - TQTimer::singleShot(0, this, TQT_SLOT(recNumberInfo())); + TQTimer::singleShot(0, this, TQ_SLOT(recNumberInfo())); } void SysInfoConduit::recNumberInfo() @@ -363,7 +363,7 @@ void SysInfoConduit::recNumberInfo() } keepParts.append(CSL1("records")); } else removeParts.append(CSL1("records")); - TQTimer::singleShot(0, this, TQT_SLOT(syncInfo())); + TQTimer::singleShot(0, this, TQ_SLOT(syncInfo())); } void SysInfoConduit::syncInfo() @@ -386,7 +386,7 @@ void SysInfoConduit::syncInfo() fValues[CSL1("lastsyncpc")] = TQString::number(user.getLastSyncPC()); keepParts.append(CSL1("sync")); } else removeParts.append(CSL1("sync")); - TQTimer::singleShot(0, this, TQT_SLOT(pcVersionInfo())); + TQTimer::singleShot(0, this, TQ_SLOT(pcVersionInfo())); } void SysInfoConduit::pcVersionInfo() @@ -430,7 +430,7 @@ void SysInfoConduit::pcVersionInfo() #endif keepParts.append(CSL1("pcversion")); } else removeParts.append(CSL1("pcversion")); - TQTimer::singleShot(0, this, TQT_SLOT(palmVersionInfo())); + TQTimer::singleShot(0, this, TQ_SLOT(palmVersionInfo())); } void SysInfoConduit::palmVersionInfo() @@ -450,7 +450,7 @@ void SysInfoConduit::palmVersionInfo() keepParts.append(CSL1("palmversion")); } else removeParts.append(CSL1("palmversion")); - TQTimer::singleShot(0, this, TQT_SLOT(debugInfo())); + TQTimer::singleShot(0, this, TQ_SLOT(debugInfo())); } void SysInfoConduit::debugInfo() @@ -463,7 +463,7 @@ void SysInfoConduit::debugInfo() fValues[CSL1("debug")] = i18n("No debug data"); keepParts.append(CSL1("debug")); } else removeParts.append(CSL1("debug")); - TQTimer::singleShot(0, this, TQT_SLOT(writeFile())); + TQTimer::singleShot(0, this, TQ_SLOT(writeFile())); } void SysInfoConduit::writeFile() @@ -589,7 +589,7 @@ void SysInfoConduit::writeFile() if (!outfile.open(IO_WriteOnly)) { WARNINGKPILOT<< "Unable to open " << fOutputFile << endl; emit logError(i18n("Unable to open %1").arg(fOutputFile)); - TQTimer::singleShot(0, this, TQT_SLOT(cleanup())); + TQTimer::singleShot(0, this, TQ_SLOT(cleanup())); return; } } @@ -600,7 +600,7 @@ void SysInfoConduit::writeFile() outfile.close(); emit logMessage(i18n("Handheld system information written to the file %1").arg(fOutputFile)); - TQTimer::singleShot(0, this, TQT_SLOT(cleanup())); + TQTimer::singleShot(0, this, TQ_SLOT(cleanup())); } void SysInfoConduit::cleanup() diff --git a/conduits/sysinfoconduit/sysinfo-setup.cpp b/conduits/sysinfoconduit/sysinfo-setup.cpp index 70676e4..534c834 100644 --- a/conduits/sysinfoconduit/sysinfo-setup.cpp +++ b/conduits/sysinfoconduit/sysinfo-setup.cpp @@ -103,12 +103,12 @@ SysInfoWidgetConfig::SysInfoWidgetConfig(TQWidget *w, const char *n) : ConduitConfigBase::addAboutPage(fConfigWidget->tabWidget,fAbout); fWidget=fConfigWidget; - TQObject::connect(fConfigWidget->fOutputFile,TQT_SIGNAL(textChanged(const TQString&)), - this,TQT_SLOT(modified())); - TQObject::connect(fConfigWidget->fTemplateFile,TQT_SIGNAL(textChanged(const TQString&)), - this,TQT_SLOT(modified())); - TQObject::connect(fConfigWidget->fOutputType,TQT_SIGNAL(clicked(int)), - this,TQT_SLOT(modified())); + TQObject::connect(fConfigWidget->fOutputFile,TQ_SIGNAL(textChanged(const TQString&)), + this,TQ_SLOT(modified())); + TQObject::connect(fConfigWidget->fTemplateFile,TQ_SIGNAL(textChanged(const TQString&)), + this,TQ_SLOT(modified())); + TQObject::connect(fConfigWidget->fOutputType,TQ_SIGNAL(clicked(int)), + this,TQ_SLOT(modified())); fConduitName=i18n("System Information"); } diff --git a/conduits/vcalconduit/hhtopcstate.cpp b/conduits/vcalconduit/hhtopcstate.cpp index 82024f1..7f53586 100644 --- a/conduits/vcalconduit/hhtopcstate.cpp +++ b/conduits/vcalconduit/hhtopcstate.cpp @@ -186,13 +186,13 @@ void VCalConduitBase::slotPalmRecToPC() if ( syncMode()==SyncMode::eCopyHHToPC ) { emit logMessage(i18n("Cleaning up ...")); - TQTimer::singleShot(0, this, TQT_SLOT(cleanup())); + TQTimer::singleShot(0, this, TQ_SLOT(cleanup())); return; } else { emit logMessage(i18n("Copying records to Pilot ...")); - TQTimer::singleShot(0 ,this,TQT_SLOT(slotPCRecToPalm())); + TQTimer::singleShot(0 ,this,TQ_SLOT(slotPCRecToPalm())); return; } } @@ -244,6 +244,6 @@ void VCalConduitBase::slotPalmRecToPC() KPILOT_DELETE(r); KPILOT_DELETE(s); - TQTimer::singleShot(0,this,TQT_SLOT(slotPalmRecToPC())); + TQTimer::singleShot(0,this,TQ_SLOT(slotPalmRecToPC())); } */ diff --git a/conduits/vcalconduit/vcal-conduitbase.cpp b/conduits/vcalconduit/vcal-conduitbase.cpp index 15cfcdc..a720fc5 100644 --- a/conduits/vcalconduit/vcal-conduitbase.cpp +++ b/conduits/vcalconduit/vcal-conduitbase.cpp @@ -176,7 +176,7 @@ VCalConduitBase::~VCalConduitBase() if (!syncMode().isTest() && !openCalendar() ) goto error; // Start processing the sync - TQTimer::singleShot(0, this, TQT_SLOT(slotProcess())); + TQTimer::singleShot(0, this, TQ_SLOT(slotProcess())); return true; error: @@ -200,13 +200,13 @@ void VCalConduitBase::slotProcess() { if( hasNextRecord ) { fState->handleRecord( this ); - TQTimer::singleShot( 0, this, TQT_SLOT( slotProcess() ) ); + TQTimer::singleShot( 0, this, TQ_SLOT( slotProcess() ) ); } // Else finish the current state if there is one else if( fState ) { fState->finishSync( this ); - TQTimer::singleShot( 0, this, TQT_SLOT( slotProcess() ) ); + TQTimer::singleShot( 0, this, TQ_SLOT( slotProcess() ) ); } // No state so sync is finished else diff --git a/conduits/vcalconduit/vcal-setupbase.cpp b/conduits/vcalconduit/vcal-setupbase.cpp index 51a188c..d66883d 100644 --- a/conduits/vcalconduit/vcal-setupbase.cpp +++ b/conduits/vcalconduit/vcal-setupbase.cpp @@ -49,11 +49,11 @@ VCalWidgetSetupBase::VCalWidgetSetupBase(TQWidget *w, const char *n) : fConfigWidget->fCalendarFile->setMode(KFile::File); fConfigWidget->fCalendarFile->setFilter(CSL1("*.vcs *.ics|ICalendars\n*.*|All Files (*.*)")); -#define CM(a,b) connect(fConfigWidget->a,b,this,TQT_SLOT(modified())); - CM(fSyncDestination,TQT_SIGNAL(clicked(int))); - CM(fCalendarFile,TQT_SIGNAL(textChanged(const TQString &))); - CM(fArchive,TQT_SIGNAL(toggled(bool))); - CM(fConflictResolution,TQT_SIGNAL(activated(int))); +#define CM(a,b) connect(fConfigWidget->a,b,this,TQ_SLOT(modified())); + CM(fSyncDestination,TQ_SIGNAL(clicked(int))); + CM(fCalendarFile,TQ_SIGNAL(textChanged(const TQString &))); + CM(fArchive,TQ_SIGNAL(toggled(bool))); + CM(fConflictResolution,TQ_SIGNAL(activated(int))); #undef CM } |