forked from qt-creator/qt-creator
move various functions from Qt4PriFileNode to Qt4ProFileNode
findProFileFor(), buildDir() and createProFileReader() make sense only in relation with an actual pro file anyway, so move them there.
This commit is contained in:
@@ -128,10 +128,6 @@ public:
|
||||
bool renameFile(const FileType fileType,
|
||||
const QString &filePath, const QString &newFilePath);
|
||||
|
||||
Qt4PriFileNode *findProFileFor(const QString &string);
|
||||
|
||||
//internal
|
||||
ProFileReader *createProFileReader() const;
|
||||
protected:
|
||||
void clear();
|
||||
static QStringList varNames(FileType type);
|
||||
@@ -150,8 +146,6 @@ protected:
|
||||
QStringList *notChanged,
|
||||
ChangeType change);
|
||||
|
||||
QString buildDir() const;
|
||||
|
||||
private slots:
|
||||
void scheduleUpdate();
|
||||
|
||||
@@ -197,9 +191,16 @@ public:
|
||||
void updateCodeModelSupportFromBuild(const QStringList &files);
|
||||
void updateCodeModelSupportFromEditor(const QString &uiFileName, Designer::FormWindowEditor *fw);
|
||||
|
||||
QString buildDir() const;
|
||||
|
||||
QString uiDirectory() const;
|
||||
static QString uiHeaderFile(const QString &uiDir, const QString &formFile);
|
||||
|
||||
Qt4ProFileNode *findProFileFor(const QString &string);
|
||||
|
||||
//internal
|
||||
ProFileReader *createProFileReader() const;
|
||||
|
||||
public slots:
|
||||
void scheduleUpdate();
|
||||
void update();
|
||||
|
||||
Reference in New Issue
Block a user