diff options
Diffstat (limited to 'korganizer/kogroupware.cpp')
-rw-r--r-- | korganizer/kogroupware.cpp | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/korganizer/kogroupware.cpp b/korganizer/kogroupware.cpp index c4e3a607c..5bf8d8fb4 100644 --- a/korganizer/kogroupware.cpp +++ b/korganizer/kogroupware.cpp @@ -1,7 +1,7 @@ /* This file is part of the Groupware/KOrganizer integration. - Requires the Qt and KDE widget libraries, available at no cost at + Requires the TQt and KDE widget libraries, available at no cost at http://www.trolltech.com and http://www.kde.org respectively Copyright (c) 2002-2004 Klarälvdalens Datakonsult AB @@ -24,11 +24,11 @@ In addition, as a special exception, the copyright holders give permission to link the code of this program with any edition of - the Qt library by Trolltech AS, Norway (or with modified versions - of Qt that use the same license as Qt), and distribute linked + the TQt library by Trolltech AS, Norway (or with modified versions + of TQt that use the same license as TQt), and distribute linked combinations including the two. You must obey the GNU General Public License in all respects for all of the code used other than - Qt. If you modify this file, you may extend this exception to + TQt. If you modify this file, you may extend this exception to your version of the file, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version. @@ -174,7 +174,7 @@ void KOGroupware::incomingDirChanged( const TQString& path ) KCal::Scheduler::Method method = static_cast<KCal::Scheduler::Method>( message->method() ); - KCal::ScheduleMessage::Status status = message->status(); + KCal::ScheduleMessage::tqStatus status = message->status(); KCal::Incidence* incidence = dynamic_cast<KCal::Incidence*>( 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)->seStatus( KCal::Attendee::Accepted ); + (*it)->setqStatus( KCal::Attendee::Accepted ); else if ( action.startsWith( "tentative" ) ) - (*it)->seStatus( KCal::Attendee::Tentative ); + (*it)->setqStatus( KCal::Attendee::Tentative ); else if ( KOPrefs::instance()->outlookCompatCounterProposals() && action.startsWith( "counter" ) ) - (*it)->seStatus( KCal::Attendee::Tentative ); + (*it)->setqStatus( KCal::Attendee::Tentative ); else if ( action.startsWith( "delegated" ) ) - (*it)->seStatus( KCal::Attendee::Delegated ); + (*it)->setqStatus( KCal::Attendee::Delegated ); break; } } @@ -238,7 +238,7 @@ class KOInvitationFormatterHelper : public InvitationFormatterHelper * Return true means accept the changes * Return false means revert the changes */ -bool KOGroupware::sendICalMessage( TQWidget* parent, +bool KOGroupware::sendICalMessage( TQWidget* tqparent, KCal::Scheduler::Method method, Incidence* incidence, KOGlobals::HowChanged action, @@ -318,7 +318,7 @@ bool KOGroupware::sendICalMessage( TQWidget* parent, } rc = KMessageBox::questionYesNo( - parent, txt, i18n( "Group Scheduling Email" ), + tqparent, txt, i18n( "Group Scheduling Email" ), KGuiItem( i18n( "Send Email" ) ), KGuiItem( i18n( "Do Not Send" ) ) ); } else { return true; @@ -331,14 +331,14 @@ bool KOGroupware::sendICalMessage( TQWidget* parent, // Ask if the user wants to tell the organizer about the current status TQString txt = i18n( "Do you want to send a status update to the " "organizer of this task?"); - rc = KMessageBox::questionYesNo( parent, txt, TQString::null, i18n("Send Update"), i18n("Do Not Send") ); + rc = KMessageBox::questionYesNo( tqparent, txt, TQString(), i18n("Send Update"), i18n("Do Not Send") ); } else if( incidence->type() == "Event" ) { TQString txt; if ( attendeeStatusChanged && method == Scheduler::Request ) { txt = i18n( "Your status as an attendee of this event changed. " "Do you want to send a status update to the event organizer?" ); method = Scheduler::Reply; - rc = KMessageBox::questionYesNo( parent, txt, TQString::null, i18n("Send Update"), i18n("Do Not Send") ); + rc = KMessageBox::questionYesNo( tqparent, txt, TQString(), i18n("Send Update"), i18n("Do Not Send") ); } else { if( action == KOGlobals::INCIDENCEDELETED ) { const TQStringList myEmails = KOPrefs::instance()->allEmails(); @@ -360,14 +360,14 @@ bool KOGroupware::sendICalMessage( TQWidget* parent, "Do you want to send an updated response to the organizer " "declining the invitation?" ); rc = KMessageBox::questionYesNo( - parent, txt, i18n( "Group Scheduling Email" ), + tqparent, txt, i18n( "Group Scheduling Email" ), KGuiItem( i18n( "Send Update" ) ), KGuiItem( i18n( "Do Not Send" ) ) ); setDoNotNotify( rc == KMessageBox::No ); } else { txt = i18n( "You are not the organizer of this event. Editing it will " "bring your calendar out of sync with the organizer's calendar. " "Do you really want to edit it?" ); - rc = KMessageBox::warningYesNo( parent, txt ); + rc = KMessageBox::warningYesNo( tqparent, txt ); return ( rc == KMessageBox::Yes ); } } |