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;
00064 class KBLOG_EXPORT MetaWeblog : public Blogger1
00065 {
00066 Q_OBJECT
00067 public:
00074 explicit MetaWeblog( const KUrl &server, QObject *parent = 0 );
00075
00079 virtual ~MetaWeblog();
00080
00084 QString interfaceName() const;
00085
00091 virtual void listCategories();
00092
00098 virtual void createMedia( KBlog::BlogMedia *media );
00099
00100 Q_SIGNALS:
00101
00110 void createdMedia( KBlog::BlogMedia *media );
00111
00121 void listedCategories( const QList<QMap<QString,QString> >& categories );
00122
00123 protected:
00127 MetaWeblog( const KUrl &server, MetaWeblogPrivate &dd, QObject *parent = 0 );
00128
00129 private:
00130 Q_DECLARE_PRIVATE( MetaWeblog )
00131 Q_PRIVATE_SLOT( d_func(),
00132 void slotListCategories( const QList<QVariant> &, const QVariant & ) )
00133 Q_PRIVATE_SLOT( d_func(),
00134 void slotCreateMedia( const QList<QVariant> &, const QVariant & ) )
00135 };
00136
00137 }
00138 #endif