summaryrefslogtreecommitdiffstats
path: root/conduits/abbrowserconduit
diff options
context:
space:
mode:
Diffstat (limited to 'conduits/abbrowserconduit')
-rw-r--r--conduits/abbrowserconduit/abbrowser-conduit.cpp32
-rw-r--r--conduits/abbrowserconduit/abbrowser-setup.cpp28
-rw-r--r--conduits/abbrowserconduit/resolutionDialog.cpp10
3 files changed, 35 insertions, 35 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)