Scribus
Open source desktop publishing at your fingertips
nftsettings.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  * Riku Leino, tsoots@gmail.com *
9  ***************************************************************************/
10 #ifndef NFTSETTINGS_H
11 #define NFTSETTINGS_H
12 
13 #include "scconfig.h"
14 #include <vector>
15 
16 #include <QDir>
17 #include <QFile>
18 #include <QString>
19 
20 #include "nfttemplate.h"
21 #include "nftrcreader.h"
22 
23 class nftsettings {
24 private:
25  QString scribusShare;
26  QString scribusUserHome;
27  QString nftHomeDir;
28  QString lang;
29 
30  void read();
31  void addTemplates(nftrcreader& reader, QString dir);
32  QString findTemplateXml(QString dir);
33 
34 public:
35  nftsettings(QString guilang);
36  ~nftsettings();
37 
38  std::vector<nfttemplate*> templates;
39 };
40 
41 #endif // NFTSETTINGS_H
Definition: nftsettings.h:23
Definition: nftrcreader.h:25