From 9470f30828e7b86d8c60700bfb27f161e7327276 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Thu, 30 Jul 2009 06:21:35 +0000 Subject: 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 --- src/revisioncontrolobserver.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'src/revisioncontrolobserver.h') 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; -- cgit v1.3