urllauncher.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #ifndef URLLAUNCHER_H
00012 #define URLLAUNCHER_H
00013
00014 #include <QObject>
00015 #include <QString>
00016 #include <QUrl>
00017 #include <QWidget>
00018 #include "scribusapi.h"
00019
00020 class SCRIBUS_API UrlLauncher : public QObject
00021 {
00022 Q_OBJECT;
00023
00024 public:
00025 UrlLauncher();
00026 ~UrlLauncher();
00027
00032 static UrlLauncher* instance();
00037 static void deleteInstance();
00038
00039 public slots:
00040 void launchUrlExt(const QString& link, QWidget *parent=0);
00041 void launchUrlExt(const QUrl& link, QWidget *parent=0);
00042
00043 private:
00050 static UrlLauncher* _instance;
00051 };
00052
00053 #endif