summaryrefslogtreecommitdiff
path: root/src/plugins/coreplugin/documentmanager.h
diff options
context:
space:
mode:
authorOrgad Shaneh <orgad.shaneh@audiocodes.com>2016-02-02 09:10:54 +0200
committerOrgad Shaneh <orgads@gmail.com>2016-02-03 07:54:02 +0000
commit5646480f27007789429c7e813423c7f142810cc3 (patch)
tree29452400aa66e2dc8b17f4ef643128aff25ba8ce /src/plugins/coreplugin/documentmanager.h
parent7a9cc3499e81185ec24ce383cefc0f6e43f00ce4 (diff)
downloadqt-creator-5646480f27007789429c7e813423c7f142810cc3.tar.gz
Core: Use Qt5-style connects
The heavy lifting was done by clazy. Change-Id: I2dde14919d917816d02117338205f8f861d8af0a Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
Diffstat (limited to 'src/plugins/coreplugin/documentmanager.h')
-rw-r--r--src/plugins/coreplugin/documentmanager.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/src/plugins/coreplugin/documentmanager.h b/src/plugins/coreplugin/documentmanager.h
index 7ad36b3403..f2eaf8fc26 100644
--- a/src/plugins/coreplugin/documentmanager.h
+++ b/src/plugins/coreplugin/documentmanager.h
@@ -45,7 +45,10 @@ namespace Core {
class IContext;
class IDocument;
-namespace Internal { class MainWindow; }
+namespace Internal {
+class DocumentManagerPrivate;
+class MainWindow;
+}
class CORE_EXPORT DocumentManager : public QObject
{
@@ -148,19 +151,18 @@ signals:
protected:
bool eventFilter(QObject *obj, QEvent *e);
-private slots:
- void documentDestroyed(QObject *obj);
- void checkForNewFileName();
- void checkForReload();
- void changedFile(const QString &file);
-
private:
explicit DocumentManager(QObject *parent);
~DocumentManager();
+ void documentDestroyed(QObject *obj);
+ void checkForNewFileName();
+ void checkForReload();
+ void changedFile(const QString &file);
void filePathChanged(const Utils::FileName &oldName, const Utils::FileName &newName);
friend class Core::Internal::MainWindow;
+ friend class Core::Internal::DocumentManagerPrivate;
};
/*! The FileChangeBlocker blocks all change notifications to all IDocument * that