• Skip to content
  • Skip to link menu
KDE 4.3 API Reference
  • KDE API Reference
  • KDE-PIM Libraries
  • Sitemap
  • Contact Us
 

KBlog Client Library

KBlog::MovableType

KBlog::MovableType Class Reference

A class that can be used for access to Movable Type blogs. More...

#include <movabletype.h>

Inheritance diagram for KBlog::MovableType:

Inheritance graph
[legend]

List of all members.


Signals

void listedTrackBackPings (KBlog::BlogPost *post, const QList< QMap< QString, QString > > &pings)

Public Member Functions

QString interfaceName () const
void listRecentPosts (int number)
virtual void listTrackBackPings (KBlog::BlogPost *post)
 MovableType (const KUrl &server, QObject *parent=0)
virtual ~MovableType ()

Protected Member Functions

 MovableType (const KUrl &server, MovableTypePrivate &dd, QObject *parent=0)

Detailed Description

A class that can be used for access to Movable Type blogs.

Almost every blog server supports Movable Type.

  Blog* myblog = new MovableType("http://example.com/xmlrpc/gateway.php");
  myblog->setUsername( "some_user_id" );
  myblog->setPassword( "YoURFunnyPAsSwoRD" );
  myblog->setBlogId( "1" ); // can be caught by listBlogs()
  KBlog::BlogPost *post = new BlogPost();
  post->setTitle( "This is the title." );
  post->setContent( "Here is some the content..." );
  myblog->createPost( post );

Author:
Christian Weilbach <christian_weilbach@web.de>

Mike Arthur <mike@mikearthur.co.uk>

Definition at line 60 of file movabletype.h.


Constructor & Destructor Documentation

MovableType::MovableType ( const KUrl &  server,
QObject *  parent = 0 
) [explicit]

Create an object for Movable Type.

Parameters:
server is the url for the xmlrpc gateway.
parent is the parent object.

Definition at line 38 of file movabletype.cpp.

MovableType::~MovableType (  )  [virtual]

Destroy the object.

Definition at line 51 of file movabletype.cpp.

MovableType::MovableType ( const KUrl &  server,
MovableTypePrivate &  dd,
QObject *  parent = 0 
) [protected]

Constructor needed for private inheritance.

Definition at line 44 of file movabletype.cpp.


Member Function Documentation

QString MovableType::interfaceName (  )  const [virtual]

Returns the of the inherited object.

Reimplemented from KBlog::MetaWeblog.

Reimplemented in KBlog::WordpressBuggy.

Definition at line 56 of file movabletype.cpp.

void KBlog::MovableType::listedTrackBackPings ( KBlog::BlogPost *  post,
const QList< QMap< QString, QString > > &  pings 
) [signal]

This signal is emitted when the trackback pings are fetched completely.

Parameters:
post This is the post of the trackback ping list.
pings This is the list itself. The map contains the keys: id, url, ip.
See also:
listTrackBackPings()

void MovableType::listRecentPosts ( int  number  )  [virtual]

List recent posts on the server.

The status of the posts will be Fetched.

Parameters:
number The number of posts to fetch. Latest first.
See also:
void listedRecentPosts( const QList<KBlog::BlogPost>& )

BlogPost::Status

Reimplemented from KBlog::Blogger1.

Definition at line 61 of file movabletype.cpp.

void MovableType::listTrackBackPings ( KBlog::BlogPost *  post  )  [virtual]

Get the list of trackback pings from the server.

Parameters:
post This is the post to get the trackback pings from. You need to set its id correctly.
See also:
BlogPost::setPostId( const QString& )

listedTrackBackPings( KBlog::BlogPost *, const QList<QMap<QString,QString> >& )

Definition at line 74 of file movabletype.cpp.


The documentation for this class was generated from the following files:
  • movabletype.h
  • movabletype.cpp

KBlog Client Library

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

KDE-PIM Libraries

Skip menu "KDE-PIM Libraries"
  • akonadi
  • kabc
  • kblog
  • kcal
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  • kldap
  • kmime
  • kpimidentities
  • kpimtextedit
  •   richtextbuilders
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Generated for KDE-PIM Libraries by doxygen 1.5.9
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal