From 233411bc1e69ef0ea72b173a7f6b26124c346857 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20R=C3=B8dal?= Date: Tue, 26 Jul 2011 17:04:08 +0200 Subject: Added Q_GUI_EXPORT for some internal symbols needed in QtWidgets. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I1e3ba974ebb1200095ddd32a905acaab3cea1c1e Reviewed-on: http://codereview.qt.nokia.com/2207 Reviewed-by: Qt Sanity Bot Reviewed-by: Jørgen Lind --- src/gui/painting/qpathclipper_p.h | 2 +- src/gui/painting/qregion.cpp | 2 +- src/gui/text/qcssparser_p.h | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/gui/painting/qpathclipper_p.h b/src/gui/painting/qpathclipper_p.h index 742cabda81..fe4a97ad4c 100644 --- a/src/gui/painting/qpathclipper_p.h +++ b/src/gui/painting/qpathclipper_p.h @@ -68,7 +68,7 @@ QT_MODULE(Gui) class QWingedEdge; -class Q_AUTOTEST_EXPORT QPathClipper +class Q_GUI_EXPORT QPathClipper { public: enum Operation { diff --git a/src/gui/painting/qregion.cpp b/src/gui/painting/qregion.cpp index 0e58331768..d3a43c4193 100644 --- a/src/gui/painting/qregion.cpp +++ b/src/gui/painting/qregion.cpp @@ -1014,7 +1014,7 @@ void addSegmentsToPath(Segment *segment, QPainterPath &path) } -Q_AUTOTEST_EXPORT QPainterPath qt_regionToPath(const QRegion ®ion) +Q_GUI_EXPORT QPainterPath qt_regionToPath(const QRegion ®ion) { QPainterPath result; if (region.rectCount() == 1) { diff --git a/src/gui/text/qcssparser_p.h b/src/gui/text/qcssparser_p.h index 427d8b2bcb..4fa8bb0540 100644 --- a/src/gui/text/qcssparser_p.h +++ b/src/gui/text/qcssparser_p.h @@ -416,7 +416,7 @@ struct BorderData { // 4. QVector - { prop1: value1; prop2: value2; } // 5. Declaration - prop1: value1; -struct Q_AUTOTEST_EXPORT Declaration +struct Q_GUI_EXPORT Declaration { struct DeclarationData : public QSharedData { @@ -552,7 +552,7 @@ struct BasicSelector Relation relationToNext; }; -struct Q_AUTOTEST_EXPORT Selector +struct Q_GUI_EXPORT Selector { QVector basicSelectors; int specificity() const; @@ -565,7 +565,7 @@ struct MediaRule; struct PageRule; struct ImportRule; -struct Q_AUTOTEST_EXPORT ValueExtractor +struct Q_GUI_EXPORT ValueExtractor { ValueExtractor(const QVector &declarations, const QPalette & = QPalette()); @@ -739,7 +739,7 @@ struct Q_GUI_EXPORT Symbol QString lexem() const; }; -class Q_AUTOTEST_EXPORT Scanner +class Q_GUI_EXPORT Scanner { public: static QString preprocess(const QString &input, bool *hasEscapeSequences = 0); -- cgit v1.2.3