summaryrefslogtreecommitdiffstats
path: root/konsolekalendar/konsolekalendar.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:50:21 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:50:21 -0600
commit3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12 (patch)
tree89de88213bd261e4ccaade899ab2d6ec34b3a5a7 /konsolekalendar/konsolekalendar.cpp
parent1dad5f662a09dfc5cc041caffe0f674044a4dcec (diff)
downloadtdepim-3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12.tar.gz
tdepim-3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'konsolekalendar/konsolekalendar.cpp')
-rw-r--r--konsolekalendar/konsolekalendar.cpp22
1 files changed, 11 insertions, 11 deletions
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 <tqdatetime.h>
#include <tqfile.h>
-#include <tqtextstream.h>
+#include <textstream.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" ).
- 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 <Verbose>: %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;
}