diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:59:50 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:59:50 -0600 |
commit | 9cc13dcbb01a96c9e60a07ca63c61d24b374f50d (patch) | |
tree | ab537a329b9613e11dce8195761f93ffe82aed24 /kaddressbook/printing/kabentrypainter.cpp | |
parent | 3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12 (diff) | |
download | tdepim-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 'kaddressbook/printing/kabentrypainter.cpp')
-rw-r--r-- | kaddressbook/printing/kabentrypainter.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kaddressbook/printing/kabentrypainter.cpp b/kaddressbook/printing/kabentrypainter.cpp index d7be5bd53..91bf9f342 100644 --- a/kaddressbook/printing/kabentrypainter.cpp +++ b/kaddressbook/printing/kabentrypainter.cpp @@ -172,7 +172,7 @@ bool KABEntryPainter::printAddressee( const KABC::Addressee &addr, KABC::Address address; // this is used to prepare some fields for printing and decide about - // the layout later: + // the tqlayout later: TQValueList<TQStringList> parts; TQValueList<TQRectList*> contents; @@ -399,27 +399,27 @@ bool KABEntryPainter::printAddressee( const KABC::Addressee &addr, line1 = i18n( "Preferred Address" ); } - line1 += TQString::fromLatin1( ":" ); + line1 += TQString::tqfromLatin1( ":" ); text = TQString(); if ( !address.extended().isEmpty() ) text = address.extended().stripWhiteSpace(); if ( !text.isEmpty() ) { - line1 = line1 + TQString::fromLatin1( " (" ) + text + - TQString::fromLatin1( ")" ); + line1 = line1 + TQString::tqfromLatin1( " (" ) + text + + TQString::tqfromLatin1( ")" ); } line1 = line1.stripWhiteSpace(); line2 = address.street(); if ( !address.postOfficeBox().isEmpty() ) - line2 += TQString::fromLatin1( " - " ) + address.postOfficeBox(); + line2 += TQString::tqfromLatin1( " - " ) + address.postOfficeBox(); // print address in american style, this will need localisation: line3 = address.locality() + ( address.region().isEmpty() ? - TQString::fromLatin1( "" ) : TQString::fromLatin1( ", " ) + + TQString::tqfromLatin1( "" ) : TQString::tqfromLatin1( ", " ) + address.region() ) + ( address.postalCode().isEmpty() - ? TQString::fromLatin1( "" ) : TQString::fromLatin1( " " ) + ? TQString::tqfromLatin1( "" ) : TQString::tqfromLatin1( " " ) + address.postalCode() ); line4 = address.country(); |