Search for usage in LXR

Okular::PrintInterface Class Referenceabstract

#include <printinterface.h>

Public Member Functions

 PrintInterface (const PrintInterface &)=delete
virtual ~PrintInterface ()
PrintInterfaceoperator= (const PrintInterface &)=delete
virtual QWidgetprintConfigurationWidget () 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:

class MyGenerator : public Okular::Generator, public Okular::PrintInterface
Q_INTERFACES( Okular::PrintInterface )
[Abstract Class] The information generator.
Definition generator.h:188
Abstract interface for advanced printing control.

and - of course - implementing its methods.

Definition at line 36 of file printinterface.h.

Constructor & Destructor Documentation

◆ PrintInterface()

Okular::PrintInterface::PrintInterface ( )

Definition at line 39 of file printinterface.h.

◆ ~PrintInterface()

virtual Okular::PrintInterface::~PrintInterface ( )

Destroys the printer interface.

Definition at line 46 of file printinterface.h.

Member Function Documentation

◆ printConfigurationWidget()

virtual QWidget * Okular::PrintInterface::printConfigurationWidget ( ) const
pure virtual

Builds and returns a new printing configuration widget.

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 Fri May 17 2024 11:54:29 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.