From d84909dc36acbd91c37de76e793f81dca9b2ace9 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Thu, 13 Aug 2009 20:48:58 +0000 Subject: * Use the term "version control" instead of "revision control" to be consistent with the naming in kdevplatform. * Renamed VersionControlPlugin to KVersionControlPlugin so that the interface can be moved out of Dolphin. svn path=/trunk/KDE/kdebase/apps/; revision=1011058 --- src/dolphinview.cpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'src/dolphinview.cpp') diff --git a/src/dolphinview.cpp b/src/dolphinview.cpp index 589940479..aa0bb9619 100644 --- a/src/dolphinview.cpp +++ b/src/dolphinview.cpp @@ -62,9 +62,9 @@ #include "draganddrophelper.h" #include "folderexpander.h" #include "renamedialog.h" -#include "revisioncontrolobserver.h" #include "tooltips/tooltipmanager.h" #include "settings/dolphinsettings.h" +#include "versioncontrolobserver.h" #include "viewproperties.h" #include "zoomlevelinfo.h" @@ -105,7 +105,7 @@ DolphinView::DolphinView(QWidget* parent, m_proxyModel(proxyModel), m_previewGenerator(0), m_toolTipManager(0), - m_revisionControlObserver(0), + m_versionControlObserver(0), m_rootUrl(), m_activeItemUrl(), m_createdItemUrl(), @@ -522,9 +522,9 @@ void DolphinView::updateView(const KUrl& url, const KUrl& rootUrl) loadDirectory(url); } - // When changing the URL there is no need to keep the revision + // When changing the URL there is no need to keep the version // data of the previous URL. - m_dolphinModel->clearRevisionData(); + m_dolphinModel->clearVersionData(); emit startedPathLoading(url); } @@ -613,11 +613,11 @@ QString DolphinView::statusBarText() const return text; } -QList DolphinView::revisionControlActions(const KFileItemList& items) const +QList DolphinView::versionControlActions(const KFileItemList& items) const { return items.isEmpty() - ? m_revisionControlObserver->contextMenuActions(url().path(KUrl::AddTrailingSlash)) - : m_revisionControlObserver->contextMenuActions(items); + ? m_versionControlObserver->contextMenuActions(url().path(KUrl::AddTrailingSlash)) + : m_versionControlObserver->contextMenuActions(items); } void DolphinView::setUrl(const KUrl& url) @@ -1473,12 +1473,12 @@ void DolphinView::createView() m_previewGenerator = new KFilePreviewGenerator(view); m_previewGenerator->setPreviewShown(m_showPreview); - m_revisionControlObserver = new RevisionControlObserver(view); - connect(m_revisionControlObserver, SIGNAL(infoMessage(const QString&)), + m_versionControlObserver = new VersionControlObserver(view); + connect(m_versionControlObserver, SIGNAL(infoMessage(const QString&)), this, SIGNAL(infoMessage(const QString&))); - connect(m_revisionControlObserver, SIGNAL(errorMessage(const QString&)), + connect(m_versionControlObserver, SIGNAL(errorMessage(const QString&)), this, SIGNAL(errorMessage(const QString&))); - connect(m_revisionControlObserver, SIGNAL(operationCompletedMessage(const QString&)), + connect(m_versionControlObserver, SIGNAL(operationCompletedMessage(const QString&)), this, SIGNAL(operationCompletedMessage(const QString&))); if (DolphinSettings::instance().generalSettings()->showToolTips()) { -- cgit v1.3