author | mickeyl <mickeyl> | 2004-11-16 19:14:18 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2004-11-16 19:14:18 (UTC) |
commit | ea3945a9bd8f9830f70b1efa133f9df13b19362f (patch) (unidiff) | |
tree | f2ea22cc50e9aa8aa73ee7dea148f41c563c9666 /noncore/unsupported/libopie/pim/opimxrefpartner.h | |
parent | 1c6f490e8541626f68422e0a3a7c7281d7f5b7d3 (diff) | |
download | opie-ea3945a9bd8f9830f70b1efa133f9df13b19362f.zip opie-ea3945a9bd8f9830f70b1efa133f9df13b19362f.tar.gz opie-ea3945a9bd8f9830f70b1efa133f9df13b19362f.tar.bz2 |
libopie1 goes into unsupported
Diffstat (limited to 'noncore/unsupported/libopie/pim/opimxrefpartner.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/unsupported/libopie/pim/opimxrefpartner.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/noncore/unsupported/libopie/pim/opimxrefpartner.h b/noncore/unsupported/libopie/pim/opimxrefpartner.h new file mode 100644 index 0000000..d76e384 --- a/dev/null +++ b/noncore/unsupported/libopie/pim/opimxrefpartner.h | |||
@@ -0,0 +1,40 @@ | |||
1 | #ifndef OPIM_XREF_PARTNER_H | ||
2 | #define OPIM_XREF_PARTNER_H | ||
3 | |||
4 | #include <qstring.h> | ||
5 | |||
6 | /** | ||
7 | * This class represents one partner | ||
8 | * of a Cross Reference. | ||
9 | * In Opie one application | ||
10 | * can link one uid | ||
11 | * with one tableId( fieldId ) to another. | ||
12 | */ | ||
13 | class OPimXRefPartner { | ||
14 | public: | ||
15 | OPimXRefPartner( const QString& service = QString::null, | ||
16 | int uid = 0, int field = -1 ); | ||
17 | OPimXRefPartner( const OPimXRefPartner& ); | ||
18 | OPimXRefPartner& operator=( const OPimXRefPartner& ); | ||
19 | ~OPimXRefPartner(); | ||
20 | |||
21 | bool operator==(const OPimXRefPartner& ); | ||
22 | |||
23 | QString service()const; | ||
24 | int uid()const; | ||
25 | int field()const; | ||
26 | |||
27 | void setService( const QString& service ); | ||
28 | void setUid( int uid ); | ||
29 | void setField( int field ); | ||
30 | private: | ||
31 | QString m_app; | ||
32 | int m_uid; | ||
33 | int m_field; | ||
34 | |||
35 | class Private; | ||
36 | Private* d; | ||
37 | }; | ||
38 | |||
39 | |||
40 | #endif | ||