// File autogenerated

#if !defined(DESKTOPNODE_H_INCLUDED)
#define DESKTOPNODE_H_INCLUDED

// TQt D-Bus includes
#include <tqdbuserror.h>
#include <tqdbusobject.h>

// forward declarations
class TQString;
class TQT_DBusConnection;

namespace org
{
namespace freedesktop
{
namespace portal
{

class desktopNode : public TQT_DBusObjectBase
{
public:
    desktopNode();

    virtual ~desktopNode();

    bool registerObject(const TQT_DBusConnection& connection, const TQString& path);
    void addChildNode(const TQString& child);

    void unregisterObject();

protected:
    virtual TQT_DBusObjectBase* createInterface(const TQString& interfaceName) = 0;

protected: // usually no need to reimplement
    virtual bool handleMethodCall(const TQT_DBusMessage& message);

private:
    class Private;
    Private* m_private;

private: // Hiding copy constructor and assignment operator
    desktopNode(const desktopNode&);
    desktopNode& operator=(const desktopNode&);
}; // class desktopNode

}; // namespace portal

}; // namespace freedesktop

}; // namespace org

#endif //DESKTOPNODE_H_INCLUDED

// End of File

