akregator
Akregator::OpenUrlRequest Class Reference
#include <openurlrequest.h>
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
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 |
| 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:
KDE 4.2 API Reference