1 | /* |
2 | This file is part of the kblog library. |
3 | |
4 | Copyright (c) 2007 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 BLOGPOST_P_H |
24 | #define BLOGPOST_P_H |
25 | |
26 | #include "blogpost.h" |
27 | |
28 | #include <QtCore/QStringList> |
29 | #include <kdatetime.h> |
30 | #include <kurl.h> |
31 | |
32 | namespace KBlog{ |
33 | |
34 | class BlogPostPrivate |
35 | { |
36 | public: |
37 | bool mPrivate; |
38 | BlogPost *q_ptr; |
39 | QString mPostId; |
40 | QString mTitle; |
41 | QString mContent; |
42 | QString mAdditionalContent; |
43 | QString mWpSlug; |
44 | QStringList mCategories; |
45 | QString mError; |
46 | QString mJournalId; |
47 | QString mSummary; |
48 | QStringList mTags; |
49 | QString mMood; |
50 | QString mMusic; |
51 | bool ; |
52 | bool mTrackBackAllowed; |
53 | KUrl mLink, mPermaLink; |
54 | BlogPost::Status mStatus; |
55 | KDateTime mCreationDateTime; |
56 | KDateTime mModificationDateTime; |
57 | QString cleanRichText( QString richText ) const; |
58 | }; |
59 | |
60 | } // namespace |
61 | #endif |
62 | |