Syndication
8#ifndef SYNDICATION_TOOLS_H
9#define SYNDICATION_TOOLS_H
12#include "syndication_export.h"
41uint parseISODate(
const QString &str);
52uint parseRFCDate(
const QString &str);
68uint parseDate(
const QString &str, DateFormat hint = RFCDate);
80QString dateTimeToString(uint date);
88QString resolveEntities(
const QString &str);
95QString escapeSpecialCharacters(
const QString &str);
102QString convertNewlines(
const QString &str);
110QString plainTextToHtml(
const QString &plainText);
119QString htmlToPlainText(
const QString &html);
129bool isHtml(
const QString &str);
141bool stringContainsMarkup(
const QString &str);
153QString normalize(
const QString &str);
174QString normalize(
const QString &str,
bool isCDATA,
bool containsMarkup);
185PersonPtr personFromString(
const QString &str);
191unsigned int calcHash(
const QString &str);
197unsigned int calcHash(
const QByteArray &array);
203QString calcMD5Sum(
const QString &str);
211 ElementType(
const QString &localnamep,
212 const QString &nsp = QString());
214 bool operator==(
const ElementType &other)
const;
KIOCORE_EXPORT bool operator==(const UDSEntry &entry, const UDSEntry &other)
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:48:38 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.