Normalized connect()s

Change-Id: Id353ab140a46e06ffc3abf667ab3b234e749e17c
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
This commit is contained in:
Robert Loehning
2012-03-05 22:30:59 +01:00
committed by Robert Löhning
parent 9f05e6495d
commit b41171c847
121 changed files with 388 additions and 388 deletions

View File

@@ -192,8 +192,8 @@ void ICodeStylePreferences::setCurrentDelegate(ICodeStylePreferences *delegate)
this, SIGNAL(currentTabSettingsChanged(TextEditor::TabSettings)));
disconnect(d->m_currentDelegate, SIGNAL(currentValueChanged(QVariant)),
this, SIGNAL(currentValueChanged(QVariant)));
disconnect(d->m_currentDelegate, SIGNAL(currentPreferencesChanged(TextEditor::ICodeStylePreferences *)),
this, SIGNAL(currentPreferencesChanged(TextEditor::ICodeStylePreferences *)));
disconnect(d->m_currentDelegate, SIGNAL(currentPreferencesChanged(TextEditor::ICodeStylePreferences*)),
this, SIGNAL(currentPreferencesChanged(TextEditor::ICodeStylePreferences*)));
}
d->m_currentDelegate = delegate;
if (d->m_currentDelegate) {
@@ -201,8 +201,8 @@ void ICodeStylePreferences::setCurrentDelegate(ICodeStylePreferences *delegate)
this, SIGNAL(currentTabSettingsChanged(TextEditor::TabSettings)));
connect(d->m_currentDelegate, SIGNAL(currentValueChanged(QVariant)),
this, SIGNAL(currentValueChanged(QVariant)));
connect(d->m_currentDelegate, SIGNAL(currentPreferencesChanged(TextEditor::ICodeStylePreferences *)),
this, SIGNAL(currentPreferencesChanged(TextEditor::ICodeStylePreferences *)));
connect(d->m_currentDelegate, SIGNAL(currentPreferencesChanged(TextEditor::ICodeStylePreferences*)),
this, SIGNAL(currentPreferencesChanged(TextEditor::ICodeStylePreferences*)));
}
emit currentDelegateChanged(d->m_currentDelegate);
emit currentPreferencesChanged(currentPreferences());