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

KDEPrint

KPFilterPage Class Reference

#include <kpfilterpage.h>

Inheritance diagram for KPFilterPage:

Inheritance graph
[legend]

List of all members.


Detailed Description

Definition at line 33 of file kpfilterpage.h.


Public Member Functions

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

Protected Slots

void slotAddClicked ()
void slotConfigureClicked ()
void slotDownClicked ()
void slotItemSelected ()
void slotRemoveClicked ()
void slotUpClicked ()

Protected Member Functions

QStringList activeList ()
void checkFilterChain ()
KXmlCommand * currentFilter ()
void updateButton ()
void updateInfo ()

Constructor & Destructor Documentation

KPFilterPage::KPFilterPage ( QWidget *  parent = 0  ) 

Definition at line 36 of file kpfilterpage.cpp.

KPFilterPage::~KPFilterPage (  ) 

Definition at line 192 of file kpfilterpage.cpp.


Member Function Documentation

QStringList KPFilterPage::activeList (  )  [protected]

Definition at line 344 of file kpfilterpage.cpp.

void KPFilterPage::checkFilterChain (  )  [protected]

Definition at line 360 of file kpfilterpage.cpp.

KXmlCommand * KPFilterPage::currentFilter (  )  [protected]

Definition at line 352 of file kpfilterpage.cpp.

void KPFilterPage::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 331 of file kpfilterpage.cpp.

bool KPFilterPage::isValid ( QString &  msg  )  [virtual]

Returns true if options selected in the page are valid (no conflict), false otherwise.

When returning false, msg should contain an error message explaining what is wrong in the selected options.

Parameters:
msg should contain an error message when returning false
Returns:
valid status

Reimplemented from KPrintDialogPage.

Definition at line 382 of file kpfilterpage.cpp.

void KPFilterPage::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 298 of file kpfilterpage.cpp.

void KPFilterPage::slotAddClicked (  )  [protected, slot]

Definition at line 207 of file kpfilterpage.cpp.

void KPFilterPage::slotConfigureClicked (  )  [protected, slot]

Definition at line 277 of file kpfilterpage.cpp.

void KPFilterPage::slotDownClicked (  )  [protected, slot]

Definition at line 259 of file kpfilterpage.cpp.

void KPFilterPage::slotItemSelected (  )  [protected, slot]

Definition at line 284 of file kpfilterpage.cpp.

void KPFilterPage::slotRemoveClicked (  )  [protected, slot]

Definition at line 228 of file kpfilterpage.cpp.

void KPFilterPage::slotUpClicked (  )  [protected, slot]

Definition at line 241 of file kpfilterpage.cpp.

void KPFilterPage::updateButton (  )  [protected]

Definition at line 197 of file kpfilterpage.cpp.

void KPFilterPage::updateInfo (  )  [protected]

Definition at line 390 of file kpfilterpage.cpp.


The documentation for this class was generated from the following files:
  • kpfilterpage.h
  • kpfilterpage.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