summaryrefslogtreecommitdiffstats
path: root/kabc/vcard21parser.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
commitffe8a83e053396df448e9413828527613ca3bd46 (patch)
treea73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kabc/vcard21parser.h
parent682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff)
downloadtdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz
tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kabc/vcard21parser.h')
-rw-r--r--kabc/vcard21parser.h36
1 files changed, 18 insertions, 18 deletions
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 <qdatetime.h>
+#include <tqdatetime.h>
#include <kdebug.h>
-#include <qregexp.h>
-#include <qstring.h>
+#include <tqregexp.h>
+#include <tqstring.h>
#include <kurl.h>
-#include <qvaluelist.h>
+#include <tqvaluelist.h>
#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<QString> qualifiers;
- QValueList<QString> parameters;
+ TQValueList<TQString> qualifiers;
+ TQValueList<TQString> 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<VCardLineX> *_vcdata;
+ TQValueList<VCardLineX> *_vcdata;
private:
- VCard21ParserImpl (QValueList<VCardLineX> *_vcd);
+ VCard21ParserImpl (TQValueList<VCardLineX> *_vcd);
};
#endif