Commit d765d49b authored by Maik Qualmann's avatar Maik Qualmann

polish

parent f98ed32d
...@@ -54,11 +54,7 @@ public: ...@@ -54,11 +54,7 @@ public:
: tagModel(nullptr), : tagModel(nullptr),
rootTag(nullptr), rootTag(nullptr),
startInsert(-1), startInsert(-1),
endInsert(-1), endInsert(-1)
newTags(),
auxTagList(),
auxIndexList(),
savedSpacerList()
{ {
} }
...@@ -66,7 +62,8 @@ public: ...@@ -66,7 +62,8 @@ public:
TreeBranch* rootTag; TreeBranch* rootTag;
QModelIndex parent; QModelIndex parent;
int startInsert, endInsert; int startInsert;
int endInsert;
QList<QList<TagData> > newTags; QList<QList<TagData> > newTags;
......
...@@ -86,22 +86,24 @@ public Q_SLOTS: ...@@ -86,22 +86,24 @@ public Q_SLOTS:
void slotSourceDataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight); void slotSourceDataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight);
void slotSourceHeaderDataChanged(const Qt::Orientation orientation, int first, int last); void slotSourceHeaderDataChanged(const Qt::Orientation orientation, int first, int last);
void slotColumnsAboutToBeInserted ( const QModelIndex & parent, int start, int end); void slotColumnsAboutToBeInserted(const QModelIndex & parent, int start, int end);
void slotColumnsAboutToBeMoved ( const QModelIndex & sourceParent, int sourceStart, int sourceEnd, const QModelIndex & destinationParent, int destinationColumn); void slotColumnsAboutToBeMoved(const QModelIndex & sourceParent, int sourceStart, int sourceEnd,
void slotColumnsAboutToBeRemoved ( const QModelIndex & parent, int start, int end ); const QModelIndex & destinationParent, int destinationColumn);
void slotColumnsInserted (); void slotColumnsAboutToBeRemoved(const QModelIndex & parent, int start, int end );
void slotColumnsMoved (); void slotColumnsInserted();
void slotColumnsRemoved (); void slotColumnsMoved();
void slotLayoutAboutToBeChanged (); void slotColumnsRemoved();
void slotLayoutAboutToBeChanged();
void slotLayoutChanged(); void slotLayoutChanged();
void slotModelAboutToBeReset(); void slotModelAboutToBeReset();
void slotModelReset(); void slotModelReset();
void slotRowsAboutToBeInserted (const QModelIndex & parent, int start, int end); void slotRowsAboutToBeInserted(const QModelIndex & parent, int start, int end);
void slotRowsAboutToBeMoved (const QModelIndex & sourceParent, int sourceStart, int sourceEnd, const QModelIndex & destinationParent, int destinationRow); void slotRowsAboutToBeMoved(const QModelIndex & sourceParent, int sourceStart, int sourceEnd,
void slotRowsAboutToBeRemoved (const QModelIndex & parent, int start, int end); const QModelIndex & destinationParent, int destinationRow);
void slotRowsInserted (); void slotRowsAboutToBeRemoved(const QModelIndex & parent, int start, int end);
void slotRowsMoved (); void slotRowsInserted();
void slotRowsRemoved (); void slotRowsMoved();
void slotRowsRemoved();
private: private:
......
...@@ -38,12 +38,7 @@ class TreeBranch ...@@ -38,12 +38,7 @@ class TreeBranch
public: public:
explicit TreeBranch() explicit TreeBranch()
: sourceIndex(), : parent(nullptr)
parent(nullptr),
data(),
type(),
oldChildren(),
spacerChildren()
{ {
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment