summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuel Rødal <samuel.rodal@nokia.com>2011-07-26 17:04:08 +0200
committerJørgen Lind <jorgen.lind@nokia.com>2011-07-27 12:16:51 +0200
commit233411bc1e69ef0ea72b173a7f6b26124c346857 (patch)
treea5362562a26b94b58a065edabc1bbe121f4ae119
parent2d114e45a8737c82f83fa60c1763abb75275c426 (diff)
Added Q_GUI_EXPORT for some internal symbols needed in QtWidgets.
Change-Id: I1e3ba974ebb1200095ddd32a905acaab3cea1c1e Reviewed-on: http://codereview.qt.nokia.com/2207 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
-rw-r--r--src/gui/painting/qpathclipper_p.h2
-rw-r--r--src/gui/painting/qregion.cpp2
-rw-r--r--src/gui/text/qcssparser_p.h8
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 &region)
+Q_GUI_EXPORT QPainterPath qt_regionToPath(const QRegion &region)
{
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<Declaration> - { 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<BasicSelector> 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<Declaration> &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);