22 #include <qiomanager.h>
23 #include <dispatcher.h>
27 #include "kartsdispatcher.moc"
29 int KArtsDispatcher::m_refCount = 0;
30 Arts::Dispatcher *KArtsDispatcher::artsDispatcher = 0;
31 Arts::QIOManager *KArtsDispatcher::artsQIOManager = 0;
34 : TQObject(parent, name)
37 if(artsDispatcher == 0)
39 if (!Arts::Dispatcher::the())
41 artsQIOManager =
new Arts::QIOManager();
42 artsDispatcher =
new Arts::Dispatcher(artsQIOManager);
45 kdWarning(400) <<
"An Arts::Dispatcher() instance exists already while trying to instantiate KArtsDispatcher!" <<
endl;
54 delete KArtsDispatcher::artsDispatcher;
57 delete KArtsDispatcher::artsQIOManager;
KArtsDispatcher(TQObject *parent=0, const char *name=0)
Constructor.
~KArtsDispatcher()
Destructor.
kndbgstream & endl(kndbgstream &s)
kdbgstream kdWarning(int area=0)