KBlog Client Library
26 #include "blogpost_p.h"
28 #include <kdeversion.h>
32 using namespace KBlog;
34 Blog::Blog(
const KUrl &server, QObject *parent,
const QString &applicationName,
35 const QString &applicationVersion ) :
36 QObject( parent ), d_ptr( new BlogPrivate )
43 Blog::Blog(
const KUrl &server, BlogPrivate &dd, QObject *parent,
44 const QString &applicationName,
const QString &applicationVersion )
45 : QObject( parent ), d_ptr( &dd )
54 kDebug() <<
"~Blog()";
65 const QString &applicationVersion )
69 if ( !applicationName.isEmpty() &&
70 !applicationVersion.isEmpty() ) {
71 userAgent =
'(' + applicationName +
'/' + applicationVersion +
") KDE-KBlog/";
73 userAgent =
"KDE-KBlog/";
75 userAgent += KDE_VERSION_STRING;
139 BlogPrivate::BlogPrivate() : q_ptr(0)
143 BlogPrivate::~BlogPrivate()
145 kDebug() <<
"~BlogPrivate()";
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Sat Jul 13 2013 01:24:42 by
doxygen 1.8.3.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.