okular
Okular::SaveInterface Class Reference
#include <saveinterface.h>
Detailed Description
Abstract interface for saving.This interface defines a way to save (or help saving) the document opened by the Generator.
How to use it in a custom Generator:
class MyGenerator : public Okular::Generator, public Okular::SaveInterface { Q_OBJECT Q_INTERFACES( Okular::SaveInterface ) ... };
Definition at line 39 of file saveinterface.h.
Public Types | |
| enum | SaveOption { NoOption = 0, SaveChanges = 1 } |
Public Member Functions | |
| virtual bool | save (const QString &fileName, SaveOptions options)=0 |
| virtual bool | supportsOption (SaveOption option) const =0 |
| virtual | ~SaveInterface () |
Member Enumeration Documentation
Constructor & Destructor Documentation
| virtual Okular::SaveInterface::~SaveInterface | ( | ) | [inline, virtual] |
Member Function Documentation
| virtual bool Okular::SaveInterface::save | ( | const QString & | fileName, | |
| SaveOptions | options | |||
| ) | [pure virtual] |
Save to the specified fileName with the specified options.
| virtual bool Okular::SaveInterface::supportsOption | ( | SaveOption | option | ) | const [pure virtual] |
Query for the supported saving options.
- Note:
- NoOption is never queried
The documentation for this class was generated from the following file:
KDE 4.2 API Reference