From: Friedemann Kleint Date: Mon, 5 Dec 2011 12:38:19 +0000 (+0100) Subject: test/debugutils: Add include guard. X-Git-Tag: qt-v5.0.0-alpha1~907 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=50abddf19437895df0ad799de559eb0e0d374e79;p=profile%2Fivi%2Fqtdeclarative.git test/debugutils: Add include guard. Change-Id: I3d65569851169ce4aa350b0268ec5ca1c516613e Reviewed-by: Kai Koehne --- diff --git a/tests/auto/declarative/debugger/shared/debugutil.cpp b/tests/auto/declarative/debugger/shared/debugutil.cpp index b0ba5f2..04770a9 100644 --- a/tests/auto/declarative/debugger/shared/debugutil.cpp +++ b/tests/auto/declarative/debugger/shared/debugutil.cpp @@ -38,16 +38,15 @@ ** $QT_END_LICENSE$ ** ****************************************************************************/ -#include + +#include "debugutil_p.h" + #include #include #include #include -#include "debugutil_p.h" - - bool QDeclarativeDebugTest::waitForSignal(QObject *receiver, const char *member, int timeout) { QEventLoop loop; QTimer timer; diff --git a/tests/auto/declarative/debugger/shared/debugutil_p.h b/tests/auto/declarative/debugger/shared/debugutil_p.h index d24d2d9..cb0e10c 100644 --- a/tests/auto/declarative/debugger/shared/debugutil_p.h +++ b/tests/auto/declarative/debugger/shared/debugutil_p.h @@ -1,3 +1,4 @@ + /**************************************************************************** ** ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). @@ -38,9 +39,11 @@ ** $QT_END_LICENSE$ ** ****************************************************************************/ -#include + +#ifndef DEBUGUTIL_H +#define DEBUGUTIL_H + #include -#include #include #include #include @@ -117,3 +120,5 @@ private: QMutex m_mutex; bool m_started; }; + +#endif // DEBUGUTIL_H