[prev in list] [next in list] [prev in thread] [next in thread]
List: koffice-devel
Subject: Re: koffice/kspread
From: Thomas Zander <zander () kde ! org>
Date: 2008-05-29 8:11:56
Message-ID: 200805291012.00111.zander () kde ! org
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
On Wednesday 28. May 2008 10:49:55 Christian Ehrlicher wrote:
> KoPageLayout SheetPrint::paperLayout() const
> {
> return m_settings->pageLayout(); // here the pageLayout is copied
> }
>
> void otherFunction()
> {
> paperlayout().width = 25;
> }
The pattern intended (and used in Qt) is that the otherFunction would have to
do;
KoPageLayout pl = print.paperLayout();
pl.width = 25;
print.setPaperLayout(pl);
--
Thomas Zander
["signature.asc" (application/pgp-signature)]
_______________________________________________
koffice-devel mailing list
koffice-devel@kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic