Scribus
Open source desktop publishing at your fingertips
documentinformation.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  begin : Apr 2005
9  copyright : (C) 2005 by Craig Bradney
10  email : cbradney@zip.com.au
11 ***************************************************************************/
12 
13 /***************************************************************************
14 * *
15 * ScMW program is free software; you can redistribute it and/or modify *
16 * it under the terms of the GNU General Public License as published by *
17 * the Free Software Foundation; either version 2 of the License, or *
18 * (at your option) any later version. *
19 * *
20 ***************************************************************************/
21 
22 #ifndef DOCUMENTINFORMATION_H
23 #define DOCUMENTINFORMATION_H
24 
25 #include <QString>
26 #include "scribusapi.h"
27 
28 class SCRIBUS_API DocumentInformation
29 {
30  public:
32  ~DocumentInformation() {};
33  const QString& author();
34  const QString& comments();
35  const QString& contrib();
36  const QString& cover();
37  const QString& date();
38  const QString& format();
39  const QString& ident();
40  const QString& keywords();
41  const QString& langInfo();
42  const QString& publisher();
43  const QString& relation();
44  const QString& rights();
45  const QString& source();
46  const QString& subject();
47  const QString& title();
48  const QString& type();
49 
50  void setAuthor(const QString &_author);
51  void setComments(const QString &_comments);
52  void setContrib(const QString &_contrib);
53  void setCover(const QString &_cover);
54  void setDate(const QString &_date);
55  void setFormat(const QString &_format);
56  void setIdent(const QString &_ident);
57  void setKeywords(const QString &_keywords);
58  void setLangInfo(const QString &_langInfo);
59  void setPublisher(const QString &_publisher);
60  void setRelation(const QString &_relation);
61  void setRights(const QString &_rights);
62  void setSource(const QString &_source);
63  void setSubject(const QString &_subject);
64  void setTitle(const QString &_title);
65  void setType(const QString &_type);
66 
67  protected:
68  QString m_author;
69  QString m_comments;
70  QString m_contrib;
71  QString m_cover;
72  QString m_date;
73  QString m_format;
74  QString m_ident;
75  QString m_keywords;
76  QString m_langInfo;
77  QString m_publisher;
78  QString m_relation;
79  QString m_rights;
80  QString m_source;
81  QString m_subject;
82  QString m_title;
83  QString m_type;
84 };
85 
86 #endif
Definition: documentinformation.h:28