Changeset View
Changeset View
Standalone View
Standalone View
interfaces/printinterface.h
Show First 20 Lines • Show All 43 Lines • ▼ Show 20 Line(s) | 41 | public: | |||
---|---|---|---|---|---|
44 | */ | 44 | */ | ||
45 | virtual ~PrintInterface() {} | 45 | virtual ~PrintInterface() {} | ||
46 | 46 | | |||
47 | /** | 47 | /** | ||
48 | * Builds and returns a new printing configuration widget. | 48 | * Builds and returns a new printing configuration widget. | ||
49 | * | 49 | * | ||
50 | * @note don't keep a pointer to the new constructed widget, as it | 50 | * @note don't keep a pointer to the new constructed widget, as it | ||
51 | * will be handled elsewhere (in the Okular KPart) | 51 | * will be handled elsewhere (in the Okular KPart) | ||
52 | * | ||||
53 | * @note The returned object should be of a PrintOptionsWidget subclass | ||||
54 | * (which is not officially enforced by the signature for binary | ||||
55 | * compatibility reasons). | ||||
52 | */ | 56 | */ | ||
53 | virtual QWidget* printConfigurationWidget() const = 0; | 57 | virtual QWidget* printConfigurationWidget() const = 0; | ||
54 | }; | 58 | }; | ||
55 | 59 | | |||
56 | } | 60 | } | ||
57 | 61 | | |||
58 | Q_DECLARE_INTERFACE( Okular::PrintInterface, "org.kde.okular.PrintInterface/0.1" ) | 62 | Q_DECLARE_INTERFACE( Okular::PrintInterface, "org.kde.okular.PrintInterface/0.1" ) | ||
59 | 63 | | |||
60 | #endif | 64 | #endif |