-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 | |||
@@ -1,36 +1,39 @@ | |||
1 | #ifndef OPIM_XREF_H | 1 | #ifndef OPIM_XREF_H |
2 | #define OPIM_XREF_H | 2 | #define OPIM_XREF_H |
3 | 3 | ||
4 | #include <qarray.h> | 4 | #include <qarray.h> |
5 | #include <qvaluelist.h> | 5 | #include <qvaluelist.h> |
6 | 6 | ||
7 | #include <opie/opimxrefpartner.h> | 7 | #include <opie/opimxrefpartner.h> |
8 | 8 | ||
9 | /** | 9 | /** |
10 | * this is a Cross Referecne between | 10 | * this is a Cross Referecne between |
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 |