Crossfire Server, Trunk  R20513
CREReportDefinitionManager.h
Go to the documentation of this file.
1 #ifndef CRE_REPORT_DEFINITION_MANAGER_H
2 #define CRE_REPORT_DEFINITION_MANAGER_H
3 
5 
6 #include <QObject>
7 #include <QMetaType>
8 
9 class CREReportDefinitionManager : public QObject
10 {
11  Q_OBJECT
12 
13  public:
17 
18  void copy(const CREReportDefinitionManager& other);
19 
20  QList<CREReportDefinition*>& reports();
21  const QList<CREReportDefinition*>& reports() const;
22 
23  protected:
24  QList<CREReportDefinition*> myReports;
25 };
26 
28 
29 QDataStream &operator<<(QDataStream &out, const CREReportDefinitionManager &manager);
30 QDataStream &operator>>(QDataStream &in, CREReportDefinitionManager &manager);
31 
32 #endif // CRE_REPORT_DEFINITION_MANAGER_H
QList< CREReportDefinition * > & reports()
void copy(const CREReportDefinitionManager &other)
QList< CREReportDefinition * > myReports
QDataStream & operator<<(QDataStream &out, const CREReportDefinitionManager &manager)
Q_DECLARE_METATYPE(CREReportDefinitionManager)
QDataStream & operator>>(QDataStream &in, CREReportDefinitionManager &manager)