From 1c93fca14d9ce37499bcfdf994c660186a0b6f17 Mon Sep 17 00:00:00 2001 From: tpearson Date: Thu, 14 Apr 2011 20:16:30 +0000 Subject: Enable kdepim compilation under Qt4 This will likely break Qt3 compilation temporarily, which is an unintended side effect. A third and final kdepim commit will repair Qt3 compilation shortly. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227946 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- konsolekalendar/konsolekalendaradd.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'konsolekalendar/konsolekalendaradd.cpp') diff --git a/konsolekalendar/konsolekalendaradd.cpp b/konsolekalendar/konsolekalendaradd.cpp index bd1980733..6b18ba20f 100644 --- a/konsolekalendar/konsolekalendaradd.cpp +++ b/konsolekalendar/konsolekalendaradd.cpp @@ -70,12 +70,12 @@ bool KonsoleKalendarAdd::addEvent() kdDebug() << "konsolekalendaradd.cpp::addEvent()" << endl; if ( m_variables->isDryRun() ) { - cout << i18n( "Insert Event :" ).local8Bit() + cout << i18n( "Insert Event :" ).local8Bit().data() << endl; printSpecs(); } else { if ( m_variables->isVerbose() ) { - cout << i18n( "Insert Event :" ).local8Bit() + cout << i18n( "Insert Event :" ).local8Bit().data() << endl; printSpecs(); } @@ -91,14 +91,14 @@ bool KonsoleKalendarAdd::addEvent() if ( m_variables->getCalendar()->addEvent( event ) ) { cout << i18n( "Success: \"%1\" inserted" ). - arg( m_variables->getSummary() ).local8Bit() + tqarg( m_variables->getSummary() ).local8Bit().data() << endl; m_variables->getCalendar()->save(); } else { cout << i18n( "Failure: \"%1\" not inserted" ). - arg( m_variables->getSummary() ).local8Bit() + tqarg( m_variables->getSummary() ).local8Bit().data() << endl; status = false; } @@ -142,27 +142,27 @@ bool KonsoleKalendarAdd::addImportedCalendar() void KonsoleKalendarAdd::printSpecs() { cout << i18n( " What: %1" ). - arg( m_variables->getSummary() ).local8Bit() + tqarg( m_variables->getSummary() ).local8Bit().data() << endl; cout << i18n( " Begin: %1" ). - arg( m_variables->getStartDateTime().toString( TQt::TextDate ) ).local8Bit() + tqarg( m_variables->getStartDateTime().toString( Qt::TextDate ) ).local8Bit().data() << endl; cout << i18n( " End: %1" ). - arg( m_variables->getEndDateTime().toString( TQt::TextDate ) ).local8Bit() + tqarg( m_variables->getEndDateTime().toString( Qt::TextDate ) ).local8Bit().data() << endl; if ( m_variables->getFloating() == true ) { - cout << i18n( " No Time Associated with Event" ).local8Bit() + cout << i18n( " No Time Associated with Event" ).local8Bit().data() << endl; } cout << i18n( " Desc: %1" ). - arg( m_variables->getDescription() ).local8Bit() + tqarg( m_variables->getDescription() ).local8Bit().data() << endl; cout << i18n( " Location: %1" ). - arg( m_variables->getLocation() ).local8Bit() + tqarg( m_variables->getLocation() ).local8Bit().data() << endl; } -- cgit v1.2.1