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

akregator

  • Akregator
  • OpenUrlRequest
Public Types | Public Member Functions | List of all members
Akregator::OpenUrlRequest Class Reference

#include <openurlrequest.h>

Public Types

enum  Options { None =0, NewTab, ExternalBrowser }
 

Public Member Functions

 OpenUrlRequest (const KUrl &url=KUrl())
 
KParts::OpenUrlArguments args () const
 
KParts::BrowserArguments browserArgs () const
 
QString debugInfo () const
 
int frameId () const
 
bool openInBackground () const
 
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)
 
void setWasHandled (bool handled)
 
KUrl url () const
 
bool wasHandled () const
 

Detailed Description

Definition at line 42 of file openurlrequest.h.

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 50 of file openurlrequest.h.

Constructor & Destructor Documentation

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

Definition at line 31 of file openurlrequest.cpp.

Member Function Documentation

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

Definition at line 65 of file openurlrequest.cpp.

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

Definition at line 76 of file openurlrequest.cpp.

QString Akregator::OpenUrlRequest::debugInfo ( ) const

Definition at line 114 of file openurlrequest.cpp.

int Akregator::OpenUrlRequest::frameId ( ) const

the Id of the frame that sent the request

Definition at line 36 of file openurlrequest.cpp.

bool Akregator::OpenUrlRequest::openInBackground ( ) const

Definition at line 55 of file openurlrequest.cpp.

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

Definition at line 86 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 109 of file openurlrequest.cpp.

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

Definition at line 70 of file openurlrequest.cpp.

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

Definition at line 81 of file openurlrequest.cpp.

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

Definition at line 41 of file openurlrequest.cpp.

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

Definition at line 60 of file openurlrequest.cpp.

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

Definition at line 99 of file openurlrequest.cpp.

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

Definition at line 104 of file openurlrequest.cpp.

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

Definition at line 51 of file openurlrequest.cpp.

void Akregator::OpenUrlRequest::setWasHandled ( bool  handled)

Definition at line 129 of file openurlrequest.cpp.

KUrl Akregator::OpenUrlRequest::url ( ) const

Definition at line 46 of file openurlrequest.cpp.

bool Akregator::OpenUrlRequest::wasHandled ( ) const

Definition at line 124 of file openurlrequest.cpp.


The documentation for this class was generated from the following files:
  • openurlrequest.h
  • openurlrequest.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:58:15 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

akregator

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

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal