diff options
Diffstat (limited to 'konsolekalendar/konsolekalendardelete.cpp')
-rw-r--r-- | konsolekalendar/konsolekalendardelete.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/konsolekalendar/konsolekalendardelete.cpp b/konsolekalendar/konsolekalendardelete.cpp index b3f27650e..160e87e1a 100644 --- a/konsolekalendar/konsolekalendardelete.cpp +++ b/konsolekalendar/konsolekalendardelete.cpp @@ -62,7 +62,7 @@ bool KonsoleKalendarDelete::deleteEvent() Event *event = m_variables->getCalendar()->event( m_variables->getUID() ); if ( event ) { if ( m_variables->isDryRun() ) { - cout << i18n( "Delete Event <Dry Run>:" ).local8Bit() + cout << i18n( "Delete Event <Dry Run>:" ).local8Bit().data() << endl; printSpecs( event ); } else { @@ -71,14 +71,14 @@ bool KonsoleKalendarDelete::deleteEvent() << endl; if ( m_variables->isVerbose() ) { - cout << i18n( "Delete Event <Verbose>:" ).local8Bit() + cout << i18n( "Delete Event <Verbose>:" ).local8Bit().data() << endl; printSpecs( event ); } m_variables->getCalendar()->deleteEvent( event ); cout << i18n( "Success: \"%1\" deleted" ) - .arg( event->summary() ).local8Bit() + .tqarg( event->summary() ).local8Bit().data() << endl; m_variables->getCalendar()->save(); @@ -93,26 +93,26 @@ bool KonsoleKalendarDelete::deleteEvent() void KonsoleKalendarDelete::printSpecs( Event *event ) { cout << i18n( " UID: %1" ). - arg( m_variables->getUID() ).local8Bit() + tqarg( m_variables->getUID() ).local8Bit().data() << endl; cout << i18n( " What: %1" ). - arg( event->summary() ).local8Bit() + tqarg( event->summary() ).local8Bit().data() << endl; cout << i18n( " Begin: %1" ). - arg( event->dtStart().toString( TQt::TextDate ) ).local8Bit() + tqarg( event->dtStart().toString( Qt::TextDate ) ).local8Bit().data() << endl; cout << i18n( " End: %1" ). - arg( event->dtEnd().toString( TQt::TextDate ) ).local8Bit() + tqarg( event->dtEnd().toString( Qt::TextDate ) ).local8Bit().data() << endl; cout << i18n( " Desc: %1" ). - arg( event->description() ).local8Bit() + tqarg( event->description() ).local8Bit().data() << endl; cout << i18n( " Location: %1" ). - arg( event->location() ).local8Bit() + tqarg( event->location() ).local8Bit().data() << endl; } |