wordpressbuggy_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 Arthur <mike@mikearthur.co.uk>
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 WORDPRESSBUGGY_P_H
00024 #define WORDPRESSBUGGY_P_H
00025 
00026 #include "wordpressbuggy.h"
00027 #include "movabletype_p.h"
00028 
00029 #include <kxmlrpcclient/client.h>
00030 
00031 class KJob;
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 WordpressBuggyPrivate : public MovableTypePrivate
00043 {
00044   public:
00045     QMap<KJob *,KBlog::BlogPost *> mCreatePostMap;
00046     QMap<KJob *,KBlog::BlogPost *> mModifyPostMap;
00047     WordpressBuggyPrivate();
00048     virtual ~WordpressBuggyPrivate();
00049     virtual QList<QVariant> defaultArgs( const QString &id = QString() );
00050 
00051     virtual void slotCreatePost( KJob * );
00052     virtual void slotModifyPost( KJob * );
00053     Q_DECLARE_PUBLIC( WordpressBuggy )
00054 };
00055 
00056 }
00057 
00058 #endif
KDE Home | KDE Accessibility Home | Description of Access Keys