#include "qsarray.h"#include "qsimporter.h"#include <kernel/cobject.h>#include "pdfutil.h"#include "util.h"Namespaces | |
| namespace | gui |
Graphical user interface namespace. | |
Defines | |
| #define | OP_BEGIN |
| #define | OP_END(func) |
QObject wrapper around CArray
Export some functions to scripting.
See doc/user/scripting.xml or kernel documentation for more informations about these functions
| #define OP_BEGIN |
CArray *array=dynamic_cast<CArray*>(obj.get());\ try {
Standard error handling - code added before the operation
Referenced by gui::QSStream::add(), gui::QSDict::add(), gui::QSArray::add(), gui::QSStream::delProperty(), gui::QSDict::delProperty(), gui::QSArray::delProperty(), gui::QSStream::getDecoded(), gui::QSStream::getRawDecoded(), gui::QSStream::loadBuffer(), gui::QSStream::loadRawBuffer(), gui::QSStream::setBuffer(), and gui::QSStream::setRawBuffer().
| #define OP_END | ( | func | ) |
} catch (ReadOnlyDocumentException &e) { \ base->errorException("Array",func,QObject::tr("Document is read-only")); \ } catch (NotImplementedException &e) { \ base->errorException("Array",func,QObject::tr("Operation not implemented: %1").arg(e.what())); \ }
Standard error handling - code added after the operation
Referenced by gui::QSStream::add(), gui::QSDict::add(), gui::QSArray::add(), gui::QSStream::delProperty(), gui::QSDict::delProperty(), gui::QSArray::delProperty(), gui::QSStream::getDecoded(), gui::QSStream::getRawDecoded(), gui::QSStream::loadBuffer(), gui::QSStream::loadRawBuffer(), gui::QSStream::setBuffer(), and gui::QSStream::setRawBuffer().