11 #include "scribusapi.h"
13 #include "ui/customfdialog.h"
40 virtual QString fileFormatName()
const = 0;
47 virtual QStringList fileExtensions()
const = 0;
60 virtual void run(
const QString &filename,
const QString &encoding = QString::null) {};
69 virtual void run(
const QString &text ) {};
88 static void deleteInstance();
99 QList<ScGTPlugin*> plugins_;
104 QString fileFilter();
117 const QString & filters,
118 QWidget * parent = 0,
const char * name = 0);
121 bool showOptions()
const;
125 QWidget *diaExtension_;
126 QCheckBox *showOptionsBox_;
127 QCheckBox *appendBox_;
virtual void run(const QString &filename, const QString &encoding=QString::null)
Run the plugin and import from the file filename
Definition: scgtplugin.h:60
Definition: scgtplugin.h:113
virtual void run(const QString &text)
Run the plugin and do the magic with the text and.
Definition: scgtplugin.h:69
Definition: scgtplugin.h:134
Abstract super class for all Scribus plug-ins.
Definition: scplugin.h:90
Definition: scgtplugin.h:141
Super class for all text importer plugins.
Definition: scgtplugin.h:28
A Scribus own file dialog. Used almost everywhere. You can see extension handling in e...
Definition: customfdialog.h:87
Manages the import process.
Definition: scgtplugin.h:85