Syndication Library
23 #include "enclosure.h"
27 namespace Syndication {
36 info += QLatin1String(
"# Enclosure begin #################\n");
42 info += QLatin1String(
"url: #") + durl + QLatin1String(
"#\n");
45 QString dtitle =
title();
49 info += QLatin1String(
"title: #") + dtitle + QLatin1String(
"#\n");
52 QString dtype =
type();
56 info += QLatin1String(
"type: #") + dtype + QLatin1String(
"#\n");
63 info += QLatin1String(
"length: #") + QString::number(dlength) + QLatin1String(
"#\n");
70 int hours = dduration / 3600;
71 int minutes = (dduration - hours*3600) / 60;
72 int seconds = dduration - hours*3600 - minutes*60;
73 info += QString::fromLatin1(
"duration: #%1 (%2:%3:%4)#\n").arg(dduration).arg(hours).arg(minutes).arg(seconds);
76 info += QLatin1String(
"# Enclosure end ###################\n");
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Sat Jul 13 2013 01:26:15 by
doxygen 1.8.3.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.