summaryrefslogtreecommitdiffstats
path: root/kresources/birthdays
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 /kresources/birthdays
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 'kresources/birthdays')
-rw-r--r--kresources/birthdays/resourcekabc.cpp10
-rw-r--r--kresources/birthdays/resourcekabcconfig.cpp2
2 files changed, 6 insertions, 6 deletions
diff --git a/kresources/birthdays/resourcekabc.cpp b/kresources/birthdays/resourcekabc.cpp
index 7102c8be4..db0a7b77d 100644
--- a/kresources/birthdays/resourcekabc.cpp
+++ b/kresources/birthdays/resourcekabc.cpp
@@ -67,7 +67,7 @@ extern "C"
}
ResourceKABC::ResourceKABC( const KConfig* config )
- : ResourceCalendar( config ), mCalendar( TQString::fromLatin1( "UTC" ) ),
+ : ResourceCalendar( config ), mCalendar( TQString::tqfromLatin1( "UTC" ) ),
mAlarmDays( 0 ), mAlarm( true ), mUseCategories( false )
{
if ( config ) {
@@ -80,7 +80,7 @@ ResourceKABC::ResourceKABC( const KConfig* config )
}
ResourceKABC::ResourceKABC()
- : ResourceCalendar( 0 ), mCalendar( TQString::fromLatin1( "UTC" ) ),
+ : ResourceCalendar( 0 ), mCalendar( TQString::tqfromLatin1( "UTC" ) ),
mAlarmDays( 0 ), mAlarm( true ), mUseCategories( false )
{
init();
@@ -169,7 +169,7 @@ bool ResourceKABC::doLoad()
email_1 = (*it).fullEmail();
uid_1 = (*it).uid();
if (name_1.isEmpty()) name_1 = (*it).realName();
- summary = i18n("%1's birthday").arg( name_1 );
+ summary = i18n("%1's birthday").tqarg( name_1 );
Event *ev = new Event();
@@ -276,10 +276,10 @@ bool ResourceKABC::doLoad()
name_2 = spouse.realName();
}
summary = i18n("insert names of both spouses",
- "%1's & %2's anniversary").arg( name_1 ).arg( name_2 );
+ "%1's & %2's anniversary").tqarg( name_1 ).tqarg( name_2 );
} else {
summary = i18n("only one spouse in addressbook, insert the name",
- "%1's anniversary").arg( name_1 );
+ "%1's anniversary").tqarg( name_1 );
}
Event *ev = new Event();
diff --git a/kresources/birthdays/resourcekabcconfig.cpp b/kresources/birthdays/resourcekabcconfig.cpp
index f7aa2a140..2f7671dc7 100644
--- a/kresources/birthdays/resourcekabcconfig.cpp
+++ b/kresources/birthdays/resourcekabcconfig.cpp
@@ -22,7 +22,7 @@
#include <typeinfo>
#include <tqheader.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <kabprefs.h>
#include <kdebug.h>