KBlog Client Library
23#ifndef KBLOG_BLOGMEDIA_H
24#define KBLOG_BLOGMEDIA_H
26#include <kblog/kblog_export.h>
28#include <QtCore/QtAlgorithms>
34class BlogMediaPrivate;
83 void setName(
const QString &name );
100 void setUrl(
const KUrl &url );
108 QString mimetype()
const;
116 void setMimetype(
const QString &mimetype );
124 QByteArray data()
const;
132 void setData(
const QByteArray &data );
153 Status status()
const;
162 void setStatus( Status status );
169 QString error()
const;
177 void setError(
const QString &error );
189 qSwap( this->d_ptr, other.d_ptr );
193 BlogMediaPrivate *d_ptr;
A class that represents a media object on the server.
void swap(BlogMedia &other)
The swap operator.
Status
The different possible status.
@ Created
Status of a media object successfully created on the server.
@ New
Status of freshly constructed media object on the client side.
Namespace for blog related classes.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by
doxygen 1.10.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.