Diffstat (limited to 'libopie2/opiepim/core/opimxref.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie2/opiepim/core/opimxref.h | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/libopie2/opiepim/core/opimxref.h b/libopie2/opiepim/core/opimxref.h index 820c9c4..f3e814e 100644 --- a/libopie2/opiepim/core/opimxref.h +++ b/libopie2/opiepim/core/opimxref.h | |||
@@ -28,12 +28,14 @@ | |||
28 | */ | 28 | */ |
29 | 29 | ||
30 | #ifndef OPIM_XREF_H | 30 | #ifndef OPIMXREF_H |
31 | #define OPIM_XREF_H | 31 | #define OPIMXREF_H |
32 | 32 | ||
33 | /* OPIE */ | ||
34 | #include <opie2/opimxrefpartner.h> | ||
35 | |||
36 | /* QT */ | ||
33 | #include <qarray.h> | 37 | #include <qarray.h> |
34 | #include <qvaluelist.h> | 38 | #include <qvaluelist.h> |
35 | 39 | ||
36 | #include <opie2/opimxrefpartner.h> | ||
37 | |||
38 | namespace Opie { | 40 | namespace Opie { |
39 | /** | 41 | /** |
@@ -42,5 +44,5 @@ namespace Opie { | |||
42 | */ | 44 | */ |
43 | class OPimXRef { | 45 | class OPimXRef { |
44 | public: | 46 | public: |
45 | typedef QValueList<OPimXRef> ValueList; | 47 | typedef QValueList<OPimXRef> ValueList; |
46 | enum Partners { One, Two }; | 48 | enum Partners { One, Two }; |
@@ -53,12 +55,12 @@ public: | |||
53 | bool operator==( const OPimXRef& ); | 55 | bool operator==( const OPimXRef& ); |
54 | 56 | ||
55 | OPimXRefPartner partner( enum Partners )const; | 57 | OPimXRefPartner partner( enum Partners ) const; |
56 | 58 | ||
57 | void setPartner( enum Partners, const OPimXRefPartner& ); | 59 | void setPartner( enum Partners, const OPimXRefPartner& ); |
58 | 60 | ||
59 | bool containsString( const QString& service)const; | 61 | bool containsString( const QString& service) const; |
60 | bool containsUid( int uid )const; | 62 | bool containsUid( int uid ) const; |
61 | 63 | ||
62 | private: | 64 | private: |
63 | QArray<OPimXRefPartner> m_partners; | 65 | QArray<OPimXRefPartner> m_partners; |
64 | 66 | ||