messageviewer
#include <mailwebview.h>

Public Types | |
| enum | FindFlag { FindWrapsAroundDocument = 1, FindBackward = 2, FindCaseSensitively = 4, HighlightAllOccurrences = 8, NumFindFlags } |
Public Slots | |
| void | slotShowDetails () |
Signals | |
| void | linkHovered (const QString &link, const QString &title=QString(), const QString &textContent=QString()) |
| void | messageMayBeAScam () |
| void | popupMenu (const QUrl &url, const QUrl &imageUrl, const QPoint &point) |
Public Member Functions | |
| MailWebView (KActionCollection *actionCollection=0, QWidget *parent=0) | |
| ~MailWebView () | |
| void | clearFindSelection () |
| void | clearSelection () |
| void | expandUrl (const KUrl &url) |
| bool | findText (const QString &test, FindFlags flags) |
| bool | hasVerticalScrollBar () const |
| QString | htmlSource () const |
| void | injectAttachments (const boost::function< QString()> &delayedHtml) |
| bool | isAShortUrl (const KUrl &url) const |
| bool | isAttachmentInjectionPoint (const QPoint &globalPos) const |
| bool | isScrolledToBottom () const |
| QUrl | linkOrImageUrlAt (const QPoint &global) const |
| void | markAttachment (const QString &id, const QString &style) |
| void | openBlockableItemsDialog () |
| double | relativePosition () const |
| bool | removeAttachmentMarking (const QString &id) |
| bool | replaceInnerHtml (const QString &id, const boost::function< QString()> &delayedHtml) |
| void | saveMainFrameScreenshotInFile (const QString &filename) |
| void | scamCheck () |
| Qt::ScrollBarPolicy | scrollBarPolicy (Qt::Orientation orientation) const |
| void | scrollDown (int pixels) |
| void | scrollPageDown (int percent) |
| void | scrollPageUp (int percent) |
| void | scrollToAnchor (const QString &anchor) |
| void | scrollToRelativePosition (double pos) |
| void | scrollUp (int pixels) |
| void | selectAll () |
| QString | selectedText () const |
| void | setAllowExternalContent (bool allow) |
| void | setElementByIdVisible (const QString &id, bool visible) |
| void | setHtml (const QString &html, const QUrl &baseUrl) |
| void | setScrollBarPolicy (Qt::Orientation orientation, Qt::ScrollBarPolicy policy) |
Protected Member Functions | |
| virtual bool | event (QEvent *event) |
| virtual void | keyPressEvent (QKeyEvent *) |
| virtual void | keyReleaseEvent (QKeyEvent *) |
| virtual void | wheelEvent (QWheelEvent *e) |
Detailed Description
MailWebView extends KWebView so that it can emit the popupMenu() signal.
Definition at line 53 of file mailwebview.h.
Member Enumeration Documentation
| Enumerator | |
|---|---|
| FindWrapsAroundDocument | |
| FindBackward | |
| FindCaseSensitively | |
| HighlightAllOccurrences | |
| NumFindFlags | |
Definition at line 63 of file mailwebview.h.
Constructor & Destructor Documentation
|
explicit |
Definition at line 37 of file mailwebview_textbrowser.cpp.
| MailWebView::~MailWebView | ( | ) |
Definition at line 53 of file mailwebview_textbrowser.cpp.
Member Function Documentation
| void MailWebView::clearFindSelection | ( | ) |
Definition at line 302 of file mailwebview_textbrowser.cpp.
| void MailWebView::clearSelection | ( | ) |
Definition at line 146 of file mailwebview_textbrowser.cpp.
|
protectedvirtual |
Reimplemented to catch context menu events and emit popupMenu()
Definition at line 55 of file mailwebview_textbrowser.cpp.
| void MailWebView::expandUrl | ( | const KUrl & | url | ) |
Definition at line 330 of file mailwebview_textbrowser.cpp.
| bool MailWebView::findText | ( | const QString & | test, |
| FindFlags | flags | ||
| ) |
Definition at line 297 of file mailwebview_textbrowser.cpp.
| bool MailWebView::hasVerticalScrollBar | ( | ) | const |
Definition at line 114 of file mailwebview_textbrowser.cpp.
| QString MailWebView::htmlSource | ( | ) | const |
Definition at line 196 of file mailwebview_textbrowser.cpp.
| void MailWebView::injectAttachments | ( | const boost::function< QString()> & | delayedHtml | ) |
Definition at line 161 of file mailwebview_textbrowser.cpp.
| bool MailWebView::isAShortUrl | ( | const KUrl & | url | ) | const |
Definition at line 335 of file mailwebview_textbrowser.cpp.
| bool MailWebView::isAttachmentInjectionPoint | ( | const QPoint & | globalPos | ) | const |
Definition at line 153 of file mailwebview_textbrowser.cpp.
| bool MailWebView::isScrolledToBottom | ( | ) | const |
Definition at line 85 of file mailwebview_textbrowser.cpp.
|
protectedvirtual |
Definition at line 312 of file mailwebview_textbrowser.cpp.
|
protectedvirtual |
Reimplement for access key.
Definition at line 307 of file mailwebview_textbrowser.cpp.
|
signal |
| QUrl MailWebView::linkOrImageUrlAt | ( | const QPoint & | global | ) | const |
Definition at line 211 of file mailwebview_textbrowser.cpp.
| void MailWebView::markAttachment | ( | const QString & | id, |
| const QString & | style | ||
| ) |
Definition at line 181 of file mailwebview_textbrowser.cpp.
|
signal |
| void MailWebView::openBlockableItemsDialog | ( | ) |
Definition at line 657 of file mailwebview_webkit.cpp.
|
signal |
Emitted when the user right-clicks somewhere.
- Parameters
-
url if an URL was under the cursor, this parameter contains it. Otherwise empty point position where the click happened, in local coordinates
| double MailWebView::relativePosition | ( | ) | const |
Definition at line 122 of file mailwebview_textbrowser.cpp.
| bool MailWebView::removeAttachmentMarking | ( | const QString & | id | ) |
Definition at line 173 of file mailwebview_textbrowser.cpp.
| bool MailWebView::replaceInnerHtml | ( | const QString & | id, |
| const boost::function< QString()> & | delayedHtml | ||
| ) |
Definition at line 251 of file mailwebview_textbrowser.cpp.
| void MailWebView::saveMainFrameScreenshotInFile | ( | const QString & | filename | ) |
Definition at line 642 of file mailwebview_webkit.cpp.
| void MailWebView::scamCheck | ( | ) |
Definition at line 631 of file mailwebview_webkit.cpp.
| Qt::ScrollBarPolicy MailWebView::scrollBarPolicy | ( | Qt::Orientation | orientation | ) | const |
Definition at line 237 of file mailwebview_textbrowser.cpp.
| void MailWebView::scrollDown | ( | int | pixels | ) |
Definition at line 74 of file mailwebview_textbrowser.cpp.
| void MailWebView::scrollPageDown | ( | int | percent | ) |
Definition at line 91 of file mailwebview_textbrowser.cpp.
| void MailWebView::scrollPageUp | ( | int | percent | ) |
Definition at line 104 of file mailwebview_textbrowser.cpp.
| void MailWebView::scrollToAnchor | ( | const QString & | anchor | ) |
Definition at line 168 of file mailwebview_textbrowser.cpp.
| void MailWebView::scrollToRelativePosition | ( | double | pos | ) |
Definition at line 133 of file mailwebview_textbrowser.cpp.
| void MailWebView::scrollUp | ( | int | pixels | ) |
Definition at line 80 of file mailwebview_textbrowser.cpp.
| void MailWebView::selectAll | ( | ) |
Definition at line 141 of file mailwebview_textbrowser.cpp.
| QString MailWebView::selectedText | ( | ) | const |
Definition at line 109 of file mailwebview_textbrowser.cpp.
| void MailWebView::setAllowExternalContent | ( | bool | allow | ) |
Definition at line 201 of file mailwebview_textbrowser.cpp.
| void MailWebView::setElementByIdVisible | ( | const QString & | id, |
| bool | visible | ||
| ) |
Definition at line 264 of file mailwebview_textbrowser.cpp.
| void MailWebView::setHtml | ( | const QString & | html, |
| const QUrl & | baseUrl | ||
| ) |
Definition at line 189 of file mailwebview_textbrowser.cpp.
| void MailWebView::setScrollBarPolicy | ( | Qt::Orientation | orientation, |
| Qt::ScrollBarPolicy | policy | ||
| ) |
Definition at line 222 of file mailwebview_textbrowser.cpp.
|
slot |
Definition at line 326 of file mailwebview_textbrowser.cpp.
|
protectedvirtual |
Definition at line 317 of file mailwebview_textbrowser.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:55:58 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
KDE API Reference