Diffstat (limited to 'libopie/pim/opimmaintainer.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie/pim/opimmaintainer.h | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/libopie/pim/opimmaintainer.h b/libopie/pim/opimmaintainer.h index 310e15a..793d066 100644 --- a/libopie/pim/opimmaintainer.h +++ b/libopie/pim/opimmaintainer.h | |||
@@ -1,36 +1,40 @@ | |||
1 | #ifndef OPIE_PIM_MAINTAINER_H | 1 | #ifndef OPIE_PIM_MAINTAINER_H |
2 | #define OPIE_PIM_MAINTAINER_H | 2 | #define OPIE_PIM_MAINTAINER_H |
3 | 3 | ||
4 | #include <qstring.h> | 4 | #include <qstring.h> |
5 | 5 | ||
6 | /** | 6 | /** |
7 | * Who maintains what? | 7 | * Who maintains what? |
8 | */ | 8 | */ |
9 | class OPimMaintainer { | 9 | class OPimMaintainer { |
10 | public: | 10 | public: |
11 | enum Mode { Undefined = -1, | 11 | enum Mode { Undefined = -1, |
12 | Responsible = 0, | 12 | Nothing = 0, |
13 | Responsible, | ||
13 | DoneBy, | 14 | DoneBy, |
14 | Coordinating }; | 15 | Coordinating, |
15 | OPimMaintainer( enum Mode mode = Undefined, int uid = 0); | 16 | }; |
17 | OPimMaintainer( int mode = Undefined, int uid = 0); | ||
16 | OPimMaintainer( const OPimMaintainer& ); | 18 | OPimMaintainer( const OPimMaintainer& ); |
17 | ~OPimMaintainer(); | 19 | ~OPimMaintainer(); |
18 | 20 | ||
19 | OPimMaintainer &operator=( const OPimMaintainer& ); | 21 | OPimMaintainer &operator=( const OPimMaintainer& ); |
20 | bool operator==( const OPimMaintainer& ); | 22 | bool operator==( const OPimMaintainer& ); |
21 | bool operator!=( const OPimMaintainer& ); | 23 | bool operator!=( const OPimMaintainer& ); |
22 | 24 | ||
23 | 25 | ||
24 | Mode mode()const; | 26 | int mode()const; |
25 | int uid()const; | 27 | int uid()const; |
26 | 28 | ||
27 | void setMode( enum Mode ); | 29 | void setMode( int mode ); |
28 | void setUid( int uid ); | 30 | void setUid( int uid ); |
29 | 31 | ||
30 | private: | 32 | private: |
31 | Mode m_mode; | 33 | int m_mode; |
32 | int m_uid; | 34 | int m_uid; |
35 | class Private; | ||
36 | Private *d; | ||
33 | 37 | ||
34 | }; | 38 | }; |
35 | 39 | ||
36 | #endif | 40 | #endif |