~ubuntu-branches/ubuntu/oneiric/koffice/oneiric-updates

« back to all changes in this revision

Viewing changes to libs/widgets/KoZoomController.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:
102
102
    void setPageSize(const QSizeF &pageSize);
103
103
 
104
104
    /**
105
 
    * Set the size of the whole document curretly being shown on the cavas.
 
105
    * Set the size of the whole document currently being shown on the canvas.
106
106
    * The document size will be used together with the current zoom level to calculate the size of the
107
107
    * canvas in the canvasController.
108
108
    * @param documentSize the new document size in points
 
109
    * @param recalculateCenter tells canvas controller not to touch
 
110
    *        preferredCenterFraction
109
111
    */
110
 
    void setDocumentSize( const QSizeF &documentSize );
 
112
    void setDocumentSize(const QSizeF &documentSize, bool recalculateCenter = false);
111
113
 
112
114
signals:
113
115
    /**