• 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
blogsettings.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 BLOGSETTINGS_H
26 #define BLOGSETTINGS_H
27 
28 #include <QWidget>
29 #include "bilboblog.h"
30 #include "ui_blogsettingsbase.h"
31 
32 class BlogSettings : public QWidget, public Ui::SettingsBlogsBase
33 {
34  Q_OBJECT
35 public:
36  explicit BlogSettings( QWidget *parent = 0 );
37  ~BlogSettings();
38 
39 signals:
40  void blogAdded( const BilboBlog &blog );
41  void blogEdited( const BilboBlog &blog );
42  void blogRemoved( int blog_id );
43 
44 protected slots:
45  void addBlog();
46  void editBlog();
47  void removeBlog();
48  void loadBlogsList();
49 
50 private slots:
51  void slotBlogAdded( const BilboBlog &blog );
52  void slotBlogEdited( const BilboBlog &blog );
53  void blogsTablestateChanged();
54 
55 private:
56  void addBlogToList( const BilboBlog &blog );
57  enum BlogType {
58  BlogId = QTreeWidgetItem::UserType +1
59  };
60 
61 };
62 
63 #endif // SETTINGSBLOGS_H
QWidget
BlogSettings::blogEdited
void blogEdited(const BilboBlog &blog)
BlogSettings::addBlog
void addBlog()
Definition: blogsettings.cpp:56
BlogSettings::editBlog
void editBlog()
Definition: blogsettings.cpp:73
BlogSettings::removeBlog
void removeBlog()
Definition: blogsettings.cpp:98
BlogSettings::BlogSettings
BlogSettings(QWidget *parent=0)
Definition: blogsettings.cpp:33
BlogSettings::blogAdded
void blogAdded(const BilboBlog &blog)
BilboBlog
Blog definition class!
Definition: bilboblog.h:40
bilboblog.h
BlogSettings::~BlogSettings
~BlogSettings()
Definition: blogsettings.cpp:52
BlogSettings
Definition: blogsettings.h:32
QObject::parent
QObject * parent() const
BlogSettings::loadBlogsList
void loadBlogsList()
Definition: blogsettings.cpp:116
BlogSettings::blogRemoved
void blogRemoved(int blog_id)
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