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() && !applicationVersion.isEmpty() ) {
70 userAgent =
'(' + applicationName +
'/' + applicationVersion +
") KDE-KBlog/";
72 userAgent =
"KDE-KBlog/";
74 userAgent += KDE_VERSION_STRING;
138 BlogPrivate::BlogPrivate() : q_ptr(0)
142 BlogPrivate::~BlogPrivate()
144 kDebug() <<
"~BlogPrivate()";
This file is part of the KDE documentation.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Mon Dec 10 2012 13:46:47 by
doxygen 1.8.1.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.