KPGeneralPage Class Reference

Inheritance diagram for KPGeneralPage:

KPrintDialogPage QWidget List of all members.

Detailed Description

Definition at line 31 of file kpgeneralpage.h.


Public Member Functions

 KPGeneralPage (KMPrinter *pr, DrMain *dr, QWidget *parent=0, const char *name=0)
 ~KPGeneralPage ()
void setOptions (const QMap< QString, QString > &opts)
void getOptions (QMap< QString, QString > &opts, bool incldef=false)

Protected Slots

void slotOrientationChanged (int)
void slotDuplexChanged (int)
void slotNupChanged (int)

Protected Member Functions

void initialize ()

Protected Attributes

QComboBox * m_pagesize
QComboBox * m_papertype
QComboBox * m_inputslot
QComboBox * m_startbanner
QComboBox * m_endbanner
QButtonGroup * m_orientbox
QButtonGroup * m_duplexbox
QButtonGroup * m_nupbox
QGroupBox * m_bannerbox
QLabel * m_orientpix
QLabel * m_duplexpix
QLabel * m_nuppix

Member Function Documentation

void KPGeneralPage::getOptions ( QMap< QString, QString > &  opts,
bool  incldef = false 
) [virtual]

This function is called to fill the structure opts with the selected options from this dialog page.

If incldef is true, include also options with default values, otherwise discard them. Reimplement this function in subclasses.

Parameters:
opts the option set to fill
incldef if true, include also options with default values
See also:
setOptions()

Reimplemented from KPrintDialogPage.

Definition at line 615 of file kpgeneralpage.cpp.

void KPGeneralPage::setOptions ( const QMap< QString, QString > &  opts  )  [virtual]

This function is called to update the current page with the options contained in opts.

Reimplement it in subclasses.

Parameters:
opts the structure containing the options to update the page

Reimplemented from KPrintDialogPage.

Definition at line 478 of file kpgeneralpage.cpp.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys