From ffe8a83e053396df448e9413828527613ca3bd46 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:46:43 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kabc/vcard21parser.h | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) (limited to 'kabc/vcard21parser.h') diff --git a/kabc/vcard21parser.h b/kabc/vcard21parser.h index 0c9e3db8a..0eb66fa93 100644 --- a/kabc/vcard21parser.h +++ b/kabc/vcard21parser.h @@ -22,12 +22,12 @@ #ifndef KABC_VCARD21FORMAT_H #define KABC_VCARD21FORMAT_H -#include +#include #include -#include -#include +#include +#include #include -#include +#include #include "addressee.h" #include "addressbook.h" @@ -160,17 +160,17 @@ public: * @param ab The address book. * @param str The vcard string. */ - void readFromString( KABC::AddressBook *ab, const QString &str ); + void readFromString( KABC::AddressBook *ab, const TQString &str ); /** * FIXME: we need a writeToString method - * QString writeToString (KABC::AddressBook *); + * TQString writeToString (KABC::AddressBook *); */ /** * Parses a string in vcard2.1 format and returns the inherent addressee. */ - KABC::Addressee readFromString( const QString &data); + KABC::Addressee readFromString( const TQString &data); /** * Helper method to store a address. @@ -178,7 +178,7 @@ public: * @param data A string list, that is filled with 'street', 'house number' ... * @param type The type of the returned address. */ - static KABC::Address readAddressFromQStringList (const QStringList &data, const int type); + static KABC::Address readAddressFromQStringList (const TQStringList &data, const int type); }; } @@ -189,10 +189,10 @@ public: class KABC_EXPORT VCardLineX { public: - QString name; + TQString name; bool qualified; - QValueList qualifiers; - QValueList parameters; + TQValueList qualifiers; + TQValueList parameters; bool isValid() const; }; @@ -206,16 +206,16 @@ class KABC_EXPORT VCard21ParserImpl public: VCard21ParserImpl(); virtual ~VCard21ParserImpl(); - static VCard21ParserImpl *parseVCard(const QString& vc, int *err = NULL); - QString getValue(const QString& name, const QString& qualifier); - QString getValue(const QString& name); - QStringList getValues(const QString& name, const QString& qualifier); - QStringList getValues(const QString& name); + static VCard21ParserImpl *parseVCard(const TQString& vc, int *err = NULL); + TQString getValue(const TQString& name, const TQString& qualifier); + TQString getValue(const TQString& name); + TQStringList getValues(const TQString& name, const TQString& qualifier); + TQStringList getValues(const TQString& name); - QValueList *_vcdata; + TQValueList *_vcdata; private: - VCard21ParserImpl (QValueList *_vcd); + VCard21ParserImpl (TQValueList *_vcd); }; #endif -- cgit v1.2.1