diff options
author | hjk <qthjk@ovi.com> | 2011-11-17 22:12:18 +0100 |
---|---|---|
committer | hjk <qthjk@ovi.com> | 2011-11-18 15:54:20 +0100 |
commit | dcc4b445439be3d835ee61807dbcf95edafd9d0e (patch) | |
tree | 72c94c8cc098400b60d23017a5eb1af09252bf7e /installerbuilder/libinstaller/qtpatch.h | |
parent | 48654f2d61e9b7065664031d2fecadd7b07ca139 (diff) |
Code cosmetics.
Change-Id: Ia42fccff507fce1e999d4534656984b6ebf5184b
Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
Diffstat (limited to 'installerbuilder/libinstaller/qtpatch.h')
-rw-r--r-- | installerbuilder/libinstaller/qtpatch.h | 33 |
1 files changed, 17 insertions, 16 deletions
diff --git a/installerbuilder/libinstaller/qtpatch.h b/installerbuilder/libinstaller/qtpatch.h index 73170917e..d38c4dc8d 100644 --- a/installerbuilder/libinstaller/qtpatch.h +++ b/installerbuilder/libinstaller/qtpatch.h @@ -32,21 +32,22 @@ #include <QHash> #include <QFile> -namespace QtPatch -{ - QHash<QString, QByteArray> INSTALLER_EXPORT qmakeValues(const QString &qmakePath, QByteArray * qmakeOutput); - - bool INSTALLER_EXPORT patchBinaryFile( const QString &fileName, - const QByteArray &oldQtPath, - const QByteArray &newQtPath ); - - bool INSTALLER_EXPORT patchBinaryFile( QIODevice* device, - const QByteArray &oldQtPath, - const QByteArray &newQtPath ); - - bool INSTALLER_EXPORT patchTextFile( const QString &fileName, - const QHash<QByteArray, QByteArray> &searchReplacePairs); - bool INSTALLER_EXPORT openFileForPatching(QFile* file); -}; +namespace QtPatch { + +QHash<QString, QByteArray> INSTALLER_EXPORT qmakeValues(const QString &qmakePath, QByteArray *qmakeOutput); + +bool INSTALLER_EXPORT patchBinaryFile(const QString &fileName, + const QByteArray &oldQtPath, + const QByteArray &newQtPath ); + +bool INSTALLER_EXPORT patchBinaryFile(QIODevice *device, + const QByteArray &oldQtPath, + const QByteArray &newQtPath ); + +bool INSTALLER_EXPORT patchTextFile(const QString &fileName, + const QHash<QByteArray, QByteArray> &searchReplacePairs); +bool INSTALLER_EXPORT openFileForPatching(QFile *file); + +} #endif // QTPATCH_H |