kivio
kiviostencilfactory.h00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef KIVIO_STENCIL_FACTORY_H
00020 #define KIVIO_STENCIL_FACTORY_H
00021
00022 class KivioStencil;
00023 class KivioStencilSpawnerInfo;
00024 class QPixmap;
00025
00026 #include <qstring.h>
00027 #include <qobject.h>
00028 #include <qstringlist.h>
00029 #include <koffice_export.h>
00030 class KIVIO_EXPORT KivioStencilFactory : public QObject
00031 {
00032 Q_OBJECT
00033 public:
00034 KivioStencilFactory(QObject *parent=0, const char*name=0, const QStringList& args = QStringList())
00035 : QObject(parent, name) { Q_UNUSED(args) }
00036 virtual KivioStencil *NewStencil(const QString& name) =0;
00037 virtual KivioStencil *NewStencil()=0;
00038 virtual QPixmap *GetIcon()=0;
00039 virtual KivioStencilSpawnerInfo *GetSpawnerInfo()=0;
00040 };
00041 #endif
|