Commit d765d49b authored by Maik Qualmann's avatar Maik Qualmann

polish

parent f98ed32d
......@@ -54,11 +54,7 @@ public:
: tagModel(nullptr),
rootTag(nullptr),
startInsert(-1),
endInsert(-1),
newTags(),
auxTagList(),
auxIndexList(),
savedSpacerList()
endInsert(-1)
{
}
......@@ -66,7 +62,8 @@ public:
TreeBranch* rootTag;
QModelIndex parent;
int startInsert, endInsert;
int startInsert;
int endInsert;
QList<QList<TagData> > newTags;
......
......@@ -86,22 +86,24 @@ public Q_SLOTS:
void slotSourceDataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight);
void slotSourceHeaderDataChanged(const Qt::Orientation orientation, int first, int last);
void slotColumnsAboutToBeInserted ( const QModelIndex & parent, int start, int end);
void slotColumnsAboutToBeMoved ( const QModelIndex & sourceParent, int sourceStart, int sourceEnd, const QModelIndex & destinationParent, int destinationColumn);
void slotColumnsAboutToBeRemoved ( const QModelIndex & parent, int start, int end );
void slotColumnsInserted ();
void slotColumnsMoved ();
void slotColumnsRemoved ();
void slotLayoutAboutToBeChanged ();
void slotColumnsAboutToBeInserted(const QModelIndex & parent, int start, int end);
void slotColumnsAboutToBeMoved(const QModelIndex & sourceParent, int sourceStart, int sourceEnd,
const QModelIndex & destinationParent, int destinationColumn);
void slotColumnsAboutToBeRemoved(const QModelIndex & parent, int start, int end );
void slotColumnsInserted();
void slotColumnsMoved();
void slotColumnsRemoved();
void slotLayoutAboutToBeChanged();
void slotLayoutChanged();
void slotModelAboutToBeReset();
void slotModelReset();
void slotRowsAboutToBeInserted (const QModelIndex & parent, int start, int end);
void slotRowsAboutToBeMoved (const QModelIndex & sourceParent, int sourceStart, int sourceEnd, const QModelIndex & destinationParent, int destinationRow);
void slotRowsAboutToBeRemoved (const QModelIndex & parent, int start, int end);
void slotRowsInserted ();
void slotRowsMoved ();
void slotRowsRemoved ();
void slotRowsAboutToBeInserted(const QModelIndex & parent, int start, int end);
void slotRowsAboutToBeMoved(const QModelIndex & sourceParent, int sourceStart, int sourceEnd,
const QModelIndex & destinationParent, int destinationRow);
void slotRowsAboutToBeRemoved(const QModelIndex & parent, int start, int end);
void slotRowsInserted();
void slotRowsMoved();
void slotRowsRemoved();
private:
......
......@@ -38,12 +38,7 @@ class TreeBranch
public:
explicit TreeBranch()
: sourceIndex(),
parent(nullptr),
data(),
type(),
oldChildren(),
spacerChildren()
: parent(nullptr)
{
}
......
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