• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

KDEPrint

KPGeneralPage Class Reference

#include <kpgeneralpage.h>

Inheritance diagram for KPGeneralPage:

Inheritance graph
[legend]

List of all members.


Detailed Description

Definition at line 32 of file kpgeneralpage.h.


Public Member Functions

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

Protected Slots

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

Protected Member Functions

void initialize ()

Protected Attributes

QGroupBox * m_bannerbox
KButtonGroup * m_duplexbox
QLabel * m_duplexpix
QRadioButton * m_duplong
QRadioButton * m_dupnone
QRadioButton * m_dupshort
QComboBox * m_endbanner
QComboBox * m_inputslot
KButtonGroup * m_nupbox
QLabel * m_nuppix
KButtonGroup * m_orientbox
QLabel * m_orientpix
QComboBox * m_pagesize
QComboBox * m_papertype
QComboBox * m_startbanner

Constructor & Destructor Documentation

KPGeneralPage::KPGeneralPage ( KMPrinter *  pr,
DrMain *  dr,
QWidget *  parent = 0 
)

Definition at line 117 of file kpgeneralpage.cpp.

KPGeneralPage::~KPGeneralPage (  ) 

Definition at line 399 of file kpgeneralpage.cpp.


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 594 of file kpgeneralpage.cpp.

void KPGeneralPage::initialize (  )  [protected]

Definition at line 403 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 480 of file kpgeneralpage.cpp.

void KPGeneralPage::slotDuplexChanged ( int  ID  )  [protected, slot]

Definition at line 684 of file kpgeneralpage.cpp.

void KPGeneralPage::slotNupChanged ( int  ID  )  [protected, slot]

Definition at line 672 of file kpgeneralpage.cpp.

void KPGeneralPage::slotOrientationChanged ( int  ID  )  [protected, slot]

Definition at line 659 of file kpgeneralpage.cpp.


Member Data Documentation

QGroupBox* KPGeneralPage::m_bannerbox [protected]

Definition at line 54 of file kpgeneralpage.h.

KButtonGroup * KPGeneralPage::m_duplexbox [protected]

Definition at line 53 of file kpgeneralpage.h.

QLabel * KPGeneralPage::m_duplexpix [protected]

Definition at line 55 of file kpgeneralpage.h.

QRadioButton * KPGeneralPage::m_duplong [protected]

Definition at line 56 of file kpgeneralpage.h.

QRadioButton* KPGeneralPage::m_dupnone [protected]

Definition at line 56 of file kpgeneralpage.h.

QRadioButton * KPGeneralPage::m_dupshort [protected]

Definition at line 56 of file kpgeneralpage.h.

QComboBox * KPGeneralPage::m_endbanner [protected]

Definition at line 52 of file kpgeneralpage.h.

QComboBox * KPGeneralPage::m_inputslot [protected]

Definition at line 51 of file kpgeneralpage.h.

KButtonGroup * KPGeneralPage::m_nupbox [protected]

Definition at line 53 of file kpgeneralpage.h.

QLabel * KPGeneralPage::m_nuppix [protected]

Definition at line 55 of file kpgeneralpage.h.

KButtonGroup* KPGeneralPage::m_orientbox [protected]

Definition at line 53 of file kpgeneralpage.h.

QLabel* KPGeneralPage::m_orientpix [protected]

Definition at line 55 of file kpgeneralpage.h.

QComboBox* KPGeneralPage::m_pagesize [protected]

Definition at line 51 of file kpgeneralpage.h.

QComboBox * KPGeneralPage::m_papertype [protected]

Definition at line 51 of file kpgeneralpage.h.

QComboBox* KPGeneralPage::m_startbanner [protected]

Definition at line 52 of file kpgeneralpage.h.


The documentation for this class was generated from the following files:
  • kpgeneralpage.h
  • kpgeneralpage.cpp

KDEPrint

Skip menu "KDEPrint"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

API Reference

Skip menu "API Reference"
  •   KDEPrint
Generated for API Reference by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal