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:
Oswald Buddenhagen
2009-12-04 19:22:12 +01:00
parent b4e7500dbe
commit 3657acac5f
6 changed files with 25 additions and 25 deletions

View File

@@ -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();