KPrinter::setOrientation disables the orientation group in thesetupdlg

Reinhold Kainhofer reinhold at kainhofer.com
Tue Jul 26 14:26:52 BST 2005


Goffioul Michael wrote:
>> Is there some workaround that re-enables the orientation box
>> (also with
>> kdelibs 3.4)? I tried manually setting
>>    mPrinter->setOption( "kde-orientation-fixed", "0" );
>> but that doesn't seem to wiork (i'm developing with kdelibs 3.4.1)...
> 
> Try with setEditedOption() instead, this might work.

... which is unfortunately a method in a private class (KMPrinter) and 1) as 
such not accessible for non-KDEPrint developers (as the header of that 
include says) and 2) I don't have any pointer to the KMPrinter* object....

Cheers,
Reinhold

-- 
------------------------------------------------------------------
Reinhold Kainhofer, Vienna University of Technology, Austria
email: reinhold at kainhofer.com, http://reinhold.kainhofer.com/
 * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/
 * K Desktop Environment, http://www.kde.org, KOrganizer / KPilot maintainer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20050726/184d50de/attachment.sig>


More information about the kde-core-devel mailing list