akregator/src

Akregator::Viewer Class Reference

Inheritance diagram for Akregator::Viewer:

Akregator::ArticleViewer Akregator::PageViewer List of all members.

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]

Display article in external browser.

Definition at line 104 of file viewer.cpp.

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]

Copies current link to clipboard.

Definition at line 215 of file viewer.cpp.

void Akregator::Viewer::slotCopy (  )  [protected, virtual, slot]

Copies currently selected text to clipboard.

Definition at line 205 of file viewer.cpp.

void Akregator::Viewer::slotOpenLinkInternal (  )  [protected, virtual, slot]

Opens m_url inside this viewer.

Definition at line 228 of file viewer.cpp.

void Akregator::Viewer::slotOpenLinkInBrowser (  )  [protected, virtual, slot]

Opens m_url in external viewer, eg.

Konqueror

Definition at line 248 of file viewer.cpp.

void Akregator::Viewer::slotOpenLinkInForegroundTab (  )  [protected, virtual, slot]

Opens m_url in foreground tab.

Definition at line 233 of file viewer.cpp.

void Akregator::Viewer::slotOpenLinkInBackgroundTab (  )  [protected, virtual, slot]

Opens m_url in background tab.

Definition at line 238 of file viewer.cpp.

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:
KDE Home | KDE Accessibility Home | Description of Access Keys