Back to index

scribus-ng  1.3.4.dfsg+svn20071115
nfttemplate.h
Go to the documentation of this file.
00001 /*
00002 For general Scribus (>=1.3.2) copyright and licensing information please refer
00003 to the COPYING file provided with the program. Following this notice may exist
00004 a copyright and/or license notice that predates the release of Scribus 1.3.2
00005 for which a new license (GPL+exception) is in place.
00006 */
00007 /***************************************************************************
00008  *   Riku Leino, tsoots@gmail.com                                          *
00009  ***************************************************************************/
00010 #ifndef NFTTEMPLATE_H
00011 #define NFTTEMPLATE_H
00012 
00013 #include <qstring.h>
00014 #include <qfile.h>
00015 #include <qtextstream.h>
00016 
00017 class nfttemplate {
00018 public:
00019        nfttemplate(QFile* tmplXmlFile, const QString &tmplType);
00020        ~nfttemplate();
00021        QFile* tmplXml;
00022        QString enCategory;
00023        QString templateCategory;
00024        QString name;
00025        QString file;
00026        QString tnail;
00027        QString img;
00028        QString psize;
00029        QString color;
00030        QString descr;
00031        QString usage;
00032        QString scribusVersion;
00033        QString date;
00034        QString author;
00035        QString email;
00036        bool isWritable;
00037        bool isDeleted;
00038        void remove();
00039        bool canWrite();
00040        bool isValid();
00041 };
00042 
00043 #endif // NFTTEMPLATE_H