diff options
Diffstat (limited to 'kpilot/conduits/vcalconduit/vcal-conduitbase.cc')
-rw-r--r-- | kpilot/conduits/vcalconduit/vcal-conduitbase.cc | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/kpilot/conduits/vcalconduit/vcal-conduitbase.cc b/kpilot/conduits/vcalconduit/vcal-conduitbase.cc index a9fc6376b..cd288ba59 100644 --- a/kpilot/conduits/vcalconduit/vcal-conduitbase.cc +++ b/kpilot/conduits/vcalconduit/vcal-conduitbase.cc @@ -33,8 +33,8 @@ #include <options.h> -#include <qtimer.h> -#include <qfile.h> +#include <tqtimer.h> +#include <tqfile.h> #include <kmessagebox.h> #include <kio/netaccess.h> @@ -66,7 +66,7 @@ VCalConduitBase::VCalConduitBase(KPilotLink *d, const char *n, - const QStringList &a) : + const TQStringList &a) : ConduitAction(d,n,a), fCalendar(0L), fP(0L) @@ -176,7 +176,7 @@ VCalConduitBase::~VCalConduitBase() if (!syncMode().isTest() && !openCalendar() ) goto error; // Start processing the sync - QTimer::singleShot(0, this, SLOT(slotProcess())); + TQTimer::singleShot(0, this, TQT_SLOT(slotProcess())); return true; error: @@ -200,13 +200,13 @@ void VCalConduitBase::slotProcess() { if( hasNextRecord ) { fState->handleRecord( this ); - QTimer::singleShot( 0, this, SLOT( slotProcess() ) ); + TQTimer::singleShot( 0, this, TQT_SLOT( slotProcess() ) ); } // Else finish the current state if there is one else if( fState ) { fState->finishSync( this ); - QTimer::singleShot( 0, this, SLOT( slotProcess() ) ); + TQTimer::singleShot( 0, this, TQT_SLOT( slotProcess() ) ); } // No state so sync is finished else @@ -245,7 +245,7 @@ static void listResources( KCal::CalendarResources *p ) // this part taken from adcalendarbase.cpp: korgcfg.setGroup( "Time & Date" ); - QString tz(korgcfg.readEntry( "TimeZoneId" ) ); + TQString tz(korgcfg.readEntry( "TimeZoneId" ) ); DEBUGKPILOT << fname << ": KOrganizer's time zone = " << tz << endl; @@ -312,7 +312,7 @@ static void listResources( KCal::CalendarResources *p ) // Try to create empty file. if it fails, // no valid file name was given. - QFile fl(fCalendarFile); + TQFile fl(fCalendarFile); if (!fl.open(IO_WriteOnly | IO_Append)) { DEBUGKPILOT << fname << "Invalid calendar file name " @@ -422,7 +422,7 @@ int VCalConduitBase::resolveConflict( KCal::Incidence *e, PilotRecordBase *de ) if ( getConflictResolution() == SyncAction::eAskUser ) { // TODO: This is messed up!!! - QString query = i18n( "The following item was modified " + TQString query = i18n( "The following item was modified " "both on the Handheld and on your PC:\nPC entry:\n\t" ); query += e->summary(); query += i18n( "\nHandheld entry:\n\t" ); @@ -433,7 +433,7 @@ int VCalConduitBase::resolveConflict( KCal::Incidence *e, PilotRecordBase *de ) return KMessageBox::No == questionYesNo( query, i18n( "Conflicting Entries" ), - QString::null, + TQString::null, 0 /* Never timeout */, i18n( "Handheld" ), i18n( "PC" )); } @@ -579,9 +579,9 @@ void VCalConduitBase::updateIncidenceOnPalm( KCal::Incidence *e, } } -const QString VCalConduitBase::dbname() +const TQString VCalConduitBase::dbname() { - return QString::null; + return TQString::null; } PilotRecord *VCalConduitBase::readRecordByIndex( int index ) |