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

KDEUI

KdePrint Namespace Reference

Namespace for the KDE printing system. More...

Functions

QPrintDialog * createPrintDialog (QPrinter *printer, QWidget *parent=0)
QPrintDialog * createPrintDialog (QPrinter *printer, const QList< QWidget * > &customTabs, QWidget *parent=0)

Detailed Description

Namespace for the KDE printing system.


Function Documentation

QPrintDialog * KdePrint::createPrintDialog ( QPrinter *  printer,
QWidget *  parent = 0 
)

Creates a printer dialog for a QPrinter.

The caller takes ownership of the dialog and is responsible for deleting it.

Parameters:
printer the QPrinter to apply settings to
parent the parent for the dialog

Definition at line 58 of file kdeprintdialog.cpp.

QPrintDialog * KdePrint::createPrintDialog ( QPrinter *  printer,
const QList< QWidget * > &  customTabs,
QWidget *  parent = 0 
)

Creates a printer dialog for a QPrinter with the given custom widgets.

Note that the custom widgets are only supported on X11 and will not be shown on Qt versions prior to 4.3.2. On non-X11 systems it is preferred to provide the widgets within configuration dialog of the application.

Setting the widgets will transfer their ownership to the print dialog even on non-X11 systems. The caller takes ownership of the dialog and is responsible for deleting it.

Parameters:
printer the QPrinter to apply settings to
parent the parent for the dialog
customTabs a list of custom widgets to show as tabs, the name printed on the tab will be taken from the widgets windowTitle().
See also:
QWidget::setWindowTitle()
QAbstractPrintDialog::setOptionTabs()

Definition at line 36 of file kdeprintdialog.cpp.

KDEUI

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

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.6.1
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