1/*
2 This file is part of the kblog library.
3
4 Copyright (c) 2007-2009 Christian Weilbach <christian_weilbach@web.de>
5 Copyright (c) 2007 Mike McQuaid <mike@mikemcquaid.com>
6
7 This library is free software; you can redistribute it and/or
8 modify it under the terms of the GNU Library General Public
9 License as published by the Free Software Foundation; either
10 version 2 of the License, or (at your option) any later version.
11
12 This library is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 Library General Public License for more details.
16
17 You should have received a copy of the GNU Library General Public License
18 along with this library; see the file COPYING.LIB. If not, write to
19 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20 Boston, MA 02110-1301, USA.
21*/
22
23#ifndef WORDPRESSBUGGY_P_H
24#define WORDPRESSBUGGY_P_H
25
26#include "wordpressbuggy.h"
27#include "movabletype_p.h"
28
29#include <kxmlrpcclient/client.h>
30
31class KJob;
32class QByteArray;
33template <class T,class S>class QMap;
34
35namespace KIO
36{
37 class Job;
38}
39
40namespace KBlog {
41
42class WordpressBuggyPrivate : public MovableTypePrivate
43{
44 public:
45 QMap<KJob *,KBlog::BlogPost *> mCreatePostMap;
46 QMap<KJob *,KBlog::BlogPost *> mModifyPostMap;
47 WordpressBuggyPrivate();
48 virtual ~WordpressBuggyPrivate();
49 virtual QList<QVariant> defaultArgs( const QString &id = QString() );
50
51 //adding these two lines prevents the symbols from MovableTypePrivate
52 //to be hidden by the symbols below that.
53 using MovableTypePrivate::slotCreatePost;
54 using MovableTypePrivate::slotModifyPost;
55 virtual void slotCreatePost( KJob * );
56 virtual void slotModifyPost( KJob * );
57 Q_DECLARE_PUBLIC( WordpressBuggy )
58};
59
60}
61
62#endif
63