forked from qt-creator/qt-creator
Core: Use Qt5-style connects
The heavy lifting was done by clazy. Change-Id: I2dde14919d917816d02117338205f8f861d8af0a Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
7a9cc3499e
commit
5646480f27
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user