summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qstatictext.cpp
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 /src/gui/text/qstatictext.cpp
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 'src/gui/text/qstatictext.cpp')
-rw-r--r--src/gui/text/qstatictext.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/text/qstatictext.cpp b/src/gui/text/qstatictext.cpp
index 4daa40d..922920e 100644
--- a/src/gui/text/qstatictext.cpp
+++ b/src/gui/text/qstatictext.cpp
@@ -39,8 +39,8 @@
**
****************************************************************************/
-#include "qstatictext.h"
#include "qstatictext_p.h"
+#include "qstatictext_p_p.h"
#include <private/qtextengine_p.h>
#include <private/qfontengine_p.h>
@@ -50,6 +50,7 @@ QT_BEGIN_NAMESPACE
/*!
\class QStaticText
+ \internal
\brief The QStaticText class enables optimized drawing of text when the text and its layout
is updated rarely.
\since 4.7