author | zecke <zecke> | 2002-11-15 15:31:47 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-11-15 15:31:47 (UTC) |
commit | 5a6e66edad1070f624d54320278d00372f112213 (patch) (unidiff) | |
tree | ab1028759194edace4c79cf90d18dc1362a84aa9 /libopie/pim/opimxref.h | |
parent | 05f56fbbbe9ea5546f7503f4852fcab9c5b10a00 (diff) | |
download | opie-5a6e66edad1070f624d54320278d00372f112213.zip opie-5a6e66edad1070f624d54320278d00372f112213.tar.gz opie-5a6e66edad1070f624d54320278d00372f112213.tar.bz2 |
Add the implementation for the XRef Manager
Add it to libopie.pro
Adjust OPimRecord to use the new manager
The backends do not support xref yet
-rw-r--r-- | libopie/pim/opimxref.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libopie/pim/opimxref.h b/libopie/pim/opimxref.h index 72154ac..354739a 100644 --- a/libopie/pim/opimxref.h +++ b/libopie/pim/opimxref.h | |||
@@ -11,26 +11,29 @@ | |||
11 | * two Cross Reference Partners | 11 | * two Cross Reference Partners |
12 | */ | 12 | */ |
13 | class OPimXRef { | 13 | class OPimXRef { |
14 | public: | 14 | public: |
15 | typedef QValueList<OPimXRef> ValueList; | 15 | typedef QValueList<OPimXRef> ValueList; |
16 | enum Partners { One, Two }; | 16 | enum Partners { One, Two }; |
17 | OPimXRef( const OPimXRefPartner& ONE, const OPimXRefPartner& ); | 17 | OPimXRef( const OPimXRefPartner& ONE, const OPimXRefPartner& ); |
18 | OPimXRef(); | 18 | OPimXRef(); |
19 | OPimXRef( const OPimXRef& ); | 19 | OPimXRef( const OPimXRef& ); |
20 | ~OPimXRef(); | 20 | ~OPimXRef(); |
21 | 21 | ||
22 | OPimXRef &operator=( const OPimXRef& ); | 22 | OPimXRef &operator=( const OPimXRef& ); |
23 | bool operator==( const OPimXRef ); | 23 | bool operator==( const OPimXRef& ); |
24 | 24 | ||
25 | OPimXRefPartner partner( enum Partners ); | 25 | OPimXRefPartner partner( enum Partners )const; |
26 | 26 | ||
27 | void setPartner( enum Partners, const OPimXRefPartner& ); | 27 | void setPartner( enum Partners, const OPimXRefPartner& ); |
28 | 28 | ||
29 | bool containsString( const QString& appName)const; | ||
30 | bool containsUid( int uid )const; | ||
31 | |||
29 | private: | 32 | private: |
30 | QArray<OPimXRefPartner> m_partners; | 33 | QArray<OPimXRefPartner> m_partners; |
31 | 34 | ||
32 | class Private; | 35 | class Private; |
33 | Private *d; | 36 | Private *d; |
34 | }; | 37 | }; |
35 | 38 | ||
36 | #endif | 39 | #endif |