QObject wrapper around CAnnotation object. More...
#include <qsannotation.h>
Public Slots | |
| QSDict * | getDictionary () |
| QSPage * | getPage () |
| bool | remove () |
| QString | getType () |
| QString | getTypeName () |
Public Member Functions | |
| QSAnnotation (boost::shared_ptr< CAnnotation > pdfObj, boost::shared_ptr< CPage > _page, BaseCore *_base) | |
| virtual | ~QSAnnotation () |
| boost::shared_ptr< CAnnotation > | get () const |
Private Attributes | |
| boost::shared_ptr< CAnnotation > | obj |
| boost::shared_ptr< CPage > | page |
QObject wrapper around CAnnotation object.
| gui::QSAnnotation::QSAnnotation | ( | boost::shared_ptr< CAnnotation > | pdfObj, | |
| boost::shared_ptr< CPage > | _page, | |||
| BaseCore * | _base | |||
| ) |
| gui::QSAnnotation::~QSAnnotation | ( | ) | [virtual] |
destructor
| boost::shared_ptr< CAnnotation > gui::QSAnnotation::get | ( | ) | const |
get CAnnotation held inside this class. Not exposed to scripting
References obj.
Referenced by gui::QSPage::addAnnotation().
| QSDict * gui::QSAnnotation::getDictionary | ( | ) | [slot] |
Call CAnnotation::getDictionary
References gui::QSCObject::base, and obj.
| QSPage * gui::QSAnnotation::getPage | ( | ) | [slot] |
Get annotation's page
References gui::QSCObject::base, and page.
| QString gui::QSAnnotation::getType | ( | ) | [slot] |
Return type identifier of annotation
References util::annotType(), and obj.
| QString gui::QSAnnotation::getTypeName | ( | ) | [slot] |
Return human-readable, localized type identifier of annotation
References util::annotTypeName(), and obj.
| bool gui::QSAnnotation::remove | ( | ) | [slot] |
Remove this annotation from its page, if it is in a page
References gui::QSCObject::base, gui::BaseCore::errorException(), obj, and page.
boost::shared_ptr<CAnnotation> gui::QSAnnotation::obj [private] |
Object held in class
Referenced by get(), getDictionary(), getType(), getTypeName(), QSAnnotation(), and remove().
boost::shared_ptr<CPage> gui::QSAnnotation::page [private] |
Page holding this annotation
Referenced by getPage(), QSAnnotation(), and remove().