forked from qt-creator/qt-creator
vcsbase: make settings mutable inside VCSBaseClient
VCSBaseClient takes now a pointer to VCSBaseClientSettings, so settings can be changed within the VCS client. For example diff settings can now be loaded and saved from within the VCS client. This impacts the Bazaar and Mercurial plugins Change-Id: I84882b1f3355e0ca2597704f48f589dca42fd661 Merge-request: 344 Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com> Reviewed-on: http://codereview.qt.nokia.com/452 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
This commit is contained in:
@@ -33,6 +33,7 @@
|
||||
#ifndef BAZAARCLIENT_H
|
||||
#define BAZAARCLIENT_H
|
||||
|
||||
#include "bazaarsettings.h"
|
||||
#include "branchinfo.h"
|
||||
#include <vcsbase/vcsbaseclient.h>
|
||||
|
||||
@@ -40,11 +41,15 @@ namespace Bazaar {
|
||||
namespace Internal {
|
||||
struct BazaarDiffParameters;
|
||||
|
||||
class BazaarSettings;
|
||||
|
||||
class BazaarClient : public VCSBase::VCSBaseClient
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
BazaarClient(const VCSBase::VCSBaseClientSettings &settings);
|
||||
BazaarClient(BazaarSettings *settings);
|
||||
|
||||
BazaarSettings *settings() const;
|
||||
|
||||
bool synchronousSetUserId();
|
||||
BranchInfo synchronousBranchQuery(const QString &repositoryRoot) const;
|
||||
|
||||
Reference in New Issue
Block a user