• 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
  • composer
bilbobrowser.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  Copyright (C) 2013-2015 Laurent Montel <montel@kde.org>
7 
8  This program is free software; you can redistribute it and/or
9  modify it under the terms of the GNU General Public License as
10  published by the Free Software Foundation; either version 2 of
11  the License or (at your option) version 3 or any later version
12  accepted by the membership of KDE e.V. (or its successor approved
13  by the membership of KDE e.V.), which shall act as a proxy
14  defined in Section 14 of version 3 of the license.
15 
16 
17  This program is distributed in the hope that it will be useful,
18  but WITHOUT ANY WARRANTY; without even the implied warranty of
19  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20  GNU General Public License for more details.
21 
22  You should have received a copy of the GNU General Public License
23  along with this program; if not, see http://www.gnu.org/licenses/
24 */
25 
26 #ifndef BILBOBROWSER_H
27 #define BILBOBROWSER_H
28 
29 #include <QWidget>
30 
31 #include "kurl.h"
32 
33 class QCheckBox;
34 class QProgressBar;
35 class KWebView;
36 class KPushButton;
37 class KStatusBar;
38 
47 class BilboBrowser: public QWidget
48 {
49  Q_OBJECT
50 public:
57  explicit BilboBrowser( QWidget *parent = 0 );
58 
62  ~BilboBrowser();
63 
69  void setHtml( const QString& title, const QString& content );
70 
71  void stop();
72 
73 Q_SIGNALS:
77  void sigSetBlogStyle();
78 
79 protected Q_SLOTS:
80  void slotGetBlogStyle();
81 
82  void slotSetBlogStyle();
83 
84  void slotCompleted( bool );
85 
86  void slotSetStatusBarText( const QString& text );
87 
88  void slotViewModeChanged();
89 
90 private:
91  void createUi( QWidget *parent );
92 
93  KWebView *mWebView;
94  QCheckBox *viewInBlogStyle;
95  KPushButton *btnGetStyle;
96  QProgressBar *browserProgress;
97  KStatusBar *browserStatus;
98 
99  QString currentTitle;
100  QString currentContent;
101 };
102 
103 #endif
QProgressBar
QWidget
BilboBrowser::slotGetBlogStyle
void slotGetBlogStyle()
Definition: bilbobrowser.cpp:123
BilboBrowser::slotSetStatusBarText
void slotSetStatusBarText(const QString &text)
Definition: bilbobrowser.cpp:163
BilboBrowser::sigSetBlogStyle
void sigSetBlogStyle()
This signal is emmited when the browser finishes getting blog style.
BilboBrowser::BilboBrowser
BilboBrowser(QWidget *parent=0)
BilboBrowser constructor.
Definition: bilbobrowser.cpp:45
QCheckBox
BilboBrowser::setHtml
void setHtml(const QString &title, const QString &content)
Shows a post with given title and content in the browser.
Definition: bilbobrowser.cpp:99
BilboBrowser::slotCompleted
void slotCompleted(bool)
Definition: bilbobrowser.cpp:155
QString
BilboBrowser::slotSetBlogStyle
void slotSetBlogStyle()
Definition: bilbobrowser.cpp:145
BilboBrowser::stop
void stop()
Definition: bilbobrowser.cpp:118
BilboBrowser::~BilboBrowser
~BilboBrowser()
BilboBrowser destructor.
Definition: bilbobrowser.cpp:59
QObject::parent
QObject * parent() const
BilboBrowser::slotViewModeChanged
void slotViewModeChanged()
Definition: bilbobrowser.cpp:170
BilboBrowser
Implements a simple browser widget for use in blogilo Post Preview.
Definition: bilbobrowser.h:47
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