KBlog Client Library
gdata_p.h
00001 /* 00002 This file is part of the kblog library. 00003 00004 Copyright (c) 2007 Christian Weilbach <christian_weilbach@web.de> 00005 00006 This library is free software; you can redistribute it and/or 00007 modify it under the terms of the GNU Library General Public 00008 License as published by the Free Software Foundation; either 00009 version 2 of the License, or (at your option) any later version. 00010 00011 This library is distributed in the hope that it will be useful, 00012 but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00014 Library General Public License for more details. 00015 00016 You should have received a copy of the GNU Library General Public License 00017 along with this library; see the file COPYING.LIB. If not, write to 00018 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 00019 Boston, MA 02110-1301, USA. 00020 */ 00021 00022 #ifndef KBLOG_GDATA_P_H 00023 #define KBLOG_GDATA_P_H 00024 00025 #include "gdata.h" 00026 #include "blog_p.h" 00027 00028 #include <syndication/loader.h> 00029 00030 class KJob; 00031 class QDateTime; 00032 class QByteArray; 00033 template <class T,class S>class QMap; 00034 00035 namespace KIO 00036 { 00037 class Job; 00038 } 00039 00040 namespace KBlog { 00041 00042 class GDataPrivate : public BlogPrivate 00043 { 00044 public: 00045 QString mAuthenticationString; 00046 QDateTime mAuthenticationTime; 00047 QMap<KJob *,KBlog::BlogPost*> mCreatePostMap; 00048 QMap<KJob *,QMap<KBlog::BlogPost *,KBlog::BlogComment *> > mCreateCommentMap; 00049 QMap<KJob *,QMap<KBlog::BlogPost *,KBlog::BlogComment *> > mRemoveCommentMap; 00050 QMap<KJob *,KBlog::BlogPost *> mModifyPostMap; 00051 QMap<KJob *,KBlog::BlogPost *> mRemovePostMap; 00052 QMap<Syndication::Loader *,KBlog::BlogPost *> mFetchPostMap; 00053 QMap<Syndication::Loader *,KBlog::BlogPost *> mListCommentsMap; 00054 QMap<Syndication::Loader *,int> mListRecentPostsMap; 00055 QString mFullName; 00056 QString mProfileId; 00057 GDataPrivate(); 00058 ~GDataPrivate(); 00059 bool authenticate(); 00060 virtual void slotFetchProfileId( KJob * ); 00061 virtual void slotListBlogs( Syndication::Loader *, 00062 Syndication::FeedPtr, Syndication::ErrorCode ); 00063 virtual void slotListComments( Syndication::Loader *, 00064 Syndication::FeedPtr, Syndication::ErrorCode ); 00065 virtual void slotListAllComments( Syndication::Loader *, 00066 Syndication::FeedPtr, Syndication::ErrorCode ); 00067 virtual void slotListRecentPosts( Syndication::Loader *, 00068 Syndication::FeedPtr, Syndication::ErrorCode ); 00069 virtual void slotFetchPost( Syndication::Loader *, 00070 Syndication::FeedPtr, Syndication::ErrorCode ); 00071 virtual void slotCreatePost( KJob * ); 00072 virtual void slotModifyPost( KJob * ); 00073 virtual void slotRemovePost( KJob * ); 00074 virtual void slotCreateComment( KJob * ); 00075 virtual void slotRemoveComment( KJob * ); 00076 Q_DECLARE_PUBLIC( GData ) 00077 }; 00078 00079 } 00080 #endif
This file is part of the KDE documentation.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Mon May 7 2012 23:53:43 by doxygen 1.8.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2012 The KDE developers.
Generated on Mon May 7 2012 23:53:43 by doxygen 1.8.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.