• 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
addeditblog.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 ADDEDITBLOG_H
26 #define ADDEDITBLOG_H
27 
28 #include <KDialog>
29 
30 #include "ui_addeditblogbase.h"
31 #include "bilboblog.h"
32 
33 #include <kblog/blog.h>
34 
35 class BilboBlog;
36 class KJob;
37 class WaitWidget;
38 
43 class AddEditBlog: public KDialog
44 {
45  Q_OBJECT
46 public:
52  explicit AddEditBlog( int blog_id, QWidget *parent = 0, Qt::WindowFlags flags = 0 );
53  ~AddEditBlog();
54 
55 protected Q_SLOTS:
56  virtual void slotButtonClicked( int button );
57  void enableAutoConfBtn();
58  void enableOkButton( const QString & );
59  void autoConfigure();
60  void fetchBlogId();
61 
62  void fetchedBlogId( const QList<QMap<QString, QString> >& list );
63 
64  void handleFetchIDTimeout();
65  void handleFetchAPITimeout();
66  void handleFetchError( KBlog::Blog::ErrorType type, const QString& errorMsg );
67 
68  void slotReturnPressed();
69  void setSupportedFeatures( BilboBlog::ApiType api );
70  void slotComboApiChanged( int index );
71 
72  void gotHtml( KJob * );
73  void gotXmlRpcTest( KJob *job );
74 
75  void bloggerAuthenticated( const QMap<QString, QString>& authData );
76 Q_SIGNALS:
77  void sigBlogAdded( const BilboBlog& );
78  void sigBlogEdited( const BilboBlog& );
79 
80 private:
81  void showWaitWidget( QString text );
82  void hideWaitWidget();
83 
84  class Private;
85  Private * const d;
86 };
87 
88 #endif
AddEditBlog::slotComboApiChanged
void slotComboApiChanged(int index)
Definition: addeditblog.cpp:546
AddEditBlog::bloggerAuthenticated
void bloggerAuthenticated(const QMap< QString, QString > &authData)
Definition: addeditblog.cpp:617
QWidget
AddEditBlog::gotHtml
void gotHtml(KJob *)
Definition: addeditblog.cpp:184
AddEditBlog::enableAutoConfBtn
void enableAutoConfBtn()
Definition: addeditblog.cpp:122
AddEditBlog::handleFetchError
void handleFetchError(KBlog::Blog::ErrorType type, const QString &errorMsg)
Definition: addeditblog.cpp:346
QMap< QString, QString >
KDialog
AddEditBlog::handleFetchIDTimeout
void handleFetchIDTimeout()
Definition: addeditblog.cpp:316
AddEditBlog::fetchBlogId
void fetchBlogId()
Definition: addeditblog.cpp:270
AddEditBlog::~AddEditBlog
~AddEditBlog()
Definition: addeditblog.cpp:464
AddEditBlog::setSupportedFeatures
void setSupportedFeatures(BilboBlog::ApiType api)
Definition: addeditblog.cpp:470
BilboBlog
Blog definition class!
Definition: bilboblog.h:40
WaitWidget
This class is the widget for the WaitDialog including a progress bar.
Definition: waitwidget.h:36
AddEditBlog::AddEditBlog
AddEditBlog(int blog_id, QWidget *parent=0, Qt::WindowFlags flags=0)
Definition: addeditblog.cpp:70
AddEditBlog::gotXmlRpcTest
void gotXmlRpcTest(KJob *job)
Definition: addeditblog.cpp:246
QString
QList
AddEditBlog::sigBlogEdited
void sigBlogEdited(const BilboBlog &)
bilboblog.h
AddEditBlog::enableOkButton
void enableOkButton(const QString &)
Definition: addeditblog.cpp:441
AddEditBlog::slotReturnPressed
void slotReturnPressed()
Definition: addeditblog.cpp:448
AddEditBlog::handleFetchAPITimeout
void handleFetchAPITimeout()
Definition: addeditblog.cpp:333
AddEditBlog::fetchedBlogId
void fetchedBlogId(const QList< QMap< QString, QString > > &list)
Definition: addeditblog.cpp:355
Qt::WindowFlags
typedef WindowFlags
BilboBlog::ApiType
ApiType
Definition: bilboblog.h:44
AddEditBlog::sigBlogAdded
void sigBlogAdded(const BilboBlog &)
AddEditBlog
Definition: addeditblog.h:43
AddEditBlog::slotButtonClicked
virtual void slotButtonClicked(int button)
Definition: addeditblog.cpp:552
AddEditBlog::autoConfigure
void autoConfigure()
Definition: addeditblog.cpp:133
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