#include "qsdict.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 CDict
Export some functions to scripting.
See doc/user/scripting.xml or kernel documentation for more informations about these functions
| #define OP_BEGIN |
CDict *dict=dynamic_cast<CDict*>(obj.get());\ try {
Standard error handling - code added before the operation
| #define OP_END | ( | func | ) |
} catch (ReadOnlyDocumentException &e) { \ base->errorException("Dict",func,QObject::tr("Document is read-only")); \ } catch (NotImplementedException &e) { \ base->errorException("Dict",func,QObject::tr("Operation not implemented: %1").arg(e.what())); \ }
Standard error handling - code added after the operation