Continued to flesh out merge subsystem.
This commit is contained in:
+12
-38
@@ -37,18 +37,25 @@ struct MergeRecord
|
||||
/////////////////////////////////
|
||||
public:
|
||||
MergeRecord();
|
||||
MergeRecord( const MergeRecord* record );
|
||||
|
||||
|
||||
/////////////////////////////////
|
||||
// Object duplication
|
||||
/////////////////////////////////
|
||||
MergeRecord* clone() const;
|
||||
|
||||
|
||||
/////////////////////////////////
|
||||
// Properties
|
||||
/////////////////////////////////
|
||||
public:
|
||||
inline bool isSelected() const;
|
||||
inline void setSelected( bool value );
|
||||
inline bool empty() const;
|
||||
bool isSelected() const;
|
||||
void setSelected( bool value );
|
||||
bool isEmpty() const;
|
||||
|
||||
inline const QList<MergeField>& fieldList() const;
|
||||
inline void setFieldList( QList<MergeField>& value );
|
||||
const QList<MergeField>& fieldList() const;
|
||||
void setFieldList( QList<MergeField>& value );
|
||||
|
||||
|
||||
/////////////////////////////////
|
||||
@@ -60,37 +67,4 @@ private:
|
||||
};
|
||||
|
||||
|
||||
/////////////////////////////////
|
||||
// INLINE METHODS
|
||||
/////////////////////////////////
|
||||
bool MergeRecord::isSelected() const
|
||||
{
|
||||
return mSelected;
|
||||
}
|
||||
|
||||
|
||||
void MergeRecord::setSelected( bool value )
|
||||
{
|
||||
mSelected = value;
|
||||
}
|
||||
|
||||
|
||||
bool MergeRecord::empty() const
|
||||
{
|
||||
return mFieldList.size() == 0;
|
||||
}
|
||||
|
||||
|
||||
const QList<MergeField>& MergeRecord::fieldList() const
|
||||
{
|
||||
return mFieldList;
|
||||
}
|
||||
|
||||
|
||||
void MergeRecord::setFieldList( QList<MergeField>& value )
|
||||
{
|
||||
mFieldList = value;
|
||||
}
|
||||
|
||||
|
||||
#endif // MergeRecord_h
|
||||
|
||||
Reference in New Issue
Block a user