~ubuntu-branches/ubuntu/precise/koffice/precise

« back to all changes in this revision

Viewing changes to libs/koreport/common/krsectiondata.h

  • Committer: Bazaar Package Importer
  • Author(s): Alessandro Ghersi
  • Date: 2010-10-27 17:52:57 UTC
  • mfrom: (0.12.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20101027175257-s04zqqk5bs8ckm9o
Tags: 1:2.2.83-0ubuntu1
* Merge with Debian git remaining changes:
 - Add build-deps on librcps-dev, opengtl-dev, libqtgtl-dev, freetds-dev,
   create-resources, libspnav-dev
 - Remove needless build-dep on libwv2-dev
 - koffice-libs recommends create-resources
 - krita recommends pstoedit
 - Keep our patches
* New upstream release 2.3 beta 3
  - Remove debian/patches fixed by upstream
  - Update install files

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
#include <QObject>
32
32
#include <qdom.h>
33
33
 
34
 
class KRObjectData;
 
34
class KoReportItemBase;
 
35
class KoReportReportData;
35
36
 
36
37
#include <koproperty/Property.h>
37
38
#include <koproperty/Set.h>
65
66
    };
66
67
 
67
68
    KRSectionData();
68
 
    KRSectionData(const QDomElement &);
 
69
    KRSectionData(const QDomElement &, KoReportReportData* report);
69
70
    ~KRSectionData();
70
71
    KoProperty::Set* properties() {
71
72
        return m_set;
79
80
        return m_height->value().toDouble();
80
81
    }
81
82
 
82
 
    QList<KRObjectData*> objects() const {
 
83
    QList<KoReportItemBase*> objects() const {
83
84
        return m_objects;
84
85
    }
85
86
 
108
109
private:
109
110
    void createProperties();
110
111
 
111
 
    QList<KRObjectData*> m_objects;
 
112
    QList<KoReportItemBase*> m_objects;
112
113
 
113
114
    QString m_name;
114
115
    Section m_type;
115
116
 
116
 
    static bool zLessThan(KRObjectData* s1, KRObjectData* s2);
117
 
    static bool xLessThan(KRObjectData* s1, KRObjectData* s2);
 
117
    static bool zLessThan(KoReportItemBase* s1, KoReportItemBase* s2);
 
118
    static bool xLessThan(KoReportItemBase* s1, KoReportItemBase* s2);
118
119
 
119
120
    bool m_valid;
120
121