Okular::View
Okular::View Class Reference
#include <view.h>
Public Types | |
enum | CapabilityFlag { NoFlag = 0 , CapabilityRead = 0x01 , CapabilityWrite = 0x02 , CapabilitySerializable = 0x04 } |
typedef QFlags< CapabilityFlag > | CapabilityFlags |
enum | ViewCapability { Zoom , ZoomModality , Continuous , ViewModeModality , TrimMargins } |
Public Member Functions | |
virtual QVariant | capability (ViewCapability capability) const |
virtual CapabilityFlags | capabilityFlags (ViewCapability capability) const |
QString | name () const |
virtual void | setCapability (ViewCapability capability, const QVariant &option) |
virtual bool | supportsCapability (ViewCapability capability) const |
Document * | viewDocument () const |
Protected Member Functions | |
View (const QString &name) | |
Detailed Description
View on the document.
The View class represents a "view" on a document. A view can be registered with only a document at a time.
- Since
- 0.7 (KDE 4.1)
Member Typedef Documentation
◆ CapabilityFlags
Member Enumeration Documentation
◆ CapabilityFlag
◆ ViewCapability
The capabilities of a view.
Constructor & Destructor Documentation
◆ ~View()
◆ View()
|
explicitprotected |
Member Function Documentation
◆ capability()
|
virtual |
◆ capabilityFlags()
|
virtual |
◆ name()
◆ setCapability()
|
virtual |
◆ supportsCapability()
|
virtual |
◆ viewDocument()
Document * View::viewDocument | ( | ) | const |
The documentation for this class was generated from the following files:
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.