diff options
author | Orgad Shaneh <orgad.shaneh@audiocodes.com> | 2017-03-19 19:58:10 +0200 |
---|---|---|
committer | Orgad Shaneh <orgads@gmail.com> | 2017-03-20 09:57:53 +0000 |
commit | d70968cde81b6dc1a478364fb4723775d7763edb (patch) | |
tree | 21823c6e356199154d377672a0836f31a9a9f648 /src/plugins/qmljstools | |
parent | 485fa9c888f6ff34c80e50b879c0e161059d422f (diff) | |
download | qt-creator-d70968cde81b6dc1a478364fb4723775d7763edb.tar.gz |
QmlJSTools: Use Qt5-style connect in comment
Change-Id: I97bbb4cf71e2c99ab7bae9e5104c36d176cf21b0
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Diffstat (limited to 'src/plugins/qmljstools')
-rw-r--r-- | src/plugins/qmljstools/qmljstoolsplugin.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/plugins/qmljstools/qmljstoolsplugin.cpp b/src/plugins/qmljstools/qmljstoolsplugin.cpp index 74b64ed6e5..66d805dcd5 100644 --- a/src/plugins/qmljstools/qmljstoolsplugin.cpp +++ b/src/plugins/qmljstools/qmljstoolsplugin.cpp @@ -72,12 +72,12 @@ bool QmlJSToolsPlugin::initialize(const QStringList &arguments, QString *error) // Objects m_modelManager = new ModelManager(this); -// VCSManager *vcsManager = core->vcsManager(); -// DocumentManager *fileManager = core->fileManager(); -// connect(vcsManager, SIGNAL(repositoryChanged(QString)), -// m_modelManager, SLOT(updateModifiedSourceFiles())); -// connect(fileManager, SIGNAL(filesChangedInternally(QStringList)), -// m_modelManager, SLOT(updateSourceFiles(QStringList))); +// Core::VcsManager *vcsManager = Core::VcsManager::instance(); +// Core::DocumentManager *documentManager = Core::DocumentManager::instance(); +// connect(vcsManager, &Core::VcsManager::repositoryChanged, +// m_modelManager, &ModelManager::updateModifiedSourceFiles); +// connect(documentManager, &DocumentManager::filesChangedInternally, +// m_modelManager, &ModelManager::updateSourceFiles); LocatorData *locatorData = new LocatorData; addAutoReleasedObject(locatorData); |