Commit 0dcd66ef authored by cerf's avatar cerf Committed by Tobias Hunger
Browse files

vcsbase: rename slot VCSBaseClient::settingsChanged()



Rename VCSBaseClient::settingsChanged() to handleSettingsChanged().
This avoids confusion with a signal (note : Bazaar and Mercurial
plugins are impacted)

Change-Id: I8afd8d60be300088081338a4ed682c2760ba42eb
Merge-request: 358
Reviewed-by: default avatarTobias Hunger <tobias.hunger@nokia.com>
Reviewed-on: http://codereview.qt.nokia.com/3336
parent 3907824b
...@@ -163,7 +163,7 @@ bool BazaarPlugin::initialize(const QStringList &arguments, QString *errorMessag ...@@ -163,7 +163,7 @@ bool BazaarPlugin::initialize(const QStringList &arguments, QString *errorMessag
addAutoReleasedObject(m_optionsPage); addAutoReleasedObject(m_optionsPage);
m_bazaarSettings.readSettings(m_core->settings()); m_bazaarSettings.readSettings(m_core->settings());
connect(m_optionsPage, SIGNAL(settingsChanged()), m_client, SLOT(settingsChanged())); connect(m_optionsPage, SIGNAL(settingsChanged()), m_client, SLOT(handleSettingsChanged()));
connect(m_client, SIGNAL(changed(QVariant)), versionControl(), SLOT(changed(QVariant))); connect(m_client, SIGNAL(changed(QVariant)), versionControl(), SLOT(changed(QVariant)));
static const char *describeSlot = SLOT(view(QString,QString)); static const char *describeSlot = SLOT(view(QString,QString));
......
...@@ -166,7 +166,7 @@ bool MercurialPlugin::initialize(const QStringList & /* arguments */, QString * ...@@ -166,7 +166,7 @@ bool MercurialPlugin::initialize(const QStringList & /* arguments */, QString *
addAutoReleasedObject(optionsPage); addAutoReleasedObject(optionsPage);
mercurialSettings.readSettings(core->settings()); mercurialSettings.readSettings(core->settings());
connect(optionsPage, SIGNAL(settingsChanged()), m_client, SLOT(settingsChanged())); connect(optionsPage, SIGNAL(settingsChanged()), m_client, SLOT(handleSettingsChanged()));
connect(m_client, SIGNAL(changed(QVariant)), versionControl(), SLOT(changed(QVariant))); connect(m_client, SIGNAL(changed(QVariant)), versionControl(), SLOT(changed(QVariant)));
......
...@@ -479,7 +479,7 @@ VCSBaseClientSettings *VCSBaseClient::settings() const ...@@ -479,7 +479,7 @@ VCSBaseClientSettings *VCSBaseClient::settings() const
return d->m_clientSettings; return d->m_clientSettings;
} }
void VCSBaseClient::settingsChanged() void VCSBaseClient::handleSettingsChanged()
{ {
if (d->m_jobManager) { if (d->m_jobManager) {
d->m_jobManager->setSettings(settings()->binary(), d->m_jobManager->setSettings(settings()->binary(),
......
...@@ -121,7 +121,7 @@ signals: ...@@ -121,7 +121,7 @@ signals:
public slots: public slots:
void view(const QString &source, const QString &id); void view(const QString &source, const QString &id);
void settingsChanged(); void handleSettingsChanged();
protected: protected:
enum VCSCommand enum VCSCommand
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment