Okular::PrintInterface
Okular::PrintInterface Class Referenceabstract
#include <printinterface.h>
Public Member Functions | |
PrintInterface (const PrintInterface &)=delete | |
virtual | ~PrintInterface () |
PrintInterface & | operator= (const PrintInterface &)=delete |
virtual QWidget * | printConfigurationWidget () const =0 |
Detailed Description
Abstract interface for advanced printing control.
This interface defines an advanced way of interfacing with the print process.
How to use it in a custom Generator:
{
...
};
Abstract interface for advanced printing control.
Definition printinterface.h:37
Q_INTERFACES(...)
Q_OBJECTQ_OBJECT
and - of course - implementing its methods.
Definition at line 36 of file printinterface.h.
Constructor & Destructor Documentation
◆ PrintInterface()
|
inline |
Definition at line 39 of file printinterface.h.
◆ ~PrintInterface()
|
inlinevirtual |
Destroys the printer interface.
Definition at line 46 of file printinterface.h.
Member Function Documentation
◆ printConfigurationWidget()
|
pure virtual |
Builds and returns a new printing configuration widget.
- Note
- don't keep a pointer to the new constructed widget, as it will be handled elsewhere (in the Okular KPart)
- The returned object should be of a PrintOptionsWidget subclass (which is not officially enforced by the signature for binary compatibility reasons).
The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:58:33 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:58:33 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.