Scribus
Open source desktop publishing at your fingertips
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
urllauncher.h
1
/*
2
For general Scribus (>=1.3.2) copyright and licensing information please refer
3
to the COPYING file provided with the program. Following this notice may exist
4
a copyright and/or license notice that predates the release of Scribus 1.3.2
5
for which a new license (GPL+exception) is in place.
6
*/
7
8
//Added by Craig Bradney in August 2007
9
//To be used for external browser URL launching
10
11
#ifndef URLLAUNCHER_H
12
#define URLLAUNCHER_H
13
14
#include <QObject>
15
#include <QString>
16
#include <QUrl>
17
#include <QWidget>
18
#include "scribusapi.h"
19
20
class
SCRIBUS_API
UrlLauncher
:
public
QObject
21
{
22
Q_OBJECT;
23
24
public
:
25
UrlLauncher
();
26
~
UrlLauncher
();
27
32
static
UrlLauncher
* instance();
37
static
void
deleteInstance();
38
39
public
slots:
40
void
launchUrlExt(
const
QString& link, QWidget *parent=0);
41
void
launchUrlExt(
const
QUrl& link, QWidget *parent=0);
42
43
private
:
50
static
UrlLauncher
* _instance;
51
};
52
53
#endif
UrlLauncher
Definition:
urllauncher.h:20
scribus
urllauncher.h
Generated on Tue Sep 29 2015 09:15:26 for Scribus by
1.8.9.1