blogilo
bilbobrowser.cpp
Go to the documentation of this file.
114 mWebView->setHtml( QLatin1String("<html><body><h2 align='center'>") + title + QLatin1String("</h2>") + content + QLatin1String("</html>") );
bool isHidden() const
QObject * sender() const
void slotSetStatusBarText(const QString &text)
Definition: bilbobrowser.cpp:163
QString & remove(int position, int n)
void sigSetBlogStyle()
This signal is emmited when the browser finishes getting blog style.
static QString styledHtml(const int blogid, const QString &title, const QString &content)
Looks for a file named style.html for the requested blog in blogilo data directory, then writes the file content into a buffer, inserts given post title and content in the buffer, and returns it.
Definition: stylegetter.cpp:98
void addWidget(QWidget *widget, int stretch, QFlags< Qt::AlignmentFlag > alignment)
virtual void addItem(QLayoutItem *item)
void setHtml(const QString &title, const QString &content)
Shows a post with given title and content in the browser.
Definition: bilbobrowser.cpp:99
void deleteLater()
void hide()
void setFixedSize(const QSize &s)
void setChecked(bool)
void show()
void reset()
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
void addLayout(QLayout *layout, int stretch)
singleShot
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
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.