commonprintdialog.cpp

来自「这是VCF框架的代码」· C++ 代码 · 共 144 行

CPP
144
字号
//CommonPrintDialog.cpp/*Copyright 2000-2004 The VCF Project.Please see License.txt in the top level directorywhere you installed the VCF.*//* Generated by Together */#include "vcf/ApplicationKit/ApplicationKit.h"#include "vcf/ApplicationKit/CommonPrintDialog.h"using namespace VCF;CommonPrintDialog::CommonPrintDialog( Control* owner ):	peer_(NULL){	peer_ = UIToolkit::createCommonPrintDialogPeer(owner);}CommonPrintDialog::~CommonPrintDialog(){	delete peer_;}bool CommonPrintDialog::execute(){	return peer_->execute();}String CommonPrintDialog::getTitle(){	return title_;}void CommonPrintDialog::setTitle( const String& title ){	title_ = title;	peer_->setTitle( title );}void CommonPrintDialog::setNumberOfCopies( const ulong32& val ){	peer_->setNumberOfCopies( val );}ulong32 CommonPrintDialog::getNumberOfCopies(){	return peer_->getNumberOfCopies();}void CommonPrintDialog::setStartPage( const ulong32& val ){	peer_->setStartPage( val );}ulong32 CommonPrintDialog::getStartPage(){	return peer_->getStartPage();}void CommonPrintDialog::setEndPage( const ulong32& val ){	peer_->setEndPage( val );}ulong32 CommonPrintDialog::getEndPage(){	return peer_->getEndPage();}void CommonPrintDialog::setPrintJobType( PrintSession::PrintJob val ){	peer_->setPrintJobType( val );}PrintSession::PrintJob CommonPrintDialog::getPrintJobType(){	return peer_->getPrintJobType();}void CommonPrintDialog::setPrintInfo( PrintInfoHandle info ){	peer_->setPrintInfo( info );}PrintInfoHandle CommonPrintDialog::getPrintInfo(){	return peer_->getPrintInfo();}/***CVS Log info*$Log$*Revision 1.2  2006/04/07 02:35:22  ddiego*initial checkin of merge from 0.6.9 dev branch.**Revision 1.1.2.1  2005/09/02 01:01:20  ddiego*changed some of the common dialogs around, was using a less clear class name.**Revision 1.3  2004/12/01 04:31:20  ddiego*merged over devmain-0-6-6 code. Marcello did a kick ass job*of fixing a nasty bug (1074768VCF application slows down modal dialogs.)*that he found. Many, many thanks for this Marcello.**Revision 1.2.2.1  2004/08/31 04:12:12  ddiego*cleaned up the GraphicsContext class - made more pervasive use*of transformation matrix. Added common print dialog class. Fleshed out*printing example more.**Revision 1.2  2004/08/07 02:49:06  ddiego*merged in the devmain-0-6-5 branch to stable**Revision 1.1.2.2  2004/04/29 03:43:12  marcelloptr*reformatting of source files: macros and csvlog and copyright sections**Revision 1.1.2.1  2004/04/28 00:28:15  ddiego*migration towards new directory structure**Revision 1.6  2003/05/17 20:37:47  ddiego*this is the checkin for the 0.6.1 release - represents the merge over from*the devmain-0-6-0 branch plus a few minor bug fixes**Revision 1.5.22.1  2003/03/23 03:24:00  marcelloptr*3 empty lines at the end of the files**Revision 1.5  2002/01/24 01:46:50  ddiego*added a cvs "log" comment to the top of all files in vcf/src and vcf/include*to facilitate change tracking**/

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?