kdeprint Library API Documentation

KPFileSelectPage Class Reference

Inheritance diagram for KPFileSelectPage:

KPrintDialogPage QWidget List of all members.

Public Member Functions

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

Detailed Description

Definition at line 27 of file kpfileselectpage.h.


Member Function Documentation

void KPFileSelectPage::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 44 of file kpfileselectpage.cpp.

References KFileList::fileList(), and QStringList::join().

void KPFileSelectPage::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 55 of file kpfileselectpage.cpp.

References KFileList::setFileList(), and QStringList::split().


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.1.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Nov 1 10:34:38 2005 by doxygen 1.4.3 written by Dimitri van Heesch, © 1997-2003