-rw-r--r-- | libopie/pim/opimrecord.h | 4 | ||||
-rw-r--r-- | libopie2/opiepim/core/opimrecord.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/libopie/pim/opimrecord.h b/libopie/pim/opimrecord.h index de2d9f4..6e7c0da 100644 --- a/libopie/pim/opimrecord.h +++ b/libopie/pim/opimrecord.h | |||
@@ -46,66 +46,66 @@ public: | |||
46 | void setCategoryNames( const QStringList& ); | 46 | void setCategoryNames( const QStringList& ); |
47 | 47 | ||
48 | /** | 48 | /** |
49 | * addCategoryName adds a name | 49 | * addCategoryName adds a name |
50 | * to the internal category list | 50 | * to the internal category list |
51 | */ | 51 | */ |
52 | void addCategoryName( const QString& ); | 52 | void addCategoryName( const QString& ); |
53 | 53 | ||
54 | /** | 54 | /** |
55 | * if a Record isEmpty | 55 | * if a Record isEmpty |
56 | * it's empty if it's 0 | 56 | * it's empty if it's 0 |
57 | */ | 57 | */ |
58 | virtual bool isEmpty()const; | 58 | virtual bool isEmpty()const; |
59 | 59 | ||
60 | /** | 60 | /** |
61 | * toRichText summary | 61 | * toRichText summary |
62 | */ | 62 | */ |
63 | virtual QString toRichText()const = 0; | 63 | virtual QString toRichText()const = 0; |
64 | 64 | ||
65 | /** | 65 | /** |
66 | * a small one line summary | 66 | * a small one line summary |
67 | */ | 67 | */ |
68 | virtual QString toShortText()const = 0; | 68 | virtual QString toShortText()const = 0; |
69 | 69 | ||
70 | /** | 70 | /** |
71 | * the name of the Record | 71 | * the name of the Record |
72 | */ | 72 | */ |
73 | virtual QString type()const = 0; | 73 | virtual QString type()const = 0; |
74 | 74 | ||
75 | /** | 75 | /** |
76 | * matches the Records the regular expression? | 76 | * matches the Records the regular expression? |
77 | */ | 77 | */ |
78 | virtual bool match( const QString ®exp ) const {return match(QRegExp(regexp));}; | 78 | virtual bool match( const QString ®exp ) const |
79 | virtual bool match( const QRegExp ®exp ) const = 0; | 79 | {return Qtopia::Record::match(QRegExp(regexp));}; |
80 | 80 | ||
81 | /** | 81 | /** |
82 | * converts the internal structure to a map | 82 | * converts the internal structure to a map |
83 | */ | 83 | */ |
84 | virtual QMap<int, QString> toMap()const = 0; | 84 | virtual QMap<int, QString> toMap()const = 0; |
85 | 85 | ||
86 | /** | 86 | /** |
87 | * key value representation of extra items | 87 | * key value representation of extra items |
88 | */ | 88 | */ |
89 | virtual QMap<QString, QString> toExtraMap()const = 0; | 89 | virtual QMap<QString, QString> toExtraMap()const = 0; |
90 | 90 | ||
91 | /** | 91 | /** |
92 | * the name for a recordField | 92 | * the name for a recordField |
93 | */ | 93 | */ |
94 | virtual QString recordField(int)const = 0; | 94 | virtual QString recordField(int)const = 0; |
95 | 95 | ||
96 | /** | 96 | /** |
97 | * returns a reference of the | 97 | * returns a reference of the |
98 | * Cross Reference Manager | 98 | * Cross Reference Manager |
99 | * Partner 'One' is THIS PIM RECORD! | 99 | * Partner 'One' is THIS PIM RECORD! |
100 | * 'Two' is the Partner where we link to | 100 | * 'Two' is the Partner where we link to |
101 | */ | 101 | */ |
102 | OPimXRefManager& xrefmanager(); | 102 | OPimXRefManager& xrefmanager(); |
103 | 103 | ||
104 | /** | 104 | /** |
105 | * set the uid | 105 | * set the uid |
106 | */ | 106 | */ |
107 | virtual void setUid( int uid ); | 107 | virtual void setUid( int uid ); |
108 | 108 | ||
109 | /* | 109 | /* |
110 | * used inside the Templates for casting | 110 | * used inside the Templates for casting |
111 | * REIMPLEMENT in your .... | 111 | * REIMPLEMENT in your .... |
diff --git a/libopie2/opiepim/core/opimrecord.h b/libopie2/opiepim/core/opimrecord.h index de2d9f4..6e7c0da 100644 --- a/libopie2/opiepim/core/opimrecord.h +++ b/libopie2/opiepim/core/opimrecord.h | |||
@@ -46,66 +46,66 @@ public: | |||
46 | void setCategoryNames( const QStringList& ); | 46 | void setCategoryNames( const QStringList& ); |
47 | 47 | ||
48 | /** | 48 | /** |
49 | * addCategoryName adds a name | 49 | * addCategoryName adds a name |
50 | * to the internal category list | 50 | * to the internal category list |
51 | */ | 51 | */ |
52 | void addCategoryName( const QString& ); | 52 | void addCategoryName( const QString& ); |
53 | 53 | ||
54 | /** | 54 | /** |
55 | * if a Record isEmpty | 55 | * if a Record isEmpty |
56 | * it's empty if it's 0 | 56 | * it's empty if it's 0 |
57 | */ | 57 | */ |
58 | virtual bool isEmpty()const; | 58 | virtual bool isEmpty()const; |
59 | 59 | ||
60 | /** | 60 | /** |
61 | * toRichText summary | 61 | * toRichText summary |
62 | */ | 62 | */ |
63 | virtual QString toRichText()const = 0; | 63 | virtual QString toRichText()const = 0; |
64 | 64 | ||
65 | /** | 65 | /** |
66 | * a small one line summary | 66 | * a small one line summary |
67 | */ | 67 | */ |
68 | virtual QString toShortText()const = 0; | 68 | virtual QString toShortText()const = 0; |
69 | 69 | ||
70 | /** | 70 | /** |
71 | * the name of the Record | 71 | * the name of the Record |
72 | */ | 72 | */ |
73 | virtual QString type()const = 0; | 73 | virtual QString type()const = 0; |
74 | 74 | ||
75 | /** | 75 | /** |
76 | * matches the Records the regular expression? | 76 | * matches the Records the regular expression? |
77 | */ | 77 | */ |
78 | virtual bool match( const QString ®exp ) const {return match(QRegExp(regexp));}; | 78 | virtual bool match( const QString ®exp ) const |
79 | virtual bool match( const QRegExp ®exp ) const = 0; | 79 | {return Qtopia::Record::match(QRegExp(regexp));}; |
80 | 80 | ||
81 | /** | 81 | /** |
82 | * converts the internal structure to a map | 82 | * converts the internal structure to a map |
83 | */ | 83 | */ |
84 | virtual QMap<int, QString> toMap()const = 0; | 84 | virtual QMap<int, QString> toMap()const = 0; |
85 | 85 | ||
86 | /** | 86 | /** |
87 | * key value representation of extra items | 87 | * key value representation of extra items |
88 | */ | 88 | */ |
89 | virtual QMap<QString, QString> toExtraMap()const = 0; | 89 | virtual QMap<QString, QString> toExtraMap()const = 0; |
90 | 90 | ||
91 | /** | 91 | /** |
92 | * the name for a recordField | 92 | * the name for a recordField |
93 | */ | 93 | */ |
94 | virtual QString recordField(int)const = 0; | 94 | virtual QString recordField(int)const = 0; |
95 | 95 | ||
96 | /** | 96 | /** |
97 | * returns a reference of the | 97 | * returns a reference of the |
98 | * Cross Reference Manager | 98 | * Cross Reference Manager |
99 | * Partner 'One' is THIS PIM RECORD! | 99 | * Partner 'One' is THIS PIM RECORD! |
100 | * 'Two' is the Partner where we link to | 100 | * 'Two' is the Partner where we link to |
101 | */ | 101 | */ |
102 | OPimXRefManager& xrefmanager(); | 102 | OPimXRefManager& xrefmanager(); |
103 | 103 | ||
104 | /** | 104 | /** |
105 | * set the uid | 105 | * set the uid |
106 | */ | 106 | */ |
107 | virtual void setUid( int uid ); | 107 | virtual void setUid( int uid ); |
108 | 108 | ||
109 | /* | 109 | /* |
110 | * used inside the Templates for casting | 110 | * used inside the Templates for casting |
111 | * REIMPLEMENT in your .... | 111 | * REIMPLEMENT in your .... |