~ubuntu-branches/ubuntu/edgy/koffice/edgy-updates

« back to all changes in this revision

Viewing changes to kugar/lib/mpagecollection.h

  • Committer: Bazaar Package Importer
  • Author(s): Ben Burton
  • Date: 2004-05-09 11:33:00 UTC
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20040509113300-xi5t1z4yxe7n03x7
Tags: upstream-1.3.1
ImportĀ upstreamĀ versionĀ 1.3.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
#define MPAGECOLLECTION_H
11
11
 
12
12
#include <qobject.h>
13
 
#include <qlist.h>
 
13
#include <qptrlist.h>
14
14
#include <qpicture.h>
15
15
#include <qsize.h>
16
16
 
32
32
 
33
33
private:
34
34
  /** The report page list */
35
 
  QList<QPicture> pages;
 
35
  QPtrList<QPicture> pages;
36
36
  /** Page dimensions */
37
37
  QSize dimensions;
38
38
  /** Page size */
88
88
  /** Returns the number of pages in the page collection */
89
89
  int pageCount();
90
90
 
 
91
  void addRef();
 
92
  void removeRef();
 
93
 
91
94
private:
92
95
  /** Copies member data from one object to another.
93
96
    * Used by the copy constructor and assignment operator
94
97
    */
95
98
  void copy(const MPageCollection* mPageCollection);
96
 
 
 
99
  int m_ref;
97
100
};
98
101
 
99
102
#endif