summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>2010-02-01 11:51:35 (GMT)
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>2010-02-01 11:51:35 (GMT)
commit942cf8cc8504af0683c3d03c886418fb9e69bd7d (patch)
tree6859a2b992817a47d010693e6ab35235d3eda99b /tests/auto
parent81b89c410a0df438db65b6124b4db94c8628c52c (diff)
downloadQt-942cf8cc8504af0683c3d03c886418fb9e69bd7d.zip
Qt-942cf8cc8504af0683c3d03c886418fb9e69bd7d.tar.gz
Qt-942cf8cc8504af0683c3d03c886418fb9e69bd7d.tar.bz2
Make QStaticText private API
Turns QStaticText into private API in preparation for Qt 4.6.x. The related functions in QPainter are marked as internal in the docs. There are already internal functions in QPainter, so this seemed like a reasonable solution. Since the functions require QStaticText they will not be accessible to anyone who does not include private API.
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/qstatictext/tst_qstatictext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qstatictext/tst_qstatictext.cpp b/tests/auto/qstatictext/tst_qstatictext.cpp
index ca83f2f..9ad389d 100644
--- a/tests/auto/qstatictext/tst_qstatictext.cpp
+++ b/tests/auto/qstatictext/tst_qstatictext.cpp
@@ -42,10 +42,10 @@
#include <QtTest/QtTest>
#include <QtGui/QApplication>
#include <QtGui/QPainter>
-#include <QtGui/QStaticText>
#include <QtGui/QImage>
#include <private/qstatictext_p.h>
+#include <private/qstatictext_p_p.h>
// #define DEBUG_SAVE_IMAGE