akregator/src
Akregator::Viewer Class Reference
Inheritance diagram for Akregator::Viewer:

Detailed Description
Definition at line 39 of file viewer.h.
Public Slots | |
void | slotScrollUp () |
void | slotScrollDown () |
void | slotZoomIn () |
void | slotZoomOut () |
void | slotSetZoomFactor (int percent) |
void | slotPrint () |
void | setSafeMode () |
virtual void | slotPaletteOrFontChanged ()=0 |
Signals | |
void | urlClicked (const KURL &url, Viewer *viewer, bool newTab, bool background) |
Public Member Functions | |
Viewer (QWidget *parent, const char *name) | |
virtual | ~Viewer () |
virtual bool | closeURL () |
Static Public Member Functions | |
static void | displayInExternalBrowser (const KURL &url, const QString &mimetype=QString::null) |
Protected Slots | |
virtual void | urlSelected (const QString &url, int button, int state, const QString &_target, KParts::URLArgs args) |
virtual void | slotOpenURLRequest (const KURL &url, const KParts::URLArgs &args) |
virtual void | slotPopupMenu (KXMLGUIClient *, const QPoint &, const KURL &, const KParts::URLArgs &, KParts::BrowserExtension::PopupFlags, mode_t) |
void | slotCopyLinkAddress () |
virtual void | slotCopy () |
virtual void | slotOpenLinkInternal () |
virtual void | slotOpenLinkInBrowser () |
virtual void | slotOpenLinkInForegroundTab () |
virtual void | slotOpenLinkInBackgroundTab () |
virtual void | slotOpenLinkInThisTab () |
virtual void | slotSaveLinkAs () |
void | slotStarted (KIO::Job *) |
void | slotCompleted () |
virtual void | slotSelectionChanged () |
Protected Member Functions | |
int | pointsToPixel (int points) const |
Protected Attributes | |
KURL | m_url |
Member Function Documentation
void Akregator::Viewer::displayInExternalBrowser | ( | const KURL & | url, | |
const QString & | mimetype = QString::null | |||
) | [static] |
void Akregator::Viewer::urlClicked | ( | const KURL & | url, | |
Viewer * | viewer, | |||
bool | newTab, | |||
bool | background | |||
) | [signal] |
This gets emitted when url gets clicked.
void Akregator::Viewer::urlSelected | ( | const QString & | url, | |
int | button, | |||
int | state, | |||
const QString & | _target, | |||
KParts::URLArgs | args | |||
) | [protected, virtual, slot] |
reimplemented to handle url selection according to the settings for LMB and MMB
Reimplemented in Akregator::ArticleViewer, and Akregator::PageViewer.
Definition at line 132 of file viewer.cpp.
void Akregator::Viewer::slotOpenURLRequest | ( | const KURL & | url, | |
const KParts::URLArgs & | args | |||
) | [protected, virtual, slot] |
slot for handling openURLRequestDelayed() signal from the browserextension.
Handles POST requests (for forms) only, other link handling goes to urlSelected(). Does nothing in Viewer, reimplemented in PageViewer to make forms working
Reimplemented in Akregator::PageViewer.
Definition at line 127 of file viewer.cpp.
void Akregator::Viewer::slotCopyLinkAddress | ( | ) | [protected, slot] |
void Akregator::Viewer::slotCopy | ( | ) | [protected, virtual, slot] |
void Akregator::Viewer::slotOpenLinkInternal | ( | ) | [protected, virtual, slot] |
void Akregator::Viewer::slotOpenLinkInBrowser | ( | ) | [protected, virtual, slot] |
void Akregator::Viewer::slotOpenLinkInForegroundTab | ( | ) | [protected, virtual, slot] |
void Akregator::Viewer::slotOpenLinkInBackgroundTab | ( | ) | [protected, virtual, slot] |
void Akregator::Viewer::slotStarted | ( | KIO::Job * | ) | [protected, slot] |
This changes cursor to wait cursor.
Reimplemented in Akregator::PageViewer.
Definition at line 262 of file viewer.cpp.
void Akregator::Viewer::slotCompleted | ( | ) | [protected, slot] |
This reverts cursor back to normal one.
Reimplemented in Akregator::PageViewer.
Definition at line 267 of file viewer.cpp.
The documentation for this class was generated from the following files: