From 3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 15 Dec 2011 15:50:21 -0600 Subject: Rename a number of old tq methods that are no longer tq specific --- korganizer/kogroupware.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'korganizer/kogroupware.cpp') diff --git a/korganizer/kogroupware.cpp b/korganizer/kogroupware.cpp index 5104383c1..10c6a1c1e 100644 --- a/korganizer/kogroupware.cpp +++ b/korganizer/kogroupware.cpp @@ -163,7 +163,7 @@ void KOGroupware::incomingDirChanged( const TQString& path ) if ( !message ) { TQString errorMessage; if (mFormat.exception()) - errorMessage = i18n( "Error message: %1" ).tqarg( mFormat.exception()->message() ); + errorMessage = i18n( "Error message: %1" ).arg( mFormat.exception()->message() ); kdDebug(5850) << "MailScheduler::retrieveTransactions() Error parsing " << errorMessage << endl; KMessageBox::detailedError( mView, @@ -174,7 +174,7 @@ void KOGroupware::incomingDirChanged( const TQString& path ) KCal::Scheduler::Method method = static_cast( message->method() ); - KCal::ScheduleMessage::tqStatus status = message->status(); + KCal::ScheduleMessage::Status status = message->status(); KCal::Incidence* incidence = dynamic_cast( message->event() ); if(!incidence) { @@ -191,13 +191,13 @@ void KOGroupware::incomingDirChanged( const TQString& path ) for ( it = attendees.begin(); it != attendees.end(); ++it ) { if( (*it)->email() == receiver ) { if ( action.startsWith( "accepted" ) ) - (*it)->setqStatus( KCal::Attendee::Accepted ); + (*it)->seStatus( KCal::Attendee::Accepted ); else if ( action.startsWith( "tentative" ) ) - (*it)->setqStatus( KCal::Attendee::Tentative ); + (*it)->seStatus( KCal::Attendee::Tentative ); else if ( KOPrefs::instance()->outlookCompatCounterProposals() && action.startsWith( "counter" ) ) - (*it)->setqStatus( KCal::Attendee::Tentative ); + (*it)->seStatus( KCal::Attendee::Tentative ); else if ( action.startsWith( "delegated" ) ) - (*it)->setqStatus( KCal::Attendee::Delegated ); + (*it)->seStatus( KCal::Attendee::Delegated ); break; } } @@ -401,7 +401,7 @@ void KOGroupware::sendCounterProposal(KCal::Calendar *calendar, KCal::Event * ol return; if ( KOPrefs::instance()->outlookCompatCounterProposals() ) { Incidence* tmp = oldEvent->clone(); - tmp->setSummary( i18n("Counter proposal: %1").tqarg( newEvent->summary() ) ); + tmp->setSummary( i18n("Counter proposal: %1").arg( newEvent->summary() ) ); tmp->setDescription( newEvent->description() ); tmp->addComment( i18n("Proposed new meeting time: %1 - %2"). arg( IncidenceFormatter::dateToString( newEvent->dtStart() ), -- cgit v1.2.1