summaryrefslogtreecommitdiffstats
path: root/kabc/vcardparser/vcardline.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/vcardparser/vcardline.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/vcardparser/vcardline.h')
-rw-r--r--kabc/vcardparser/vcardline.h42
1 files changed, 21 insertions, 21 deletions
diff --git a/kabc/vcardparser/vcardline.h b/kabc/vcardparser/vcardline.h
index d6ad9dd77..92fe743f6 100644
--- a/kabc/vcardparser/vcardline.h
+++ b/kabc/vcardparser/vcardline.h
@@ -21,23 +21,23 @@
#ifndef VCARDLINE_H
#define VCARDLINE_H
-#include <qstringlist.h>
-#include <qvaluelist.h>
-#include <qvariant.h>
-#include <qmap.h>
-#include <qstring.h>
+#include <tqstringlist.h>
+#include <tqvaluelist.h>
+#include <tqvariant.h>
+#include <tqmap.h>
+#include <tqstring.h>
namespace KABC {
class VCardLine
{
public:
- typedef QValueList<VCardLine> List;
- typedef QMap<QString, QStringList> ParamMap;
+ typedef TQValueList<VCardLine> List;
+ typedef TQMap<TQString, TQStringList> ParamMap;
VCardLine();
- VCardLine( const QString &identifier );
- VCardLine( const QString &identifier, const QVariant &value );
+ VCardLine( const TQString &identifier );
+ VCardLine( const TQString &identifier, const TQVariant &value );
VCardLine( const VCardLine& );
~VCardLine();
@@ -47,32 +47,32 @@ class VCardLine
/**
* Sets the identifier of this line e.g. UID, FN, CLASS
*/
- void setIdentifier( const QString& identifier );
+ void setIdentifier( const TQString& identifier );
/**
* Returns the identifier of this line.
*/
- QString identifier() const;
+ TQString identifier() const;
/**
* Sets the value of of this line.
*/
- void setValue( const QVariant& value );
+ void setValue( const TQVariant& value );
/**
* Returns the value of this line.
*/
- QVariant value() const;
+ TQVariant value() const;
/**
* Sets the group the line belongs to.
*/
- void setGroup( const QString& group );
+ void setGroup( const TQString& group );
/**
* Returns the group the line belongs to.
*/
- QString group() const;
+ TQString group() const;
/**
* Returns whether the line belongs to a group.
@@ -82,29 +82,29 @@ class VCardLine
/**
* Returns all parameters.
*/
- QStringList parameterList() const;
+ TQStringList parameterList() const;
/**
* Add a new parameter to the line.
*/
- void addParameter( const QString& param, const QString& value );
+ void addParameter( const TQString& param, const TQString& value );
/**
* Returns the values of a special parameter.
* You can get a list of all parameters with paramList().
*/
- QStringList parameters( const QString& param ) const;
+ TQStringList parameters( const TQString& param ) const;
/**
* Returns only the first value of a special parameter.
* You can get a list of all parameters with paramList().
*/
- QString parameter( const QString& param ) const;
+ TQString parameter( const TQString& param ) const;
private:
ParamMap mParamMap;
- QString mIdentifier;
- QVariant mValue;
+ TQString mIdentifier;
+ TQVariant mValue;
class VCardLinePrivate;
VCardLinePrivate *d;