summaryrefslogtreecommitdiff
path: root/libopie2/opiepim/core/opimrecord.h
Unidiff
Diffstat (limited to 'libopie2/opiepim/core/opimrecord.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiepim/core/opimrecord.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libopie2/opiepim/core/opimrecord.h b/libopie2/opiepim/core/opimrecord.h
index 563b19c..3d774e2 100644
--- a/libopie2/opiepim/core/opimrecord.h
+++ b/libopie2/opiepim/core/opimrecord.h
@@ -74,48 +74,49 @@ public:
74 74
75 /** 75 /**
76 * the name of the Record 76 * the name of the Record
77 */ 77 */
78 virtual QString type()const = 0; 78 virtual QString type()const = 0;
79 79
80 /** 80 /**
81 * matches the Records the regular expression? 81 * matches the Records the regular expression?
82 */ 82 */
83 virtual bool match( const QString &regexp ) const 83 virtual bool match( const QString &regexp ) const
84 {setLastHitField( -1 ); 84 {setLastHitField( -1 );
85 return Qtopia::Record::match(QRegExp(regexp));}; 85 return Qtopia::Record::match(QRegExp(regexp));};
86 86
87 /** 87 /**
88 * if implemented this function returns which item has been 88 * if implemented this function returns which item has been
89 * last hit by the match() function. 89 * last hit by the match() function.
90 * or -1 if not implemented or no hit has occured 90 * or -1 if not implemented or no hit has occured
91 */ 91 */
92 int lastHitField()const; 92 int lastHitField()const;
93 93
94 /** 94 /**
95 * converts the internal structure to a map 95 * converts the internal structure to a map
96 */ 96 */
97 virtual QMap<int, QString> toMap()const = 0; 97 virtual QMap<int, QString> toMap()const = 0;
98 // virtual fromMap( const <int, QString>& map ) = 0; // Should be added in the future (eilers)
98 99
99 /** 100 /**
100 * key value representation of extra items 101 * key value representation of extra items
101 */ 102 */
102 QMap<QString, QString> toExtraMap()const; 103 QMap<QString, QString> toExtraMap()const;
103 void setExtraMap( const QMap<QString, QString>& ); 104 void setExtraMap( const QMap<QString, QString>& );
104 105
105 /** 106 /**
106 * the name for a recordField 107 * the name for a recordField
107 */ 108 */
108 virtual QString recordField(int)const = 0; 109 virtual QString recordField(int)const = 0;
109 110
110 /** 111 /**
111 * returns a reference of the 112 * returns a reference of the
112 * Cross Reference Manager 113 * Cross Reference Manager
113 * Partner 'One' is THIS PIM RECORD! 114 * Partner 'One' is THIS PIM RECORD!
114 * 'Two' is the Partner where we link to 115 * 'Two' is the Partner where we link to
115 */ 116 */
116 OPimXRefManager& xrefmanager(); 117 OPimXRefManager& xrefmanager();
117 118
118 /** 119 /**
119 * set the uid 120 * set the uid
120 */ 121 */
121 virtual void setUid( int uid ); 122 virtual void setUid( int uid );