summaryrefslogtreecommitdiffabout
path: root/kabc/vcardparser/vcardline.h
Unidiff
Diffstat (limited to 'kabc/vcardparser/vcardline.h') (more/less context) (ignore whitespace changes)
-rw-r--r--kabc/vcardparser/vcardline.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/kabc/vcardparser/vcardline.h b/kabc/vcardparser/vcardline.h
index 6e74b38..8dc9322 100644
--- a/kabc/vcardparser/vcardline.h
+++ b/kabc/vcardparser/vcardline.h
@@ -37,55 +37,56 @@ class VCardLine
37 typedef QMap<QString, QStringList> ParamMap; 37 typedef QMap<QString, QStringList> ParamMap;
38 38
39 VCardLine(); 39 VCardLine();
40 VCardLine( const QString &identifier ); 40 VCardLine( const QString &identifier );
41 VCardLine( const QString &identifier, const QString &value ); 41 VCardLine( const QString &identifier, const QString &value );
42 VCardLine( const VCardLine& ); 42 VCardLine( const VCardLine& );
43 43
44 ~VCardLine(); 44 ~VCardLine();
45 45
46 VCardLine& operator=( const VCardLine& ); 46 VCardLine& operator=( const VCardLine& );
47 47
48 /** 48 /**
49 * Sets the identifier of this line e.g. UID, FN, CLASS 49 * Sets the identifier of this line e.g. UID, FN, CLASS
50 */ 50 */
51 void setIdentifier( const QString& identifier ); 51 void setIdentifier( const QString& identifier );
52 52
53 /** 53 /**
54 * Returns the identifier of this line. 54 * Returns the identifier of this line.
55 */ 55 */
56 QString identifier() const; 56 QString identifier() const;
57 57
58 /** 58 /**
59 * Sets the value of of this line. 59 * Sets the value of of this line.
60 */ 60 */
61 void setValue( const QString& value ); 61 void setValueString( const QString& value );
62 void setValue( const QByteArray& value ); 62 void setValueCString( const QCString& value );
63 void setValueBytes( const QByteArray& value );
63 64
64 /** 65 /**
65 * Returns the value of this line. 66 * Returns the value of this line.
66 */ 67 */
67 QVariant value() const; 68 QString valueString() const;
68 QByteArray valueBytes() const; 69 QByteArray valueBytes() const;
69 70
70 /** 71 /**
71 * Sets the group the line belongs to. 72 * Sets the group the line belongs to.
72 */ 73 */
73 void setGroup( const QString& group ); 74 void setGroup( const QString& group );
74 75
75 /** 76 /**
76 * Returns the group the line belongs to. 77 * Returns the group the line belongs to.
77 */ 78 */
78 QString group() const; 79 QString group() const;
79 80
80 /** 81 /**
81 * Returns whether the line belongs to a group. 82 * Returns whether the line belongs to a group.
82 */ 83 */
83 bool hasGroup() const; 84 bool hasGroup() const;
84 85
85 /** 86 /**
86 * Returns all parameters. 87 * Returns all parameters.
87 */ 88 */
88 QStringList parameterList() const; 89 QStringList parameterList() const;
89 90
90 /** 91 /**
91 * Add a new parameter to the line. 92 * Add a new parameter to the line.