19 #include "kbuildprotocolinfofactory.h"
20 #include "tdesycoca.h"
21 #include "tdesycocadict.h"
22 #include "kresourcelist.h"
24 #include <tdeglobal.h>
25 #include <kstandarddirs.h>
26 #include <kmessageboxwrapper.h>
28 #include <tdelocale.h>
32 KProtocolInfoFactory()
34 m_resourceList =
new KSycocaResourceList();
35 m_resourceList->add(
"services",
"*.protocol" );
42 return TQStringList() <<
"services";
45 KBuildProtocolInfoFactory::~KBuildProtocolInfoFactory()
47 delete m_resourceList;
53 return new KProtocolInfo(file);
59 KSycocaFactory::addEntry(newEntry, resource);
KBuildProtocolInfoFactory()
Create factory.
static TQStringList resourceTypes()
Returns all resource types for this service factory.
virtual KProtocolInfo * createEntry(const TQString &, const char *)
Create new entry.
virtual void addEntry(KSycocaEntry *newEntry, const char *resource)
Add a new entry.