kdeprint Library API Documentation

KPPosterPage Class Reference

Inheritance diagram for KPPosterPage:

Inheritance graph
[legend]
Collaboration diagram for KPPosterPage:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 KPPosterPage (QWidget *parent=0, const char *name=0)
 ~KPPosterPage ()
void setOptions (const QMap< QString, QString > &opts)
void getOptions (QMap< QString, QString > &opts, bool incldef=false)
bool isValid ()

Protected Slots

void slotPosterSizeChanged (int)
void slotMarginChanged (int)
void slotLockToggled (bool)

Detailed Description

Definition at line 33 of file kpposterpage.h.


Member Function Documentation

void KPPosterPage::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 253 of file kpposterpage.cpp.

References QComboBox::currentItem(), QWidget::find(), QMap::isEmpty(), QString::isEmpty(), QPushButton::isOn(), QCheckBox::setChecked(), QComboBox::setCurrentItem(), PosterPreview::setMediaSize(), QPushButton::setOn(), QLineEdit::setText(), QLabel::setText(), slotPosterSizeChanged(), and QString::toInt().

void KPPosterPage::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 290 of file kpposterpage.cpp.

References QComboBox::currentItem(), QCheckBox::isChecked(), QStringList::join(), QString::number(), QMap::remove(), QStringList::split(), QLineEdit::text(), and QLabel::text().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for kdeprint Library Version 3.4.3.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Sun Oct 9 08:05:57 2005 by doxygen 1.4.4 written by Dimitri van Heesch, © 1997-2003