KBlog Client Library
metaweblog.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
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 }
00139 #endif