summaryrefslogtreecommitdiffstats
path: root/ksvg/test/external/printnodetest.h
blob: ac1bdbf882b889585b35c3e71647b8f4cd5d84cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#ifndef PRINTNODETEST_H
#define PRINTNODETEST_H

#include <kurl.h>
#include <tqobject.h>
	
namespace KSVG
{

class SVGDocument;
class Worker : public TQObject
{
Q_OBJECT
  TQ_OBJECT
public:
	Worker(const KURL &url);
	~Worker();

private slots:
	void slotParsingFinished(bool error, const TQString &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