10#include "okularcore_export.h"
29class OKULARCORE_EXPORT
View
33 friend class DocumentPrivate;
53 CapabilityRead = 0x01,
54 CapabilityWrite = 0x02,
55 CapabilitySerializable = 0x04
57 Q_DECLARE_FLAGS(CapabilityFlags, CapabilityFlag)
75 virtual bool supportsCapability(ViewCapability capability)
const;
80 virtual CapabilityFlags capabilityFlags(ViewCapability capability)
const;
85 virtual QVariant capability(ViewCapability capability)
const;
90 virtual void setCapability(ViewCapability capability,
const QVariant &option);
99 Q_DECLARE_PRIVATE(
View)
CapabilityFlag
The access type of a capability.
ViewCapability
The capabilities of a view.
@ ZoomModality
Possibility to get/set the zoom mode of the view.
@ Zoom
Possibility to get/set the zoom of the view.
@ ViewModeModality
Possibility to get/set the view mode.
@ Continuous
Possibility to toggle continuous mode.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:14:50 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.