#include "qsstream.h"#include "qsimporter.h"#include "pdfutil.h"#include "util.h"#include <qfile.h>#include <kernel/cobject.h>#include <qstring.h>#include <qcstring.h>Namespaces | |
| namespace | gui |
Graphical user interface namespace. | |
Defines | |
| #define | OP_BEGIN |
| #define | OP_END(func) |
QObject wrapper around CStream
Export some functions to scripting.
See doc/user/scripting.xml or kernel documentation for more informations about these functions
| #define OP_BEGIN |
CStream *st=dynamic_cast<CStream*>(obj.get());\ assert(st);\ try {
Standard error handling - code added before the operation
| #define OP_END | ( | func | ) |
} catch (ReadOnlyDocumentException &e) { \ base->errorException("Stream",func,QObject::tr("Document is read-only")); \ } catch (NotImplementedException &e) { \ base->errorException("Stream",func,QObject::tr("Operation not implemented: %1").arg(e.what())); \ }
Standard error handling - code added after the operation