UrlLauncher Class Reference
#include <urllauncher.h>

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 UrlLauncher * | instance () |
| 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 | ( | ) |
| 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] |
| void UrlLauncher::launchUrlExt | ( | const QUrl & | link, | |
| QWidget * | parent = 0 | |||
| ) | [slot] |
Definition at line 51 of file urllauncher.cpp.
References args, PrefsManager::instance(), p, ScribusCore::primaryMainWindow(), ScCore, PrefsManager::setExtBrowserExecutable(), System(), and tr().
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:
