blogilo
#include <postentry.h>
PostEntry::PostEntry |
( |
QWidget * |
parent | ) |
|
|
explicit |
PostEntry::~PostEntry |
( |
| ) |
|
int PostEntry::currentPostBlogId |
( |
| ) |
const |
Qt::LayoutDirection PostEntry::defaultLayoutDirection |
( |
| ) |
const |
void PostEntry::deleteProgressBar |
( |
| ) |
|
|
protectedslot |
QString PostEntry::htmlContent |
( |
| ) |
const |
|
protected |
Returns the editor current text in html format Synchronizes HtmlEditor and editor tabs, by sending content of the current one to another.
then copies the content of HtmlEditor into the variable mHtmlContent, and returns it.
- Returns
- an String which contains html text
Definition at line 227 of file postentry.cpp.
QList< BilboMedia * > PostEntry::localImages |
( |
| ) |
const |
|
protected |
QString PostEntry::plainTextContent |
( |
| ) |
const |
|
protected |
void PostEntry::postPublishingDone |
( |
bool |
isError, |
|
|
const QString & |
customMessage |
|
) |
| |
|
signal |
This signal emitted when a post manipulation job e.g.
Publishing a new post finished.
- Parameters
-
isError | If an error occurred on publishing this will be TRUE. Otherwise FLASE |
customMessage | A Custom message will be shown on StatusBar. |
void PostEntry::postSavedLocally |
( |
| ) |
|
|
signal |
void PostEntry::postSavedTemporary |
( |
| ) |
|
|
signal |
This signal is emitted when the post is saved temporarily!
QString PostEntry::postTitle |
( |
| ) |
const |
void PostEntry::postTitleChanged |
( |
const QString & |
title | ) |
|
|
signal |
emitted when title of this entry changed.
- Parameters
-
title | is a QString which contains new title. |
void PostEntry::replaceImageSrc |
( |
const QString & |
src, |
|
|
const QString & |
dest |
|
) |
| |
|
protected |
void PostEntry::saveLocally |
( |
| ) |
|
void PostEntry::saveTemporary |
( |
| ) |
|
|
protectedslot |
void PostEntry::setCurrentPost |
( |
const BilboPost & |
post | ) |
|
void PostEntry::setCurrentPostBlogId |
( |
int |
blog_id | ) |
|
void PostEntry::setDefaultLayoutDirection |
( |
Qt::LayoutDirection |
direction | ) |
|
void PostEntry::setHtmlContent |
( |
const QString & |
content | ) |
|
|
protected |
void PostEntry::setPostBody |
( |
const QString & |
content, |
|
|
const QString & |
additionalContent = QString() |
|
) |
| |
void PostEntry::setPostTitle |
( |
const QString & |
title | ) |
|
void PostEntry::settingsChanged |
( |
| ) |
|
|
slot |
void PostEntry::showProgressBar |
( |
| ) |
|
|
protectedslot |
void PostEntry::showStatusMessage |
( |
const QString & |
message, |
|
|
bool |
isPermanent |
|
) |
| |
|
signal |
To show a message on statusBar.
- Parameters
-
message | Message to be shown |
isPermanent | If it's true the message will not have a timeout! so it will be shown until next message arrived |
void PostEntry::sigBusy |
( |
bool |
isBusy | ) |
|
|
signal |
This signal is emitted for operations in background, like request of some data from the web.
- Parameters
-
isBusy | if it's true, the operation is in progress. otherwise, it is finished. |
void PostEntry::slotError |
( |
const QString & |
errMsg | ) |
|
|
protectedslot |
void PostEntry::slotFocusEditor |
( |
| ) |
|
|
protectedslot |
void PostEntry::slotPostModified |
( |
| ) |
|
|
protectedslot |
void PostEntry::slotPostPublished |
( |
int |
blog_id, |
|
|
BilboPost * |
post |
|
) |
| |
|
protectedslot |
void PostEntry::slotSetPostPreview |
( |
| ) |
|
|
protectedslot |
void PostEntry::slotSyncEditors |
( |
int |
index | ) |
|
|
protectedslot |
Sets the content of the current tab as other tabs' contents, to apply recent changes. this function executes each time the user switches between tabs.
Definition at line 190 of file postentry.cpp.
void PostEntry::slotTitleChanged |
( |
| ) |
|
|
protectedslot |
void PostEntry::submitPost |
( |
int |
blogId, |
|
|
const BilboPost & |
postData |
|
) |
| |
void PostEntry::textChanged |
( |
| ) |
|
|
signal |
This signal is emitted when the content of VisualEditor or HtmlEditor changes.
bool PostEntry::uploadMediaFiles |
( |
Backend * |
backend = 0 | ) |
|
Will Upload media files not uploaded yet, and return true on success and false on failure.
- Parameters
-
backend | A Backend instant to use! will create one if NULL |
- Returns
- true on success and false on failure.
Definition at line 345 of file postentry.cpp.
The documentation for this class was generated from the following files:
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.