More fleshing out of merge framework.
This commit is contained in:
+5
-11
@@ -36,19 +36,13 @@ struct Merge : QObject
|
||||
Q_OBJECT
|
||||
|
||||
|
||||
/////////////////////////////////
|
||||
// Source Type
|
||||
/////////////////////////////////
|
||||
public:
|
||||
enum SourceType { NONE, FIXED, FILE };
|
||||
|
||||
|
||||
/////////////////////////////////
|
||||
// Life Cycle
|
||||
/////////////////////////////////
|
||||
protected:
|
||||
Merge( SourceType type );
|
||||
Merge();
|
||||
Merge( const Merge* merge );
|
||||
public:
|
||||
virtual ~Merge();
|
||||
|
||||
|
||||
@@ -62,7 +56,7 @@ protected:
|
||||
// Properties
|
||||
/////////////////////////////////
|
||||
public:
|
||||
SourceType type() const;
|
||||
QString id() const;
|
||||
QString source() const;
|
||||
void setSource( const QString& source );
|
||||
|
||||
@@ -103,9 +97,9 @@ signals:
|
||||
/////////////////////////////////
|
||||
// Private data
|
||||
/////////////////////////////////
|
||||
protected:
|
||||
QString mId;
|
||||
private:
|
||||
SourceType mType;
|
||||
|
||||
QString mSource;
|
||||
QList<MergeRecord*> mRecordList;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user