blob: 808b9ab8954b5e023d3330e978b0f6822d10a599 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
#ifndef OPIM_XREF_PARTNER_H
#define OPIM_XREF_PARTNER_H
#include <qstring.h>
/**
* This class represents one partner
* of a Cross Reference.
* In Opie one application
* can link one uid
* with one tableId( fieldId ) to another.
*/
class OPimXRefPartner {
public:
OPimXRefPartner( const QString& appName = QString::null,
int uid = 0, int field = -1 );
OPimXRefPartner( const OPimXRefPartner& );
OPimXRefPartner& operator=( const OPimXRefPartner& );
~OPimXRefPartner();
bool operator==(const OPimXRefPartner& );
QString appName()const;
int uid()const;
int field()const;
void setAppName( const QString& appName );
void setUid( int uid );
void setField( int field );
private:
QString m_app;
int m_uid;
int m_field;
class Private;
Private* d;
};
#endif
|