summaryrefslogtreecommitdiffstats
path: root/plugins/kmail/bodypartformatter/text_vcard.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/kmail/bodypartformatter/text_vcard.cpp')
-rw-r--r--plugins/kmail/bodypartformatter/text_vcard.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/plugins/kmail/bodypartformatter/text_vcard.cpp b/plugins/kmail/bodypartformatter/text_vcard.cpp
index 577560e5c..347371d16 100644
--- a/plugins/kmail/bodypartformatter/text_vcard.cpp
+++ b/plugins/kmail/bodypartformatter/text_vcard.cpp
@@ -30,7 +30,7 @@
your version.
*/
-#include <qurl.h>
+#include <tqurl.h>
#include <kapplication.h>
#include <kglobal.h>
@@ -72,7 +72,7 @@ namespace {
if ( !writer ) return AsIcon;
VCardConverter vcc;
- const QString vCard = bodyPart->asText();
+ const TQString vCard = bodyPart->asText();
if ( vCard.isEmpty() ) return AsIcon;
Addressee::List al = vcc.parseVCards( vCard );
if ( al.empty() ) return AsIcon;
@@ -83,17 +83,17 @@ namespace {
"</h2></div>"
);
- QValueListIterator<KABC::Addressee> it = al.begin();
+ TQValueListIterator<KABC::Addressee> it = al.begin();
int count = 0;
for ( ; it != al.end(); ++it ) {
KABC::Addressee a = (*it);
if ( a.isEmpty() ) return AsIcon;
- QString contact = AddresseeView::vCardAsHTML( a, 0L, AddresseeView::NoLinks, false, AddresseeView::DefaultFields );
+ TQString contact = AddresseeView::vCardAsHTML( a, 0L, AddresseeView::NoLinks, false, AddresseeView::DefaultFields );
writer->queue( contact );
- QString addToLinkText = i18n( "[Add this contact to the addressbook]" );
- QString op = QString::fromLatin1( "addToAddressBook:%1" ).arg( count );
+ TQString addToLinkText = i18n( "[Add this contact to the addressbook]" );
+ TQString op = TQString::fromLatin1( "addToAddressBook:%1" ).arg( count );
writer->queue(
"<div align=\"center\"><a href=\"" +
bodyPart->makeLink( op ) +
@@ -111,10 +111,10 @@ namespace {
class UrlHandler : public KMail::Interface::BodyPartURLHandler {
public:
- bool handleClick( BodyPart * bodyPart, const QString & path,
+ bool handleClick( BodyPart * bodyPart, const TQString & path,
KMail::Callback& ) const {
- const QString vCard = bodyPart->asText();
+ const TQString vCard = bodyPart->asText();
if ( vCard.isEmpty() ) return true;
VCardConverter vcc;
Addressee::List al = vcc.parseVCards( vCard );
@@ -126,11 +126,11 @@ namespace {
return true;
}
- bool handleContextMenuRequest( BodyPart *, const QString &, const QPoint & ) const {
+ bool handleContextMenuRequest( BodyPart *, const TQString &, const TQPoint & ) const {
return false;
}
- QString statusBarMessage( BodyPart *, const QString & ) const {
+ TQString statusBarMessage( BodyPart *, const TQString & ) const {
return i18n("Add this contact to the address book.");
}
};