summaryrefslogtreecommitdiff
path: root/libopie/pim/opimxrefpartner.h
authorzecke <zecke>2002-11-15 11:37:20 (UTC)
committer zecke <zecke>2002-11-15 11:37:20 (UTC)
commitab8d331905b59a86b50cd513123cdde67e4bfb8a (patch) (unidiff)
tree38a0d3a04cd0f594fbf58644447e985e8385f5b0 /libopie/pim/opimxrefpartner.h
parentdc68676392f6ac7cced3a9b004fe72a8b408812f (diff)
downloadopie-ab8d331905b59a86b50cd513123cdde67e4bfb8a.zip
opie-ab8d331905b59a86b50cd513123cdde67e4bfb8a.tar.gz
opie-ab8d331905b59a86b50cd513123cdde67e4bfb8a.tar.bz2
Add proposal header for Cross Referencing..
look at them and comment
Diffstat (limited to 'libopie/pim/opimxrefpartner.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie/pim/opimxrefpartner.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/libopie/pim/opimxrefpartner.h b/libopie/pim/opimxrefpartner.h
new file mode 100644
index 0000000..808b9ab
--- a/dev/null
+++ b/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 */
13class OPimXRefPartner {
14public:
15 OPimXRefPartner( const QString& appName = 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 appName()const;
24 int uid()const;
25 int field()const;
26
27 void setAppName( const QString& appName );
28 void setUid( int uid );
29 void setField( int field );
30private:
31 QString m_app;
32 int m_uid;
33 int m_field;
34
35 class Private;
36 Private* d;
37};
38
39
40#endif