Qt4PriFileNode: Add const to baseVPaths and fullVPaths

Change-Id: Ia36969f0802c96c657079d6f71d49fb484a600ad
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
This commit is contained in:
Daniel Teske
2012-06-05 17:27:10 +02:00
committed by Oswald Buddenhagen
parent cc6c3eab1a
commit 7339ab60e6
2 changed files with 6 additions and 4 deletions

View File

@@ -543,7 +543,7 @@ struct InternalNode
};
}
QStringList Qt4PriFileNode::baseVPaths(QtSupport::ProFileReader *reader, const QString &projectDir)
QStringList Qt4PriFileNode::baseVPaths(QtSupport::ProFileReader *reader, const QString &projectDir) const
{
QStringList result;
if (!reader)
@@ -555,7 +555,8 @@ QStringList Qt4PriFileNode::baseVPaths(QtSupport::ProFileReader *reader, const Q
return result;
}
QStringList Qt4PriFileNode::fullVPaths(const QStringList &baseVPaths, QtSupport::ProFileReader *reader, FileType type, const QString &qmakeVariable, const QString &projectDir)
QStringList Qt4PriFileNode::fullVPaths(const QStringList &baseVPaths, QtSupport::ProFileReader *reader,
FileType type, const QString &qmakeVariable, const QString &projectDir) const
{
QStringList vPaths;
if (!reader)

View File

@@ -190,8 +190,9 @@ private:
bool priFileWritable(const QString &path);
bool saveModifiedEditors();
QStringList formResources(const QString &formFile) const;
QStringList baseVPaths(QtSupport::ProFileReader *reader, const QString &projectDir);
QStringList fullVPaths(const QStringList &baseVPaths, QtSupport::ProFileReader *reader, FileType type, const QString &qmakeVariable, const QString &projectDir);
QStringList baseVPaths(QtSupport::ProFileReader *reader, const QString &projectDir) const;
QStringList fullVPaths(const QStringList &baseVPaths, QtSupport::ProFileReader *reader,
FileType type, const QString &qmakeVariable, const QString &projectDir) const;
void watchFolders(const QSet<QString> &folders);
Qt4Project *m_project;