• Skip to content
  • Skip to link menu
KDE 4.6 API Reference
  • KDE API Reference
  • KDE-PIM Libraries
  • KDE Home
  • Contact Us
 

KBlog Client Library

metaweblog.h
Go to the documentation of this file.
00001 /*
00002   This file is part of the kblog library.
00003 
00004   Copyright (c) 2004 Reinhold Kainhofer <reinhold@kainhofer.com>
00005   Copyright (c) 2006-2007 Christian Weilbach <christian_weilbach@web.de>
00006   Copyright (c) 2007 Mike McQuaid <mike@mikemcquaid.com>
00007 
00008   This library is free software; you can redistribute it and/or
00009   modify it under the terms of the GNU Library General Public
00010   License as published by the Free Software Foundation; either
00011   version 2 of the License, or (at your option) any later version.
00012 
00013   This library is distributed in the hope that it will be useful,
00014   but WITHOUT ANY WARRANTY; without even the implied warranty of
00015   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00016   Library General Public License for more details.
00017 
00018   You should have received a copy of the GNU Library General Public License
00019   along with this library; see the file COPYING.LIB.  If not, write to
00020   the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00021   Boston, MA 02110-1301, USA.
00022 */
00023 
00024 #ifndef KBLOG_METAWEBLOG_H
00025 #define KBLOG_METAWEBLOG_H
00026 
00027 #include <kblog/blogger1.h>
00028 
00029 class KUrl;
00030 
00040 namespace KBlog {
00041 
00042     class MetaWeblogPrivate;
00065 class KBLOG_EXPORT MetaWeblog : public Blogger1
00066 {
00067   Q_OBJECT
00068   public:
00075     explicit MetaWeblog( const KUrl &server, QObject *parent = 0 );
00076 
00080     virtual ~MetaWeblog();
00081 
00085     QString interfaceName() const;
00086 
00092     virtual void listCategories();
00093 
00099     virtual void createMedia( KBlog::BlogMedia *media );
00100 
00101   Q_SIGNALS:
00102 
00111     void createdMedia( KBlog::BlogMedia *media );
00112 
00122     void listedCategories( const QList<QMap<QString,QString> >& categories );
00123 
00124   protected:
00128     MetaWeblog( const KUrl &server, MetaWeblogPrivate &dd, QObject *parent = 0 );
00129 
00130   private:
00131     Q_DECLARE_PRIVATE( MetaWeblog )
00132     Q_PRIVATE_SLOT( d_func(),
00133                     void slotListCategories( const QList<QVariant> &, const QVariant & ) )
00134     Q_PRIVATE_SLOT( d_func(),
00135                     void slotCreateMedia( const QList<QVariant> &, const QVariant & ) )
00136 };
00137 
00138 } //namespace KBlog
00139 #endif

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
  •   contact
  •   kmime
  • kabc
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmbox
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  •   richtextbuilders
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Generated for KDE-PIM Libraries by doxygen 1.7.4
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