forked from qt-creator/qt-creator
Normalized connect()s
Change-Id: I82e891a73724cdfa0db8c84e9daeb72e00e87029 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com> Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -531,8 +531,8 @@ CPPEditorWidget::CPPEditorWidget(QWidget *parent)
|
|||||||
this, SLOT(onDocumentUpdated()));
|
this, SLOT(onDocumentUpdated()));
|
||||||
connect(editorSupport, SIGNAL(semanticInfoUpdated(CppTools::SemanticInfo)),
|
connect(editorSupport, SIGNAL(semanticInfoUpdated(CppTools::SemanticInfo)),
|
||||||
this, SLOT(updateSemanticInfo(CppTools::SemanticInfo)));
|
this, SLOT(updateSemanticInfo(CppTools::SemanticInfo)));
|
||||||
connect(editorSupport, SIGNAL(highlighterStarted(QFuture<TextEditor::HighlightingResult> *, unsigned)),
|
connect(editorSupport, SIGNAL(highlighterStarted(QFuture<TextEditor::HighlightingResult>*,uint)),
|
||||||
this, SLOT(highlighterStarted(QFuture<TextEditor::HighlightingResult> *, unsigned)));
|
this, SLOT(highlighterStarted(QFuture<TextEditor::HighlightingResult>*,uint)));
|
||||||
|
|
||||||
m_completionSupport = m_modelManager->completionSupport(editor());
|
m_completionSupport = m_modelManager->completionSupport(editor());
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4854,8 +4854,8 @@ void InsertVirtualMethodsDialog::initGui()
|
|||||||
globalVerticalLayout->addWidget(m_buttons, 0);
|
globalVerticalLayout->addWidget(m_buttons, 0);
|
||||||
setLayout(globalVerticalLayout);
|
setLayout(globalVerticalLayout);
|
||||||
|
|
||||||
connect(classFunctionModel, SIGNAL(itemChanged(QStandardItem *)),
|
connect(classFunctionModel, SIGNAL(itemChanged(QStandardItem*)),
|
||||||
this, SLOT(updateCheckBoxes(QStandardItem *)));
|
this, SLOT(updateCheckBoxes(QStandardItem*)));
|
||||||
connect(m_hideReimplementedFunctions, SIGNAL(toggled(bool)),
|
connect(m_hideReimplementedFunctions, SIGNAL(toggled(bool)),
|
||||||
this, SLOT(setHideReimplementedFunctions(bool)));
|
this, SLOT(setHideReimplementedFunctions(bool)));
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1649,8 +1649,8 @@ void FakeVimPluginPrivate::editorOpened(IEditor *editor)
|
|||||||
SLOT(foldAll(bool)));
|
SLOT(foldAll(bool)));
|
||||||
connect(handler, SIGNAL(fold(int,bool)),
|
connect(handler, SIGNAL(fold(int,bool)),
|
||||||
SLOT(fold(int,bool)));
|
SLOT(fold(int,bool)));
|
||||||
connect(handler, SIGNAL(foldGoTo(int, bool)),
|
connect(handler, SIGNAL(foldGoTo(int,bool)),
|
||||||
SLOT(foldGoTo(int, bool)));
|
SLOT(foldGoTo(int,bool)));
|
||||||
connect(handler, SIGNAL(jumpToGlobalMark(QChar,bool,QString)),
|
connect(handler, SIGNAL(jumpToGlobalMark(QChar,bool,QString)),
|
||||||
SLOT(jumpToGlobalMark(QChar,bool,QString)));
|
SLOT(jumpToGlobalMark(QChar,bool,QString)));
|
||||||
|
|
||||||
|
|||||||
@@ -71,7 +71,7 @@ QmlConsolePane::QmlConsolePane(QObject *parent)
|
|||||||
m_proxyModel = new QmlConsoleProxyModel(this);
|
m_proxyModel = new QmlConsoleProxyModel(this);
|
||||||
m_proxyModel->setSourceModel(QmlConsoleModel::qmlConsoleItemModel());
|
m_proxyModel->setSourceModel(QmlConsoleModel::qmlConsoleItemModel());
|
||||||
connect(QmlConsoleModel::qmlConsoleItemModel(),
|
connect(QmlConsoleModel::qmlConsoleItemModel(),
|
||||||
SIGNAL(selectEditableRow(QModelIndex, QItemSelectionModel::SelectionFlags)),
|
SIGNAL(selectEditableRow(QModelIndex,QItemSelectionModel::SelectionFlags)),
|
||||||
m_proxyModel,
|
m_proxyModel,
|
||||||
SLOT(selectEditableRow(QModelIndex,QItemSelectionModel::SelectionFlags)));
|
SLOT(selectEditableRow(QModelIndex,QItemSelectionModel::SelectionFlags)));
|
||||||
|
|
||||||
|
|||||||
@@ -160,15 +160,15 @@ void BarDescriptorEditorAssetsWidget::updateEntryCheckState(QStandardItem *item)
|
|||||||
void BarDescriptorEditorAssetsWidget::connectAssetsModel()
|
void BarDescriptorEditorAssetsWidget::connectAssetsModel()
|
||||||
{
|
{
|
||||||
connect(m_assetsModel, SIGNAL(dataChanged(QModelIndex,QModelIndex)), this, SIGNAL(changed()));
|
connect(m_assetsModel, SIGNAL(dataChanged(QModelIndex,QModelIndex)), this, SIGNAL(changed()));
|
||||||
connect(m_assetsModel, SIGNAL(rowsInserted(QModelIndex, int, int)), this, SIGNAL(changed()));
|
connect(m_assetsModel, SIGNAL(rowsInserted(QModelIndex,int,int)), this, SIGNAL(changed()));
|
||||||
connect(m_assetsModel, SIGNAL(rowsRemoved(QModelIndex, int, int)), this, SIGNAL(changed()));
|
connect(m_assetsModel, SIGNAL(rowsRemoved(QModelIndex,int,int)), this, SIGNAL(changed()));
|
||||||
}
|
}
|
||||||
|
|
||||||
void BarDescriptorEditorAssetsWidget::disconnectAssetsModel()
|
void BarDescriptorEditorAssetsWidget::disconnectAssetsModel()
|
||||||
{
|
{
|
||||||
disconnect(m_assetsModel, SIGNAL(dataChanged(QModelIndex,QModelIndex)), this, SIGNAL(changed()));
|
disconnect(m_assetsModel, SIGNAL(dataChanged(QModelIndex,QModelIndex)), this, SIGNAL(changed()));
|
||||||
disconnect(m_assetsModel, SIGNAL(rowsInserted(QModelIndex, int, int)), this, SIGNAL(changed()));
|
disconnect(m_assetsModel, SIGNAL(rowsInserted(QModelIndex,int,int)), this, SIGNAL(changed()));
|
||||||
disconnect(m_assetsModel, SIGNAL(rowsRemoved(QModelIndex, int, int)), this, SIGNAL(changed()));
|
disconnect(m_assetsModel, SIGNAL(rowsRemoved(QModelIndex,int,int)), this, SIGNAL(changed()));
|
||||||
}
|
}
|
||||||
|
|
||||||
void BarDescriptorEditorAssetsWidget::addAssetInternal(const BarDescriptorAsset &asset)
|
void BarDescriptorEditorAssetsWidget::addAssetInternal(const BarDescriptorAsset &asset)
|
||||||
|
|||||||
@@ -76,7 +76,7 @@ BarDescriptorEditorEntryPointWidget::BarDescriptorEditorEntryPointWidget(QWidget
|
|||||||
connect(m_ui->addSplashScreen, SIGNAL(clicked()), this, SLOT(browseForSplashScreen()));
|
connect(m_ui->addSplashScreen, SIGNAL(clicked()), this, SLOT(browseForSplashScreen()));
|
||||||
connect(m_ui->removeSplashScreen, SIGNAL(clicked()), this, SLOT(removeSelectedSplashScreen()));
|
connect(m_ui->removeSplashScreen, SIGNAL(clicked()), this, SLOT(removeSelectedSplashScreen()));
|
||||||
connect(m_splashScreenModel, SIGNAL(dataChanged(QModelIndex,QModelIndex)), this, SIGNAL(changed()));
|
connect(m_splashScreenModel, SIGNAL(dataChanged(QModelIndex,QModelIndex)), this, SIGNAL(changed()));
|
||||||
connect(m_ui->splashScreensView->selectionModel(), SIGNAL(selectionChanged(QItemSelection,QItemSelection)), this, SLOT(handleSplashScreenSelectionChanged(QItemSelection, QItemSelection)));
|
connect(m_ui->splashScreensView->selectionModel(), SIGNAL(selectionChanged(QItemSelection,QItemSelection)), this, SLOT(handleSplashScreenSelectionChanged(QItemSelection,QItemSelection)));
|
||||||
}
|
}
|
||||||
|
|
||||||
BarDescriptorEditorEntryPointWidget::~BarDescriptorEditorEntryPointWidget()
|
BarDescriptorEditorEntryPointWidget::~BarDescriptorEditorEntryPointWidget()
|
||||||
|
|||||||
@@ -72,8 +72,8 @@ BlackBerryDeviceConfigurationWidget::BlackBerryDeviceConfigurationWidget(const I
|
|||||||
connect(ui->debugToken, SIGNAL(browsingFinished()), this, SLOT(debugTokenEditingFinished()));
|
connect(ui->debugToken, SIGNAL(browsingFinished()), this, SLOT(debugTokenEditingFinished()));
|
||||||
connect(uploader, SIGNAL(finished(int)), this, SLOT(uploadFinished(int)));
|
connect(uploader, SIGNAL(finished(int)), this, SLOT(uploadFinished(int)));
|
||||||
|
|
||||||
connect(BlackBerryDeviceConnectionManager::instance(), SIGNAL(connectionOutput(Core::Id, QString)),
|
connect(BlackBerryDeviceConnectionManager::instance(), SIGNAL(connectionOutput(Core::Id,QString)),
|
||||||
this, SLOT(appendConnectionLog(Core::Id, QString)));
|
this, SLOT(appendConnectionLog(Core::Id,QString)));
|
||||||
connect(BlackBerryDeviceConnectionManager::instance(), SIGNAL(deviceAboutToConnect(Core::Id)),
|
connect(BlackBerryDeviceConnectionManager::instance(), SIGNAL(deviceAboutToConnect(Core::Id)),
|
||||||
this, SLOT(clearConnectionLog(Core::Id)));
|
this, SLOT(clearConnectionLog(Core::Id)));
|
||||||
|
|
||||||
|
|||||||
@@ -127,8 +127,8 @@ bool Qt4BuildConfiguration::fromMap(const QVariantMap &map)
|
|||||||
|
|
||||||
m_lastKitState = LastKitState(target()->kit());
|
m_lastKitState = LastKitState(target()->kit());
|
||||||
|
|
||||||
connect(ProjectExplorer::ToolChainManager::instance(), SIGNAL(toolChainUpdated(ProjectExplorer::ToolChain *)),
|
connect(ProjectExplorer::ToolChainManager::instance(), SIGNAL(toolChainUpdated(ProjectExplorer::ToolChain*)),
|
||||||
this, SLOT(toolChainUpdated(ProjectExplorer::ToolChain *)));
|
this, SLOT(toolChainUpdated(ProjectExplorer::ToolChain*)));
|
||||||
connect(QtSupport::QtVersionManager::instance(), SIGNAL(qtVersionsChanged(QList<int>,QList<int>,QList<int>)),
|
connect(QtSupport::QtVersionManager::instance(), SIGNAL(qtVersionsChanged(QList<int>,QList<int>,QList<int>)),
|
||||||
this, SLOT(qtVersionsChanged(QList<int>,QList<int>,QList<int>)));
|
this, SLOT(qtVersionsChanged(QList<int>,QList<int>,QList<int>)));
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user