29 #ifndef IRCTEXTFORMAT_H
30 #define IRCTEXTFORMAT_H
33 #include <QtCore/qurl.h>
34 #include <QtCore/qlist.h>
35 #include <QtCore/qobject.h>
36 #include <QtCore/qstring.h>
37 #include <QtCore/qmetatype.h>
38 #include <QtCore/qscopedpointer.h>
43 class IrcTextFormatPrivate;
49 Q_PROPERTY(
QString urlPattern READ urlPattern WRITE setUrlPattern)
50 Q_PROPERTY(
QString plainText READ plainText)
62 void setUrlPattern(const
QString& pattern);
66 SpanFormat spanFormat()
const;
67 void setSpanFormat(SpanFormat format);
77 void parse(
const QString& text);
87 Q_DECLARE_METATYPE(IRC_PREPEND_NAMESPACE(IrcTextFormat*))
88 Q_DECLARE_METATYPE(IRC_PREPEND_NAMESPACE(IrcTextFormat::SpanFormat))
90 #endif // IRCTEXTFORMAT_H
Specifies a palette of IRC colors.
Definition: ircpalette.h:43
HTML span-elements with style-attributes.
Definition: irctextformat.h:64
Provides methods for text formatting.
Definition: irctextformat.h:45
SpanFormat
Definition: irctextformat.h:64