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 --- konsolekalendar/konsolekalendar.cpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'konsolekalendar/konsolekalendar.cpp') diff --git a/konsolekalendar/konsolekalendar.cpp b/konsolekalendar/konsolekalendar.cpp index ca68b82ca..8cfd060cb 100644 --- a/konsolekalendar/konsolekalendar.cpp +++ b/konsolekalendar/konsolekalendar.cpp @@ -37,7 +37,7 @@ #include #include -#include +#include #include #include @@ -84,7 +84,7 @@ bool KonsoleKalendar::createCalendar() if ( m_variables->isDryRun() ) { cout << i18n( "Create Calendar : %1" ). - tqarg( m_variables->getCalendarFile() ).local8Bit().data() + arg( 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 : %1" ). - tqarg( m_variables->getCalendarFile() ).local8Bit().data() + arg( m_variables->getCalendarFile() ).local8Bit().data() << endl; } @@ -272,11 +272,11 @@ bool KonsoleKalendar::showInstance() } else { if ( firstdate == lastdate ) { title = i18n( "Events: %1" ) - .tqarg( firstdate.toString( Qt::TextDate ) ); + .arg( firstdate.toString( Qt::TextDate ) ); } else { title = i18n( "Events: %1 - %2" ) - .tqarg( firstdate.toString( Qt::TextDate ) ) - .tqarg( lastdate.toString( Qt::TextDate ) ); + .arg( firstdate.toString( Qt::TextDate ) ) + .arg( lastdate.toString( Qt::TextDate ) ); } htmlSettings.setEventView( true ); } @@ -435,15 +435,15 @@ bool KonsoleKalendar::isEvent( TQDateTime startdate, void KonsoleKalendar::printSpecs() { cout << i18n( " What: %1" ). - tqarg( m_variables->getSummary() ).local8Bit().data() + arg( m_variables->getSummary() ).local8Bit().data() << endl; cout << i18n( " Begin: %1" ). - tqarg( m_variables->getStartDateTime().toString( Qt::TextDate ) ).local8Bit().data() + arg( m_variables->getStartDateTime().toString( Qt::TextDate ) ).local8Bit().data() << endl; cout << i18n( " End: %1" ). - tqarg( m_variables->getEndDateTime().toString( Qt::TextDate ) ).local8Bit().data() + arg( 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" ). - tqarg( m_variables->getDescription() ).local8Bit().data() + arg( m_variables->getDescription() ).local8Bit().data() << endl; cout << i18n( " Location: %1" ). - tqarg( m_variables->getLocation() ).local8Bit().data() + arg( m_variables->getLocation() ).local8Bit().data() << endl; } -- cgit v1.2.1