summaryrefslogtreecommitdiffstats
path: root/korganizer/eventarchiver.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:50 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:50 -0600
commit9cc13dcbb01a96c9e60a07ca63c61d24b374f50d (patch)
treeab537a329b9613e11dce8195761f93ffe82aed24 /korganizer/eventarchiver.cpp
parent3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12 (diff)
downloadtdepim-9cc13dcbb01a96c9e60a07ca63c61d24b374f50d.tar.gz
tdepim-9cc13dcbb01a96c9e60a07ca63c61d24b374f50d.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12.
Diffstat (limited to 'korganizer/eventarchiver.cpp')
-rw-r--r--korganizer/eventarchiver.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/korganizer/eventarchiver.cpp b/korganizer/eventarchiver.cpp
index be6854413..ac0cef045 100644
--- a/korganizer/eventarchiver.cpp
+++ b/korganizer/eventarchiver.cpp
@@ -52,7 +52,7 @@ void EventArchiver::runOnce( Calendar* calendar, const TQDate& limitDate, TQWidg
void EventArchiver::runAuto( Calendar* calendar, TQWidget* widget, bool withGUI )
{
- TQDate limitDate( TQDate::currentDate() );
+ TQDate limitDate( TQDate::tqcurrentDate() );
int expiryTime = KOPrefs::instance()->mExpiryTime;
switch (KOPrefs::instance()->mExpiryUnit) {
case KOPrefs::UnitDays: // Days
@@ -99,7 +99,7 @@ void EventArchiver::run( Calendar* calendar, const TQDate& limitDate, TQWidget*
KMessageBox::information(
widget,
i18n( "Unable to archive to-do \"%1\" because at least one of its "
- "sub-to-dos does not meet the archival requirements." ).arg( (*it)->summary() ),
+ "sub-to-dos does not meet the archival requirements." ).tqarg( (*it)->summary() ),
i18n( "Archive To-do" ),
"UncompletedChildrenArchiveTodos" );
} else if ( todoComplete ) {
@@ -118,7 +118,7 @@ void EventArchiver::run( Calendar* calendar, const TQDate& limitDate, TQWidget*
KMessageBox::information(
widget,
i18n( "There are no incidences available to archive before the specified cut-off date %1. "
- "Archiving will not be performed." ).arg( KGlobal::locale()->formatDate( limitDate ) ),
+ "Archiving will not be performed." ).tqarg( KGlobal::locale()->formatDate( limitDate ) ),
"ArchiverNoIncidences" );
}
return;
@@ -147,7 +147,7 @@ void EventArchiver::deleteIncidences( Calendar* calendar, const TQDate& limitDat
int result = KMessageBox::warningContinueCancelList(
widget, i18n("Delete all items before %1 without saving?\n"
"The following items will be deleted:")
- .arg(KGlobal::locale()->formatDate(limitDate)), incidenceStrs,
+ .tqarg(KGlobal::locale()->formatDate(limitDate)), incidenceStrs,
i18n("Delete Old Items"),KStdGuiItem::del());
if (result != KMessageBox::Continue)
return;
@@ -216,7 +216,7 @@ void EventArchiver::archiveIncidences( Calendar* calendar, const TQDate& /*limit
// Save archive calendar
if ( !archiveStore.save() ) {
- KMessageBox::error(widget,i18n("Cannot write archive file %1.").arg( archiveStore.fileName() ));
+ KMessageBox::error(widget,i18n("Cannot write archive file %1.").tqarg( archiveStore.fileName() ));
return;
}