summaryrefslogtreecommitdiff
path: root/libopie2/opiepim/core/opimrecord.h
Side-by-side diff
Diffstat (limited to 'libopie2/opiepim/core/opimrecord.h') (more/less context) (show whitespace changes)
-rw-r--r--libopie2/opiepim/core/opimrecord.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/libopie2/opiepim/core/opimrecord.h b/libopie2/opiepim/core/opimrecord.h
index 127439a..363cc78 100644
--- a/libopie2/opiepim/core/opimrecord.h
+++ b/libopie2/opiepim/core/opimrecord.h
@@ -29,12 +29,14 @@
#ifndef OPIMRECORD_H
#define OPIMRECORD_H
/* OPIE */
#include <opie2/opimxrefmanager.h>
+#include <opie2/opimglobal.h>
+
/*
* we need to get customMap which is private...
*/
#define private protected
#include <qpe/palmtoprecord.h>
#undef private
@@ -57,13 +59,13 @@ class OPimRecord : public Qtopia::Record
public:
/**
* c'tor
* uid of 0 isEmpty
* uid of 1 will be assigned a new one
*/
- OPimRecord( int uid = 0 );
+ OPimRecord( UID uid = 0 );
~OPimRecord();
/**
* copy c'tor
*/
OPimRecord( const OPimRecord& rec );
@@ -135,16 +137,21 @@ class OPimRecord : public Qtopia::Record
/**
* key value representation of extra items
*/
QMap<QString, QString> toExtraMap() const;
void setExtraMap( const QMap<QString, QString>& );
+//@{
/**
* the name for a recordField
*/
virtual QString recordField( int ) const = 0;
+// virtual QArray<int> recordAttributes()const = 0;
+// virtual QMap<int,QString> recordAttributesTranslated() const = 0;
+// QString recordAttributeTranslated(int field)const;
+//@}
/**
* returns a reference of the
* Cross Reference Manager
* Partner 'One' is THIS PIM RECORD!
* 'Two' is the Partner where we link to