• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdepimlibs-4.14.10 API Reference
  • KDE Home
  • Contact Us
 

KBlog Client Library

  • kblog
blogger1.h
Go to the documentation of this file.
1/*
2 This file is part of the kblog library.
3
4 Copyright (c) 2004 Reinhold Kainhofer <reinhold@kainhofer.com>
5 Copyright (c) 2006-2007 Christian Weilbach <christian_weilbach@web.de>
6 Copyright (c) 2007 Mike McQuaid <mike@mikemcquaid.com>
7
8 This library is free software; you can redistribute it and/or
9 modify it under the terms of the GNU Library General Public
10 License as published by the Free Software Foundation; either
11 version 2 of the License, or (at your option) any later version.
12
13 This library is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 Library General Public License for more details.
17
18 You should have received a copy of the GNU Library General Public License
19 along with this library; see the file COPYING.LIB. If not, write to
20 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
21 Boston, MA 02110-1301, USA.
22*/
23
24#ifndef KBLOG_BLOGGER1_H
25#define KBLOG_BLOGGER1_H
26
27#include <kblog/blog.h>
28
29class KUrl;
30
40namespace KBlog {
41
42class Blogger1Private;
43
65class KBLOG_EXPORT Blogger1 : public Blog
66{
67 Q_OBJECT
68 public:
75 explicit Blogger1( const KUrl &server, QObject *parent = 0 );
76
80 virtual ~Blogger1();
81
85 QString interfaceName() const;
86
92 void setUrl( const KUrl &server );
93
99 virtual void fetchUserInfo();
100
105 virtual void listBlogs();
106
116 void listRecentPosts( int number );
117
127 void fetchPost( KBlog::BlogPost *post );
128
137 void modifyPost( KBlog::BlogPost *post );
138
146 void createPost( KBlog::BlogPost *post );
147
157 void removePost( KBlog::BlogPost *post );
158
159 Q_SIGNALS:
160
170 void listedBlogs( const QList<QMap<QString,QString> >& blogsList );
171
182 void fetchedUserInfo( const QMap<QString,QString> &userInfo );
183
184 protected:
188 Blogger1( const KUrl &server, Blogger1Private &dd, QObject *parent = 0 );
189
190 private:
191 Q_DECLARE_PRIVATE( Blogger1 )
192 Q_PRIVATE_SLOT( d_func(),
193 void slotFetchUserInfo( const QList<QVariant> &, const QVariant & ) )
194 Q_PRIVATE_SLOT( d_func(),
195 void slotListBlogs( const QList<QVariant> &, const QVariant & ) )
196 Q_PRIVATE_SLOT( d_func(),
197 void slotListRecentPosts( const QList<QVariant> &, const QVariant & ) )
198 Q_PRIVATE_SLOT( d_func(),
199 void slotFetchPost( const QList<QVariant> &, const QVariant & ) )
200 Q_PRIVATE_SLOT( d_func(),
201 void slotCreatePost( const QList<QVariant> &, const QVariant & ) )
202 Q_PRIVATE_SLOT( d_func(),
203 void slotModifyPost( const QList<QVariant> &, const QVariant & ) )
204 Q_PRIVATE_SLOT( d_func(),
205 void slotRemovePost( const QList<QVariant> &, const QVariant & ) )
206 Q_PRIVATE_SLOT( d_func(),
207 void slotError( int, const QString &, const QVariant & ) )
208};
209
210} //namespace KBlog
211#endif
blog.h
This is the main interface for blogging APIs.
KBlog::BlogPost
A class that represents a blog post on the server.
Definition: blogpost.h:69
KBlog::Blog
A class that provides methods to call functions on a supported blog web application.
Definition: blog.h:72
KBlog::Blogger1
A class that can be used for access to Blogger 1.0 blogs.
Definition: blogger1.h:66
KBlog::Blogger1::listedBlogs
void listedBlogs(const QList< QMap< QString, QString > > &blogsList)
This signal is emitted when a listBlogs() job fetches the blog information from the blogging server.
KBlog::Blogger1::fetchedUserInfo
void fetchedUserInfo(const QMap< QString, QString > &userInfo)
This signal is emitted when a fetchUserInfo() job fetches the blog information from the blogging serv...
KBlog
Namespace for blog related classes.
Definition: blog.h:53
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Jul 21 2022 00:00:00 by doxygen 1.9.5 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KBlog Client Library

Skip menu "KBlog Client Library"
  • Main Page
  • Namespace List
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • Related Pages

kdepimlibs-4.14.10 API Reference

Skip menu "kdepimlibs-4.14.10 API Reference"
  • akonadi
  •   contact
  •   kmime
  •   socialutils
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmbox
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal