From 47615514f8617c64852ca2c4398dc6ba151317b5 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Tue, 28 Jul 2009 22:04:00 +0000 Subject: Use the output of 'svn status' instead of doing a custom and error-prone .svn-parsing. BTW: this commit is the first done within Dolphin itself :-) svn path=/trunk/KDE/kdebase/apps/; revision=1003845 --- src/revisioncontrolplugin.h | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) (limited to 'src/revisioncontrolplugin.h') diff --git a/src/revisioncontrolplugin.h b/src/revisioncontrolplugin.h index 7863cfacb..718e5c17d 100644 --- a/src/revisioncontrolplugin.h +++ b/src/revisioncontrolplugin.h @@ -65,6 +65,11 @@ public: * has been marked to get added with the next commit. */ AddedRevision, + /** + * The file is under revision control but has been marked + * for getting removed with the next commit. + */ + RemovedRevision, /** * The file is under revision control and has been locally * modified. A modification has also been done on the main @@ -171,21 +176,9 @@ private: */ void execSvnCommand(const QString& svnCommand); - /** - * Returns true, if the content of the local file \p name is equal to the - * content of the revisioned file. - */ - bool equalRevisionContent(const QString& name) const; - private: - struct RevisionInfo - { - quint64 size; - QDateTime timeStamp; - }; - - QString m_retrievalDir; - QHash m_revisionInfoHash; + QHash m_revisionInfoHash; + QList m_revisionInfoKeys; // cache for accessing the keys of the hash QAction* m_updateAction; QAction* m_showLocalChangesAction; -- cgit v1.3