-rw-r--r-- | libopie2/opiepim/core/opimrecord.cpp | 6 | ||||
-rw-r--r-- | libopie2/opiepim/core/opimrecord.h | 8 |
2 files changed, 13 insertions, 1 deletions
diff --git a/libopie2/opiepim/core/opimrecord.cpp b/libopie2/opiepim/core/opimrecord.cpp index 0c9734d..2365748 100644 --- a/libopie2/opiepim/core/opimrecord.cpp +++ b/libopie2/opiepim/core/opimrecord.cpp | |||
@@ -175,2 +175,8 @@ int OPimRecord::lastHitField()const{ | |||
175 | return m_lastHit; | 175 | return m_lastHit; |
176 | } | 176 | } |
177 | QMap<QString, QString> OPimRecord::toExtraMap()const { | ||
178 | return customMap; | ||
179 | } | ||
180 | void OPimRecord::setExtraMap( const QMap<QString, QString>& map) { | ||
181 | customMap = map; | ||
182 | } | ||
diff --git a/libopie2/opiepim/core/opimrecord.h b/libopie2/opiepim/core/opimrecord.h index 494c78e..563b19c 100644 --- a/libopie2/opiepim/core/opimrecord.h +++ b/libopie2/opiepim/core/opimrecord.h | |||
@@ -7,5 +7,10 @@ | |||
7 | #include <qstringlist.h> | 7 | #include <qstringlist.h> |
8 | 8 | ||
9 | /* | ||
10 | * we need to get customMap which is private... | ||
11 | */ | ||
12 | #define private protected | ||
9 | #include <qpe/palmtoprecord.h> | 13 | #include <qpe/palmtoprecord.h> |
14 | #undef private | ||
10 | 15 | ||
11 | #include <opie/opimxrefmanager.h> | 16 | #include <opie/opimxrefmanager.h> |
@@ -95,5 +100,6 @@ public: | |||
95 | * key value representation of extra items | 100 | * key value representation of extra items |
96 | */ | 101 | */ |
97 | virtual QMap<QString, QString> toExtraMap()const = 0; | 102 | QMap<QString, QString> toExtraMap()const; |
103 | void setExtraMap( const QMap<QString, QString>& ); | ||
98 | 104 | ||
99 | /** | 105 | /** |