Changeset View
Changeset View
Standalone View
Standalone View
src/plugins/reports/kexireportdesignview.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) 2011 Jarosław Staniek <staniek@kde.org> | 4 | * Copyright (C) 2011-2017 Jarosław Staniek <staniek@kde.org> | ||
5 | * | 5 | * | ||
6 | * This library is free software; you can redistribute it and/or | 6 | * This library is free software; you can redistribute it and/or | ||
7 | * modify it under the terms of the GNU Lesser General Public | 7 | * modify it under the terms of the GNU Lesser General Public | ||
8 | * License as published by the Free Software Foundation; either | 8 | * License as published by the Free Software Foundation; either | ||
9 | * version 2.1 of the License, or (at your option) any later version. | 9 | * version 2.1 of the License, or (at your option) any later version. | ||
10 | * | 10 | * | ||
11 | * This library is distributed in the hope that it will be useful, | 11 | * This library is distributed in the hope that it will be useful, | ||
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
Show All 31 Lines | 39 | public: | |||
44 | virtual tristate beforeSwitchTo(Kexi::ViewMode mode, bool *dontStore); | 44 | virtual tristate beforeSwitchTo(Kexi::ViewMode mode, bool *dontStore); | ||
45 | 45 | | |||
46 | void triggerAction(const QString &); | 46 | void triggerAction(const QString &); | ||
47 | 47 | | |||
48 | Q_SIGNALS: | 48 | Q_SIGNALS: | ||
49 | void itemInserted(const QString& entity); | 49 | void itemInserted(const QString& entity); | ||
50 | 50 | | |||
51 | private: | 51 | private: | ||
52 | KReportDesigner *m_reportDesigner; | | |||
53 | KexiReportPartTempData* tempData() const; | 52 | KexiReportPartTempData* tempData() const; | ||
53 | QDomElement connectionData() const; | ||||
54 | void setConnectionData(const QDomElement &c); | ||||
55 | | ||||
56 | KReportDesigner *m_reportDesigner; | ||||
54 | QScrollArea * m_scrollArea; | 57 | QScrollArea * m_scrollArea; | ||
55 | 58 | | |||
56 | //Actions | 59 | //Actions | ||
57 | QAction *m_editCutAction; | 60 | QAction *m_editCutAction; | ||
58 | QAction *m_editCopyAction; | 61 | QAction *m_editCopyAction; | ||
59 | QAction *m_editPasteAction; | 62 | QAction *m_editPasteAction; | ||
60 | QAction *m_editDeleteAction; | 63 | QAction *m_editDeleteAction; | ||
61 | QAction *m_editSectionAction; | 64 | QAction *m_editSectionAction; | ||
Show All 20 Lines |