• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdepim
  • Sitemap
  • Contact Us
 

akregator

Akregator::OpenUrlRequest

Akregator::OpenUrlRequest Class Reference

#include <openurlrequest.h>

List of all members.


Detailed Description

Definition at line 38 of file openurlrequest.h.


Public Types

enum  Options { None = 0, NewTab, ExternalBrowser }

Public Member Functions

KParts::OpenUrlArguments args () const
KParts::BrowserArguments browserArgs () const
QString debugInfo () const
int frameId () const
bool openInBackground () const
 OpenUrlRequest (const KUrl &url=KUrl())
Options options () const
KParts::ReadOnlyPart * part () const
void setArgs (const KParts::OpenUrlArguments &args)
void setBrowserArgs (const KParts::BrowserArguments &args)
void setFrameId (int frameId)
void setOpenInBackground (bool background)
void setOptions (Options options)
void setPart (KParts::ReadOnlyPart *part)
void setUrl (const KUrl &url)
KUrl url () const

Member Enumeration Documentation

enum Akregator::OpenUrlRequest::Options

Akregator-specific options specifying how a link should be handled.

TODO: check what can be done by overriding KURLArgs flags.

Enumerator:
None  no explicit options, use default
NewTab  open in new tab
ExternalBrowser  open in external browser

Definition at line 46 of file openurlrequest.h.


Constructor & Destructor Documentation

Akregator::OpenUrlRequest::OpenUrlRequest ( const KUrl &  url = KUrl()  )  [explicit]

Definition at line 30 of file openurlrequest.cpp.


Member Function Documentation

KParts::OpenUrlArguments Akregator::OpenUrlRequest::args (  )  const

Definition at line 64 of file openurlrequest.cpp.

KParts::BrowserArguments Akregator::OpenUrlRequest::browserArgs (  )  const

Definition at line 75 of file openurlrequest.cpp.

QString Akregator::OpenUrlRequest::debugInfo (  )  const

Definition at line 105 of file openurlrequest.cpp.

int Akregator::OpenUrlRequest::frameId (  )  const

the Id of the frame that sent the request

Definition at line 35 of file openurlrequest.cpp.

bool Akregator::OpenUrlRequest::openInBackground (  )  const

Definition at line 54 of file openurlrequest.cpp.

OpenUrlRequest::Options Akregator::OpenUrlRequest::options (  )  const

Definition at line 85 of file openurlrequest.cpp.

KParts::ReadOnlyPart * Akregator::OpenUrlRequest::part (  )  const

The part that was created for a "NewTab" request.

It must be set after creating the tab, so that the initiating part can load the URL into the new part. This works only synchronously and requires args().serviceType to be set.

See also:
KParts::BrowserExtension::createNewWindow()

Definition at line 100 of file openurlrequest.cpp.

void Akregator::OpenUrlRequest::setArgs ( const KParts::OpenUrlArguments &  args  ) 

Definition at line 69 of file openurlrequest.cpp.

void Akregator::OpenUrlRequest::setBrowserArgs ( const KParts::BrowserArguments &  args  ) 

Definition at line 80 of file openurlrequest.cpp.

void Akregator::OpenUrlRequest::setFrameId ( int  frameId  ) 

Definition at line 40 of file openurlrequest.cpp.

void Akregator::OpenUrlRequest::setOpenInBackground ( bool  background  ) 

Definition at line 59 of file openurlrequest.cpp.

void Akregator::OpenUrlRequest::setOptions ( OpenUrlRequest::Options  options  ) 

Definition at line 90 of file openurlrequest.cpp.

void Akregator::OpenUrlRequest::setPart ( KParts::ReadOnlyPart *  part  ) 

Definition at line 95 of file openurlrequest.cpp.

void Akregator::OpenUrlRequest::setUrl ( const KUrl &  url  ) 

Definition at line 50 of file openurlrequest.cpp.

KUrl Akregator::OpenUrlRequest::url (  )  const

Definition at line 45 of file openurlrequest.cpp.


The documentation for this class was generated from the following files:
  • openurlrequest.h
  • openurlrequest.cpp

akregator

Skip menu "akregator"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

kdepim

Skip menu "kdepim"
  • akonadi
  •   clients
  •   kabc
  •   kcal
  •   kcm
  • akregator
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt
  • kdgantt1
  • kjots
  • kleopatra
  • kmail
  • kmobiletools
  • knode
  • knotes
  • kontact
  • kontactinterfaces
  • korganizer
  •   korgac
  • kpilot
  • ktimetracker
  • libkdepim
  • libkholidays
  • libkleo
  • libkpgp
  • maildir
Generated for kdepim by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal