• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdepimlibs-4.8.5 API Reference
  • KDE Home
  • Contact Us
 

KBlog Client Library

metaweblog_p.h
00001 /*
00002     This file is part of the kblog library.
00003 
00004     Copyright (c) 2006-2007 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 METAWEBLOG_P_H
00024 #define METAWEBLOG_P_H
00025 
00026 #include "metaweblog.h"
00027 #include "blogger1_p.h"
00028 
00029 #include <kxmlrpcclient/client.h>
00030 
00031 namespace KBlog {
00032 
00033 class MetaWeblogPrivate : public Blogger1Private
00034 {
00035   public:
00036     QMap<QString,QString> mCategories;
00037     QList<QMap<QString,QString> > mCategoriesList;
00038     unsigned int mCallMediaCounter;
00039     QMap<unsigned int,KBlog::BlogMedia*> mCallMediaMap;
00040     MetaWeblogPrivate();
00041     ~MetaWeblogPrivate();
00042     virtual void loadCategories();
00043     virtual void saveCategories();
00044     virtual void slotListCategories( const QList<QVariant> &result,
00045                                      const QVariant &id );
00046     virtual void slotCreateMedia( const QList<QVariant> &result,
00047                                   const QVariant &id );
00048     Q_DECLARE_PUBLIC( MetaWeblog )
00049 
00050     QList<QVariant> defaultArgs( const QString &id = QString() );
00051     bool readPostFromMap( BlogPost *post, const QMap<QString, QVariant> &postInfo );
00052     bool readArgsFromPost( QList<QVariant> *args, const BlogPost &post );
00053     QString getCallFromFunction( FunctionToCall type );
00054     bool mCatLoaded;
00055 };
00056 
00057 }
00058 #endif
This file is part of the KDE documentation.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Thu Aug 2 2012 15:24:08 by doxygen 1.7.5 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KBlog Client Library

Skip menu "KBlog Client Library"
  • Main Page
  • Namespace List
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • Related Pages

kdepimlibs-4.8.5 API Reference

Skip menu "kdepimlibs-4.8.5 API Reference"
  • akonadi
  •   contact
  •   kmime
  • kabc
  • kalarmcal
  • 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
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal