mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-19 16:31:21 +00:00
inform the revision control observer about changed revision states
svn path=/trunk/KDE/kdebase/apps/; revision=1004351
This commit is contained in:
parent
a70be712fd
commit
1abf1974f5
|
@ -208,7 +208,7 @@ void RevisionControlObserver::verifyDirectory()
|
|||
this, SLOT(delayedDirectoryVerification()));
|
||||
connect(m_dirLister, SIGNAL(newItems(const KFileItemList&)),
|
||||
this, SLOT(delayedDirectoryVerification()));
|
||||
connect(m_plugin, SIGNAL(revisionStatesChanged(const QString&)),
|
||||
connect(m_plugin, SIGNAL(revisionStatesChanged()),
|
||||
this, SLOT(delayedDirectoryVerification()));
|
||||
}
|
||||
updateItemStates();
|
||||
|
@ -223,7 +223,7 @@ void RevisionControlObserver::verifyDirectory()
|
|||
this, SLOT(delayedDirectoryVerification()));
|
||||
disconnect(m_dirLister, SIGNAL(newItems(const KFileItemList&)),
|
||||
this, SLOT(delayedDirectoryVerification()));
|
||||
disconnect(m_plugin, SIGNAL(revisionStatesChanged(const QString&)),
|
||||
disconnect(m_plugin, SIGNAL(revisionStatesChanged()),
|
||||
this, SLOT(delayedDirectoryVerification()));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -302,6 +302,7 @@ void SubversionPlugin::slotOperationCompleted()
|
|||
{
|
||||
if (m_contextItems.isEmpty()) {
|
||||
emit operationCompletedMessage(m_operationCompletedMsg);
|
||||
emit revisionStatesChanged();
|
||||
} else {
|
||||
startSvnCommandProcess();
|
||||
}
|
||||
|
|
|
@ -129,14 +129,15 @@ public:
|
|||
|
||||
signals:
|
||||
/**
|
||||
* Should be emitted when the revision state of files has been changed
|
||||
* after the last retrieval. The file manager will be triggered to
|
||||
* Should be emitted when the revision state of files might have been changed
|
||||
* after the last retrieval (e. g. by executing a context menu action
|
||||
* of the revision control plugin). The file manager will be triggered to
|
||||
* update the revision states of the directory \p directory by invoking
|
||||
* RevisionControlPlugin::beginRetrieval(),
|
||||
* RevisionControlPlugin::revisionState() and
|
||||
* RevisionControlPlugin::endRetrieval().
|
||||
*/
|
||||
void revisionStatesChanged(const QString& directory);
|
||||
void revisionStatesChanged();
|
||||
|
||||
/**
|
||||
* Is emitted if an information message with the content \a msg
|
||||
|
|
Loading…
Reference in a new issue