kpimutils
Go to the documentation of this file.
29 #ifndef KPIMUTILS_LINKLOCATOR_H
30 #define KPIMUTILS_LINKLOCATOR_H
32 #include "kpimutils_export.h"
34 #include <QtCore/QString>
58 explicit LinkLocator(
const QString &text,
int pos = 0 );
74 void setMaxUrlLen(
int length );
81 int maxUrlLen()
const;
93 void setMaxAddressLen(
int length );
99 int maxAddressLen()
const;
121 QString getEmailAddress();
143 static QString convertToHtml(
const QString &plainText,
int flags = 0,
144 int maxUrlLen = 4096,
int maxAddressLen = 255 );
146 static const int PreserveSpaces = 0x01;
147 static const int ReplaceSmileys = 0x02;
148 static const int IgnoreUrls = 0x04;
149 static const int HighlightText = 0x08;
156 static QString pngToDataUrl(
const QString & iconPath );
170 bool isEmptyUrl(
const QString &url )
const;
176 QString highlightedText();
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Sat Jul 13 2013 01:26:05 by
doxygen 1.8.3.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.