┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/revisioncontrolobserver.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2009-07-30 06:21:35 +0000
committerPeter Penz <[email protected]>2009-07-30 06:21:35 +0000
commit9470f30828e7b86d8c60700bfb27f161e7327276 (patch)
tree9e825585da549abe1dfb7528e595e648dbe7dcab /src/revisioncontrolobserver.h
parentddc14611478d21efb193981d1f768c90cec304af (diff)
If the revision states have been changed because of executing a SVN context menu action, the resulting update should be done silently without information messages.
svn path=/trunk/KDE/kdebase/apps/; revision=1004412
Diffstat (limited to 'src/revisioncontrolobserver.h')
-rw-r--r--src/revisioncontrolobserver.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/revisioncontrolobserver.h b/src/revisioncontrolobserver.h
index 4decbda7f..c4df752c4 100644
--- a/src/revisioncontrolobserver.h
+++ b/src/revisioncontrolobserver.h
@@ -78,7 +78,21 @@ signals:
void operationCompletedMessage(const QString& msg);
private slots:
+ /**
+ * Invokes verifyDirectory() with a small delay. If delayedDirectoryVerification()
+ * is invoked before the delay has been exceeded, the delay will be reset. This
+ * assures that a lot of short requests for directory verification only result
+ * in one (expensive) call.
+ */
void delayedDirectoryVerification();
+
+ /**
+ * Invokes verifyDirectory() with a small delay. In opposite to
+ * delayedDirectoryVerification() it and assures that the verification of
+ * the directory is done silently without information messages.
+ */
+ void silentDirectoryVerification();
+
void verifyDirectory();
void applyUpdatedItemStates();
@@ -95,6 +109,8 @@ private:
bool m_pendingItemStatesUpdate;
bool m_revisionedDirectory;
+ bool m_silentUpdate; // if true, no messages will be send during the update
+ // of revision states
QAbstractItemView* m_view;
KDirLister* m_dirLister;