┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/revisioncontrolobserver.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/revisioncontrolobserver.h')
-rw-r--r--src/revisioncontrolobserver.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/revisioncontrolobserver.h b/src/revisioncontrolobserver.h
index 51c003e43..2fbd20fb5 100644
--- a/src/revisioncontrolobserver.h
+++ b/src/revisioncontrolobserver.h
@@ -96,16 +96,22 @@ private slots:
void applyUpdatedItemStates();
private:
- void updateItemStates();
-
-private:
struct ItemState
{
QPersistentModelIndex index;
KFileItem item;
RevisionControlPlugin::RevisionState revision;
};
-
+
+ void updateItemStates();
+
+ /**
+ * Adds recursively all items from the directory \p parentIndex into
+ * the list \p itemStates.
+ */
+ void addDirectory(const QModelIndex& parentIndex, QList<ItemState>& itemStates);
+
+private:
bool m_pendingItemStatesUpdate;
bool m_revisionedDirectory;
bool m_silentUpdate; // if true, no messages will be send during the update