summaryrefslogtreecommitdiff
path: root/libopie2/opiepim/core/opimxrefpartner.h
Unidiff
Diffstat (limited to 'libopie2/opiepim/core/opimxrefpartner.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiepim/core/opimxrefpartner.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/libopie2/opiepim/core/opimxrefpartner.h b/libopie2/opiepim/core/opimxrefpartner.h
index 6853d5b..005dbc0 100644
--- a/libopie2/opiepim/core/opimxrefpartner.h
+++ b/libopie2/opiepim/core/opimxrefpartner.h
@@ -26,24 +26,26 @@
26 Inc., 59 Temple Place - Suite 330, 26 Inc., 59 Temple Place - Suite 330,
27 Boston, MA 02111-1307, USA. 27 Boston, MA 02111-1307, USA.
28*/ 28*/
29#ifndef OPIM_XREF_PARTNER_H 29#ifndef OPIM_XREF_PARTNER_H
30#define OPIM_XREF_PARTNER_H 30#define OPIM_XREF_PARTNER_H
31 31
32/* QT */
32#include <qstring.h> 33#include <qstring.h>
33 34
34namespace Opie { 35namespace Opie {
35/** 36/**
36 * This class represents one partner 37 * This class represents one partner
37 * of a Cross Reference. 38 * of a Cross Reference.
38 * In Opie one application 39 * In Opie one application
39 * can link one uid 40 * can link one uid
40 * with one tableId( fieldId ) to another. 41 * with one tableId( fieldId ) to another.
41 */ 42 */
42class OPimXRefPartner { 43class OPimXRefPartner {
43public: 44
45 public:
44 OPimXRefPartner( const QString& service = QString::null, 46 OPimXRefPartner( const QString& service = QString::null,
45 int uid = 0, int field = -1 ); 47 int uid = 0, int field = -1 );
46 OPimXRefPartner( const OPimXRefPartner& ); 48 OPimXRefPartner( const OPimXRefPartner& );
47 OPimXRefPartner& operator=( const OPimXRefPartner& ); 49 OPimXRefPartner& operator=( const OPimXRefPartner& );
48 ~OPimXRefPartner(); 50 ~OPimXRefPartner();
49 51
@@ -53,13 +55,14 @@ public:
53 int uid()const; 55 int uid()const;
54 int field()const; 56 int field()const;
55 57
56 void setService( const QString& service ); 58 void setService( const QString& service );
57 void setUid( int uid ); 59 void setUid( int uid );
58 void setField( int field ); 60 void setField( int field );
59private: 61
62 private:
60 QString m_app; 63 QString m_app;
61 int m_uid; 64 int m_uid;
62 int m_field; 65 int m_field;
63 66
64 class Private; 67 class Private;
65 Private* d; 68 Private* d;