Scribus Developer Documentation - API
logo-pen

Scribus Developer Documentation - API

UrlLauncher Class Reference

#include <urllauncher.h>

Collaboration diagram for UrlLauncher:

Collaboration graph
[legend]

List of all members.

Public Slots

void launchUrlExt (const QString &link, QWidget *parent=0)
void launchUrlExt (const QUrl &link, QWidget *parent=0)

Public Member Functions

 UrlLauncher ()
 ~UrlLauncher ()

Static Public Member Functions

static UrlLauncherinstance ()
 Returns a pointer to the UrlLauncher instance.
static void deleteInstance ()
 Deletes the UrlLauncher Instance Must be called when UrlLauncher is no longer needed.

Static Private Attributes

static UrlLauncher_instance = 0
 The only instance of UrlLauncher available.


Detailed Description

Definition at line 20 of file urllauncher.h.


Constructor & Destructor Documentation

UrlLauncher::UrlLauncher (  ) 

Definition at line 23 of file urllauncher.cpp.

Referenced by instance().

UrlLauncher::~UrlLauncher (  ) 

Definition at line 27 of file urllauncher.cpp.


Member Function Documentation

UrlLauncher * UrlLauncher::instance (  )  [static]

Returns a pointer to the UrlLauncher instance.

Returns:
A pointer to the UrlLauncher instance

Definition at line 31 of file urllauncher.cpp.

References _instance, and UrlLauncher().

Referenced by ActionManager::initHelpMenuActions(), ScTextBrowser::navigateOverride(), and ScribusMainWindow::ScribusMainWindow().

void UrlLauncher::deleteInstance (  )  [static]

Deletes the UrlLauncher Instance Must be called when UrlLauncher is no longer needed.

Definition at line 39 of file urllauncher.cpp.

References _instance.

Referenced by ScribusMainWindow::closeEvent().

void UrlLauncher::launchUrlExt ( const QString &  link,
QWidget *  parent = 0 
) [slot]

Definition at line 46 of file urllauncher.cpp.

Referenced by ScTextBrowser::navigateOverride().

void UrlLauncher::launchUrlExt ( const QUrl &  link,
QWidget *  parent = 0 
) [slot]


Member Data Documentation

UrlLauncher * UrlLauncher::_instance = 0 [static, private]

The only instance of UrlLauncher available.

UrlLauncher is singleton and the instance can be queried with the method instance().

Definition at line 50 of file urllauncher.h.

Referenced by deleteInstance(), and instance().


The documentation for this class was generated from the following files:
Created with personalized Doxygen. This is documentation for GPL software Scribus - Open Source Desktop Publishing.