KBlog Client Library
movabletype_p.h
00001 /* 00002 This file is part of the kblog library. 00003 00004 Copyright (c) 2007-2009 Christian Weilbach <christian_weilbach@web.de> 00005 Copyright (c) 2007 Mike McQuaid <mike@mikemcquaid.com> 00006 00007 This library is free software; you can redistribute it and/or 00008 modify it under the terms of the GNU Library General Public 00009 License as published by the Free Software Foundation; either 00010 version 2 of the License, or (at your option) any later version. 00011 00012 This library is distributed in the hope that it will be useful, 00013 but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00015 Library General Public License for more details. 00016 00017 You should have received a copy of the GNU Library General Public License 00018 along with this library; see the file COPYING.LIB. If not, write to 00019 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 00020 Boston, MA 02110-1301, USA. 00021 */ 00022 00023 #ifndef MOVABLETYPE_P_H 00024 #define MOVABLETYPE_P_H 00025 00026 #include "movabletype.h" 00027 #include "metaweblog_p.h" 00028 00029 #include <kxmlrpcclient/client.h> 00030 class KJob; 00031 class QByteArray; 00032 00033 namespace KIO 00034 { 00035 class Job; 00036 } 00037 00038 namespace KBlog { 00039 00040 class MovableTypePrivate : public MetaWeblogPrivate 00041 { 00042 public: 00043 QMap<KJob *,QByteArray> mSetPostCategoriesBuffer; 00044 QMap<KJob *, QString> mSetPostCategoriesMap; 00045 MovableTypePrivate(); 00046 virtual ~MovableTypePrivate(); 00047 virtual void slotListTrackBackPings( const QList<QVariant> &result, 00048 const QVariant &id ); 00049 void slotCreatePost( const QList<QVariant> &, const QVariant & ); 00050 void slotFetchPost( const QList<QVariant> &, const QVariant & ); 00051 void slotModifyPost( const QList<QVariant> &, const QVariant & ); 00052 void slotSetPostCategories(const QList<QVariant>&,const QVariant&); 00053 void slotGetPostCategories(const QList<QVariant>&,const QVariant&); 00054 void slotTriggerCreatePost(); 00055 void slotTriggerModifyPost(); 00056 void slotTriggerFetchPost(); 00057 Q_DECLARE_PUBLIC( MovableType ) 00058 00059 QList<QVariant> defaultArgs( const QString &id = QString() ); 00060 virtual void setPostCategories( BlogPost *post, bool publishAfterCategories ); 00061 bool readPostFromMap( BlogPost *post, const QMap<QString, QVariant> &postInfo ); 00062 bool readArgsFromPost( QList<QVariant> *args, const BlogPost &post ); 00063 QMap<int,bool> mPublishAfterCategories; 00064 QList<BlogPost*> mCreatePostCache; 00065 QList<BlogPost*> mModifyPostCache; 00066 QList<BlogPost*> mFetchPostCache; 00067 QList<BlogPost*> mSilentCreationList; 00068 }; 00069 00070 } 00071 00072 #endif
This file is part of the KDE documentation.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Thu May 10 2012 22:16:52 by doxygen 1.8.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2012 The KDE developers.
Generated on Thu May 10 2012 22:16:52 by doxygen 1.8.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.