qtextdocument.h File Reference

#include <QtCore/qobject.h>
#include <QtCore/qsize.h>
#include <QtCore/qrect.h>
#include <QtGui/qfont.h>

Go to the source code of this file.

Classes

class   QAbstractUndoItem
class   QTextDocument

Namespaces

namespace   Qt

Enumerations

enum   HitTestAccuracy { ExactHit, FuzzyHit }
enum   WhiteSpaceMode { WhiteSpaceNormal, WhiteSpacePre, WhiteSpaceNoWrap, WhiteSpaceModeUndefined = -1 }

Functions

Q_GUI_EXPORT bool  mightBeRichText (const QString &)
Q_GUI_EXPORT QString  escape (const QString &plain)
Q_GUI_EXPORT QString  convertFromPlainText (const QString &plain, WhiteSpaceMode mode=WhiteSpacePre)
Q_GUI_EXPORT QTextCodec codecForHtml (const QByteArray &ba)