diff options
Diffstat (limited to 'konsolekalendar/konsolekalendar.cpp')
-rw-r--r-- | konsolekalendar/konsolekalendar.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/konsolekalendar/konsolekalendar.cpp b/konsolekalendar/konsolekalendar.cpp index 8cfd060cb..ca68b82ca 100644 --- a/konsolekalendar/konsolekalendar.cpp +++ b/konsolekalendar/konsolekalendar.cpp @@ -37,7 +37,7 @@ #include <tqdatetime.h> #include <tqfile.h> -#include <textstream.h> +#include <tqtextstream.h> #include <kdebug.h> #include <klocale.h> @@ -84,7 +84,7 @@ bool KonsoleKalendar::createCalendar() if ( m_variables->isDryRun() ) { cout << i18n( "Create Calendar <Dry Run>: %1" ). - arg( m_variables->getCalendarFile() ).local8Bit().data() + tqarg( m_variables->getCalendarFile() ).local8Bit().data() << endl; } else { kdDebug() << "konsolekalendar.cpp::createCalendar() | " @@ -94,7 +94,7 @@ bool KonsoleKalendar::createCalendar() if ( m_variables->isVerbose() ) { cout << i18n( "Create Calendar <Verbose>: %1" ). - arg( m_variables->getCalendarFile() ).local8Bit().data() + tqarg( m_variables->getCalendarFile() ).local8Bit().data() << endl; } @@ -272,11 +272,11 @@ bool KonsoleKalendar::showInstance() } else { if ( firstdate == lastdate ) { title = i18n( "Events: %1" ) - .arg( firstdate.toString( Qt::TextDate ) ); + .tqarg( firstdate.toString( Qt::TextDate ) ); } else { title = i18n( "Events: %1 - %2" ) - .arg( firstdate.toString( Qt::TextDate ) ) - .arg( lastdate.toString( Qt::TextDate ) ); + .tqarg( firstdate.toString( Qt::TextDate ) ) + .tqarg( lastdate.toString( Qt::TextDate ) ); } htmlSettings.setEventView( true ); } @@ -435,15 +435,15 @@ bool KonsoleKalendar::isEvent( TQDateTime startdate, void KonsoleKalendar::printSpecs() { cout << i18n( " What: %1" ). - arg( m_variables->getSummary() ).local8Bit().data() + tqarg( m_variables->getSummary() ).local8Bit().data() << endl; cout << i18n( " Begin: %1" ). - arg( m_variables->getStartDateTime().toString( Qt::TextDate ) ).local8Bit().data() + tqarg( m_variables->getStartDateTime().toString( Qt::TextDate ) ).local8Bit().data() << endl; cout << i18n( " End: %1" ). - arg( m_variables->getEndDateTime().toString( Qt::TextDate ) ).local8Bit().data() + tqarg( m_variables->getEndDateTime().toString( Qt::TextDate ) ).local8Bit().data() << endl; if ( m_variables->getFloating() == true ) { @@ -452,10 +452,10 @@ void KonsoleKalendar::printSpecs() } cout << i18n( " Desc: %1" ). - arg( m_variables->getDescription() ).local8Bit().data() + tqarg( m_variables->getDescription() ).local8Bit().data() << endl; cout << i18n( " Location: %1" ). - arg( m_variables->getLocation() ).local8Bit().data() + tqarg( m_variables->getLocation() ).local8Bit().data() << endl; } |