Crossfire Server, Trunk  R20513
CREReportDefinition.h
Go to the documentation of this file.
1 #ifndef CRE_REPORT_DEFINITION_H
2 #define CRE_REPORT_DEFINITION_H
3 
4 #include <QObject>
5 #include <QMetaType>
6 
7 class CREReportDefinition : public QObject
8 {
9  Q_OBJECT
10 
11  public:
14  virtual ~CREReportDefinition();
15 
16  const QString& name() const;
17  void setName(const QString& name);
18 
19  const QString& header() const;
20  void setHeader(const QString& header);
21 
22  const QString& itemSort() const;
23  void setItemSort(const QString& sort);
24 
25  const QString& itemDisplay() const;
26  void setItemDisplay(const QString& display);
27 
28  const QString& footer() const;
29  void setFooter(const QString& footer);
30 
31  protected:
32  QString myName;
33  QString myHeader;
34  QString myItemSort;
35  QString myItemDisplay;
36  QString myFooter;
37 };
38 
40 
41 QDataStream &operator<<(QDataStream &out, const CREReportDefinition &report);
42 QDataStream &operator>>(QDataStream &in, CREReportDefinition &report);
43 
44 #endif // CRE_REPORT_DEFINITION_H
void setItemSort(const QString &sort)
void setHeader(const QString &header)
const QString & footer() const
Q_DECLARE_METATYPE(CREReportDefinition)
void setName(const QString &name)
const QString & header() const
QDataStream & operator>>(QDataStream &in, CREReportDefinition &report)
const QString & itemSort() const
void setItemDisplay(const QString &display)
void setFooter(const QString &footer)
QDataStream & operator<<(QDataStream &out, const CREReportDefinition &report)
const QString & itemDisplay() const
const QString & name() const