From dcc4b445439be3d835ee61807dbcf95edafd9d0e Mon Sep 17 00:00:00 2001 From: hjk Date: Thu, 17 Nov 2011 22:12:18 +0100 Subject: Code cosmetics. Change-Id: Ia42fccff507fce1e999d4534656984b6ebf5184b Reviewed-by: Karsten Heimrich --- installerbuilder/libinstaller/qtpatch.h | 33 +++++++++++++++++---------------- 1 file changed, 17 insertions(+), 16 deletions(-) (limited to 'installerbuilder/libinstaller/qtpatch.h') 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 #include -namespace QtPatch -{ - QHash 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 &searchReplacePairs); - bool INSTALLER_EXPORT openFileForPatching(QFile* file); -}; +namespace QtPatch { + +QHash 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 &searchReplacePairs); +bool INSTALLER_EXPORT openFileForPatching(QFile *file); + +} #endif // QTPATCH_H -- cgit v1.2.3