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

KBlog Client Library

  • kblog
movabletype.h
Go to the documentation of this file.
1/*
2 This file is part of the kblog library.
3
4 Copyright (c) 2007-2009 Christian Weilbach <christian_weilbach@web.de>
5 Copyright (c) 2007 Mike McQuaid <mike@mikemcquaid.com>
6
7 This library is free software; you can redistribute it and/or
8 modify it under the terms of the GNU Library General Public
9 License as published by the Free Software Foundation; either
10 version 2 of the License, or (at your option) any later version.
11
12 This library is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 Library General Public License for more details.
16
17 You should have received a copy of the GNU Library General Public License
18 along with this library; see the file COPYING.LIB. If not, write to
19 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20 Boston, MA 02110-1301, USA.
21*/
22
23#ifndef KBLOG_MOVABLETYPE_H
24#define KBLOG_MOVABLETYPE_H
25
26#include <kblog/metaweblog.h>
27
28class KUrl;
29
38
39namespace KBlog {
40
41 class MovableTypePrivate;
60class KBLOG_EXPORT MovableType : public MetaWeblog
61{
62 Q_OBJECT
63 public:
70 explicit MovableType( const KUrl &server, QObject *parent = 0 );
71
75 virtual ~MovableType();
76
80 QString interfaceName() const;
81
90 void listRecentPosts( int number );
91
102 virtual void listTrackBackPings( KBlog::BlogPost *post );
103
104 void createPost( KBlog::BlogPost *post );
105
106 void modifyPost( KBlog::BlogPost *post );
107
108 void fetchPost( KBlog::BlogPost *post );
109
110 Q_SIGNALS:
119 void listedTrackBackPings( KBlog::BlogPost *post, const QList<QMap<QString,QString> > &pings );
120
121 protected:
125 MovableType( const KUrl &server, MovableTypePrivate &dd, QObject *parent = 0 );
126
127 private:
128 Q_DECLARE_PRIVATE( MovableType )
129 Q_PRIVATE_SLOT( d_func(),
130 void slotListTrackBackPings( const QList<QVariant> &, const QVariant & ) )
131 Q_PRIVATE_SLOT( d_func(),
132 void slotCreatePost( const QList<QVariant> &, const QVariant & ) )
133 Q_PRIVATE_SLOT( d_func(),
134 void slotModifyPost( const QList<QVariant> &, const QVariant & ) )
135 Q_PRIVATE_SLOT( d_func(),
136 void slotGetPostCategories(const QList<QVariant>&,const QVariant&) )
137 Q_PRIVATE_SLOT( d_func(),
138 void slotSetPostCategories(const QList<QVariant>&,const QVariant&) )
139 Q_PRIVATE_SLOT( d_func(),
140 void slotTriggerCreatePost() )
141 Q_PRIVATE_SLOT( d_func(),
142 void slotTriggerModifyPost() )
143 Q_PRIVATE_SLOT( d_func(),
144 void slotTriggerFetchPost() )
145};
146
147} //namespace KBlog
148#endif
KBlog::BlogPost
A class that represents a blog post on the server.
Definition blogpost.h:69
KBlog::MetaWeblog::MetaWeblog
MetaWeblog(const KUrl &server, QObject *parent=0)
Create an object for MetaWeblog.
Definition metaweblog.cpp:40
KBlog::MovableType::listTrackBackPings
virtual void listTrackBackPings(KBlog::BlogPost *post)
Get the list of trackback pings from the server.
Definition movabletype.cpp:75
KBlog::MovableType::MovableType
MovableType(const KUrl &server, QObject *parent=0)
Create an object for Movable Type.
Definition movabletype.cpp:39
KBlog::MovableType::interfaceName
QString interfaceName() const
Returns the of the inherited object.
Definition movabletype.cpp:57
KBlog::MovableType::modifyPost
void modifyPost(KBlog::BlogPost *post)
Modify a post on server.
Definition movabletype.cpp:148
KBlog::MovableType::listedTrackBackPings
void listedTrackBackPings(KBlog::BlogPost *post, const QList< QMap< QString, QString > > &pings)
This signal is emitted when the trackback pings are fetched completely.
KBlog::MovableType::listRecentPosts
void listRecentPosts(int number)
List recent posts on the server.
Definition movabletype.cpp:62
KBlog::MovableType::fetchPost
void fetchPost(KBlog::BlogPost *post)
Fetch a post from the server.
Definition movabletype.cpp:90
KBlog::MovableType::createPost
void createPost(KBlog::BlogPost *post)
Create a new post on server.
Definition movabletype.cpp:112
metaweblog.h
This file is part of the for accessing Blog Servers and defines the MetaWeblog class.
KBlog
Namespace for blog related classes.
Definition blog.h:53
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 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