Changeset View
Changeset View
Standalone View
Standalone View
kexi/plugins/reports/kexidbreportdata.h
1 | /* | 1 | /* | ||
---|---|---|---|---|---|
2 | * Kexi Report Plugin | 2 | * Kexi Report Plugin | ||
3 | * Copyright (C) 2007-2009 by Adam Pigg (adam@piggz.co.uk) | 3 | * Copyright (C) 2007-2009 by Adam Pigg (adam@piggz.co.uk) | ||
4 | * Copyright (C) 2015 Jarosław Staniek <staniek@kde.org> | ||||
4 | * | 5 | * | ||
5 | * This library is free software; you can redistribute it and/or | 6 | * This library is free software; you can redistribute it and/or | ||
6 | * modify it under the terms of the GNU Lesser General Public | 7 | * modify it under the terms of the GNU Lesser General Public | ||
Context not available. | |||||
27 | 28 | | |||
28 | #include <KoReportData.h> | 29 | #include <KoReportData.h> | ||
29 | 30 | | |||
31 | class KexiReportView; | ||||
32 | | ||||
30 | /** | 33 | /** | ||
31 | 34 | | |||
32 | */ | 35 | */ | ||
33 | class KexiDBReportData : public KoReportData | 36 | class KexiDBReportData : public KoReportData | ||
34 | { | 37 | { | ||
35 | public: | 38 | public: | ||
36 | KexiDBReportData(const QString &objectName, KexiDB::Connection *conn); | 39 | KexiDBReportData(const QString &objectName, KexiDB::Connection *conn, KexiReportView *view); | ||
37 | 40 | | |||
38 | /*! | 41 | /*! | ||
39 | * @a partClass specifies @a objectName type: a table or query. | 42 | * @a partClass specifies @a objectName type: a table or query. | ||
Context not available. | |||||
42 | * -"org.kexi-project.query" | 45 | * -"org.kexi-project.query" | ||
43 | * -empty QString() - attempt to resolve @a objectName | 46 | * -empty QString() - attempt to resolve @a objectName | ||
44 | */ | 47 | */ | ||
45 | KexiDBReportData(const QString &objectName, const QString& partClass, KexiDB::Connection *conn); | 48 | KexiDBReportData(const QString &objectName, const QString& partClass, KexiDB::Connection *conn, KexiReportView *view); | ||
46 | virtual ~KexiDBReportData(); | 49 | virtual ~KexiDBReportData(); | ||
47 | 50 | | |||
48 | virtual QStringList fieldNames() const; | 51 | virtual QStringList fieldNames() const; | ||
Context not available. |