• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdepim API Reference
  • KDE Home
  • Contact Us
 

blogilo

  • sources
  • kde-4.14
  • kdepim
  • blogilo
  • src
bilbopost.h
Go to the documentation of this file.
1 /*
2  This file is part of Blogilo, A KDE Blogging Client
3 
4  Copyright (C) 2008-2010 Mehrdad Momeny <mehrdad.momeny@gmail.com>
5  Copyright (C) 2008-2010 Golnaz Nilieh <g382nilieh@gmail.com>
6 
7  This program is free software; you can redistribute it and/or
8  modify it under the terms of the GNU General Public License as
9  published by the Free Software Foundation; either version 2 of
10  the License or (at your option) version 3 or any later version
11  accepted by the membership of KDE e.V. (or its successor approved
12  by the membership of KDE e.V.), which shall act as a proxy
13  defined in Section 14 of version 3 of the license.
14 
15 
16  This program is distributed in the hope that it will be useful,
17  but WITHOUT ANY WARRANTY; without even the implied warranty of
18  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19  GNU General Public License for more details.
20 
21  You should have received a copy of the GNU General Public License
22  along with this program; if not, see http://www.gnu.org/licenses/
23 */
24 
25 #ifndef BILBOPOST_H
26 #define BILBOPOST_H
27 
28 #include "category.h"
29 
30 #include <kblog/blogpost.h>
31 
32 
33 class BilboPostPrivate;
34 
41 class BilboPost : public KBlog::BlogPost
42 {
43 public:
44  BilboPost();
45  explicit BilboPost( const KBlog::BlogPost& );
46  BilboPost( const BilboPost& );
47  ~BilboPost();
48 
49  QString author() const;
50  void setAuthor( const QString& );
51 
52  int id() const;
53  void setId( const int );
54 
55  //To be used for local_post and temp_post tabels
56  int localId() const;
57  void setLocalId( const int );
58 
59  QString toString() const;
60 
61  bool isModifyTimeStamp() const;
62  void setModifyTimeStamp( bool willModify );
63 
64  QList<Category> categoryList() const;
65  void setCategoryList( const QList<Category> &list );
66 
70  void setProperties( const BilboPost& postProp );
71 
75  BilboPost &operator=( const BilboPost &other );
76 
77 private:
78  BilboPostPrivate * d_ptr;
79 };
80 
81 #endif
BilboPost::localId
int localId() const
Definition: bilbopost.cpp:97
BilboPost::setAuthor
void setAuthor(const QString &)
Definition: bilbopost.cpp:92
category.h
BilboPost::setLocalId
void setLocalId(const int)
Definition: bilbopost.cpp:102
BilboPost::~BilboPost
~BilboPost()
Definition: bilbopost.cpp:72
BilboPost
Definition of a blog post! it's implemented to decrease dependency to KBlog :)
Definition: bilbopost.h:41
BilboPost::setModifyTimeStamp
void setModifyTimeStamp(bool willModify)
Definition: bilbopost.cpp:131
BilboPost::setProperties
void setProperties(const BilboPost &postProp)
Set all properties of post to new one, instead of Title and Content!
Definition: bilbopost.cpp:152
QString
QList< Category >
BilboPost::author
QString author() const
Definition: bilbopost.cpp:77
BilboPost::setId
void setId(const int)
Definition: bilbopost.cpp:82
BilboPost::BilboPost
BilboPost()
Definition: bilbopost.cpp:40
BilboPost::categoryList
QList< Category > categoryList() const
Definition: bilbopost.cpp:136
BilboPost::toString
QString toString() const
Definition: bilbopost.cpp:107
BilboPost::operator=
BilboPost & operator=(const BilboPost &other)
The overloaed = operator.
Definition: bilbopost.cpp:172
BilboPost::id
int id() const
Definition: bilbopost.cpp:87
BilboPost::isModifyTimeStamp
bool isModifyTimeStamp() const
Definition: bilbopost.cpp:126
BilboPost::setCategoryList
void setCategoryList(const QList< Category > &list)
Definition: bilbopost.cpp:141
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:32:16 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

blogilo

Skip menu "blogilo"
  • Main Page
  • Namespace List
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer
  • pimprint

Search



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