From 6aa3acf3e1a8a45cc820e2132aac030ed86a6a15 Mon Sep 17 00:00:00 2001 From: Eskil Abrahamsen Blomfeldt Date: Mon, 17 Aug 2009 16:17:25 +0200 Subject: Allow access to QStaticTextPrivate from autotests Remove a private include which was unresolvable in autotests (because it indirectly included a 3rdparty header) and add Q_AUTOTEST_EXPORT. --- src/gui/text/qstatictext_p.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/gui/text/qstatictext_p.h b/src/gui/text/qstatictext_p.h index e1ae80d..2cb1262 100644 --- a/src/gui/text/qstatictext_p.h +++ b/src/gui/text/qstatictext_p.h @@ -53,12 +53,11 @@ // We mean it. // -#include -#include +#include QT_BEGIN_NAMESPACE -class QStaticTextItem +class Q_AUTOTEST_EXPORT QStaticTextItem { public: QStaticTextItem() : chars(0), numChars(0), fontEngine(0) {} @@ -78,7 +77,7 @@ public: }; class QStaticText; -class QStaticTextPrivate +class Q_AUTOTEST_EXPORT QStaticTextPrivate { public: QStaticTextPrivate(); -- cgit v0.12