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

blogilo

  • sources
  • kde-4.12
  • kdepim
  • blogilo
  • src
bilboblog.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 BILBOBLOG_H
26 #define BILBOBLOG_H
27 
28 #include "constants.h"
29 
30 #include <kurl.h>
31 #include <kblog/blog.h>
32 
33 #include <QObject>
40 class BilboBlog : public QObject
41 {
42  Q_OBJECT
43 public:
44  enum ApiType {
45  BLOGGER1_API = 0, METAWEBLOG_API, MOVABLETYPE_API, WORDPRESSBUGGY_API, GDATA_API
46  };
47 
48  explicit BilboBlog( QObject *parent = 0 );
49  BilboBlog( const BilboBlog & );
50  ~BilboBlog();
51 
52  KBlog::Blog *blogBackend();
60  KUrl url() const;
61  void setUrl( const KUrl& );
62  QString blogid() const;
63  void setBlogId( const QString& );
64  QString username() const;
65  void setUsername( const QString& );
66  QString password() const;
67  void setPassword( const QString& );
68  QString title() const;
69  void setTitle( const QString& );
70 // QString stylePath() const;
71 // void setStylePath( const QString& );
72  ApiType api() const;
73  void setApi( const ApiType );
74  int id() const;//id in DB
75  void setId( const int );
76  Qt::LayoutDirection direction() const;
77  void setDirection( const Qt::LayoutDirection );
78  QString localDirectory() const;
79  void setLocalDirectory( const QString& );
80  bool isError() const;
81  void setError(bool isError);
82 
83  bool supportUploadMedia() const;
84  bool supportCategory() const;
85  bool supportTag() const;
86 // bool supportComments() const;
94  QString blogUrl() const;
95  void setBlogUrl(const QString &blogUrl);
96 
97 private:
98  class Private;
99  Private * const d;
100 };
101 
102 #endif
BilboBlog::blogBackend
KBlog::Blog * blogBackend()
Definition: bilboblog.cpp:83
BilboBlog::setApi
void setApi(const ApiType)
Definition: bilboblog.cpp:176
BilboBlog::METAWEBLOG_API
Definition: bilboblog.h:45
BilboBlog::password
QString password() const
Definition: bilboblog.cpp:151
BilboBlog::localDirectory
QString localDirectory() const
Definition: bilboblog.cpp:233
BilboBlog::setTitle
void setTitle(const QString &)
Definition: bilboblog.cpp:166
constants.h
BilboBlog::isError
bool isError() const
Definition: bilboblog.cpp:111
BilboBlog::supportUploadMedia
bool supportUploadMedia() const
Definition: bilboblog.cpp:256
BilboBlog::title
QString title() const
Definition: bilboblog.cpp:161
QObject
BilboBlog::BilboBlog
BilboBlog(QObject *parent=0)
Definition: bilboblog.cpp:55
BilboBlog::supportTag
bool supportTag() const
Definition: bilboblog.cpp:266
BilboBlog::WORDPRESSBUGGY_API
Definition: bilboblog.h:45
BilboBlog::blogid
QString blogid() const
Definition: bilboblog.cpp:131
BilboBlog::setId
void setId(const int)
Definition: bilboblog.cpp:218
BilboBlog
Blog definition class!
Definition: bilboblog.h:40
BilboBlog::setDirection
void setDirection(const Qt::LayoutDirection)
Definition: bilboblog.cpp:228
BilboBlog::setPassword
void setPassword(const QString &)
Definition: bilboblog.cpp:156
BilboBlog::~BilboBlog
~BilboBlog()
Definition: bilboblog.cpp:78
BilboBlog::setUsername
void setUsername(const QString &)
Definition: bilboblog.cpp:146
BilboBlog::username
QString username() const
Definition: bilboblog.cpp:141
BilboBlog::supportCategory
bool supportCategory() const
Definition: bilboblog.cpp:261
BilboBlog::GDATA_API
Definition: bilboblog.h:45
BilboBlog::setUrl
void setUrl(const KUrl &)
Definition: bilboblog.cpp:126
BilboBlog::direction
Qt::LayoutDirection direction() const
Definition: bilboblog.cpp:223
BilboBlog::id
int id() const
Definition: bilboblog.cpp:213
BilboBlog::setLocalDirectory
void setLocalDirectory(const QString &)
Definition: bilboblog.cpp:238
BilboBlog::BLOGGER1_API
Definition: bilboblog.h:45
BilboBlog::setError
void setError(bool isError)
Definition: bilboblog.cpp:116
BilboBlog::ApiType
ApiType
Definition: bilboblog.h:44
BilboBlog::MOVABLETYPE_API
Definition: bilboblog.h:45
BilboBlog::url
KUrl url() const
returns blog xmlrpc Url! For http://bilbo.wordpress.com : it's url() is http://bilbo.wordpress.com/xmlrpc.php and it's blogUrl() is http://bilbo.wordpress.com/
Definition: bilboblog.cpp:121
BilboBlog::blogUrl
QString blogUrl() const
return Blog Actual Url! For http://bilbo.wordpress.com : it's url() is http://bilbo.wordpress.com/xmlrpc.php and it's blogUrl() is http://bilbo.wordpress.com/
Definition: bilboblog.cpp:243
BilboBlog::api
ApiType api() const
Definition: bilboblog.cpp:171
BilboBlog::setBlogId
void setBlogId(const QString &)
Definition: bilboblog.cpp:136
BilboBlog::setBlogUrl
void setBlogUrl(const QString &blogUrl)
Definition: bilboblog.cpp:251
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:55:44 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

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