summaryrefslogtreecommitdiffstats
path: root/ksvg/test/external/printnodetest.h
diff options
context:
space:
mode:
authortoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
committertoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
commit47d455dd55be855e4cc691c32f687f723d9247ee (patch)
tree52e236aaa2576bdb3840ebede26619692fed6d7d /ksvg/test/external/printnodetest.h
downloadtdegraphics-47d455dd55be855e4cc691c32f687f723d9247ee.tar.gz
tdegraphics-47d455dd55be855e4cc691c32f687f723d9247ee.zip
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksvg/test/external/printnodetest.h')
-rw-r--r--ksvg/test/external/printnodetest.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/ksvg/test/external/printnodetest.h b/ksvg/test/external/printnodetest.h
new file mode 100644
index 00000000..e95a46a9
--- /dev/null
+++ b/ksvg/test/external/printnodetest.h
@@ -0,0 +1,32 @@
+#ifndef PRINTNODETEST_H
+#define PRINTNODETEST_H
+
+#include <kurl.h>
+#include <qobject.h>
+
+namespace KSVG
+{
+
+class SVGDocument;
+class Worker : public QObject
+{
+Q_OBJECT
+public:
+ Worker(const KURL &url);
+ ~Worker();
+
+private slots:
+ void slotParsingFinished(bool error, const QString &errorDesc);
+
+private:
+ // It's not allowed to store a m_doc object here,
+ // because it's ctor is called before we can setup
+ // our 'DocumentFactory', in that case it'll just crash (Niko)
+ SVGDocument *m_doc;
+};
+
+}
+
+#endif
+
+// vim:ts=4:noet