20 #ifndef __konqxmlguiclient_h
21 #define __konqxmlguiclient_h
23 #include <sys/types.h>
25 #include <tdeaction.h>
26 #include <kxmlguiclient.h>
27 #include <tqstringlist.h>
28 #include <libkonq_export.h>
43 TQDomDocument domDocument()
const;
44 TQDomElement DomElement()
const;
47 bool hasGroup(
const TQString &name)
const;
50 void addAction(TDEAction *action,
const TQDomElement &menu = TQDomElement());
51 void addAction(
const char *name,
const TQDomElement &menu = TQDomElement());
52 void addSeparator(
const TQDomElement &menu = TQDomElement());
54 void addPendingSeparator();
55 void addGroup(
const TQString &grp);
56 void addMerge(
const TQString &name);
59 bool hasAction()
const;
60 void prepareXMLGUIStuff();
63 TQDomElement m_menuElement;
67 void handlePendingSeparator();
This class implements common methods to manipulate the DOMDocument of KXMLGUIClient.