|
|
@ -1,4 +1,4 @@
|
|
|
|
/* qdbusobjectpath.h DBUS object path data type
|
|
|
|
/* tqdbusobjectpath.h DBUS object path data type
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* Copyright (C) 2007 Kevin Krammer <kevin.krammer@gmx.at>
|
|
|
|
* Copyright (C) 2007 Kevin Krammer <kevin.krammer@gmx.at>
|
|
|
|
*
|
|
|
|
*
|
|
|
@ -18,13 +18,12 @@
|
|
|
|
* along with this program; if not, write to the Free Software
|
|
|
|
* along with this program; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
|
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
|
|
|
|
* USA.
|
|
|
|
* USA.
|
|
|
|
*
|
|
|
|
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef TQDBUSOBJECTPATH_H
|
|
|
|
#ifndef TQDBUSOBJECTPATH_H
|
|
|
|
#define TQDBUSOBJECTPATH_H
|
|
|
|
#define TQDBUSOBJECTPATH_H
|
|
|
|
|
|
|
|
|
|
|
|
#include <tqcstring.h>
|
|
|
|
#include <tqstring.h>
|
|
|
|
#include "tqdbusmacros.h"
|
|
|
|
#include "tqdbusmacros.h"
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
@ -36,7 +35,7 @@
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @see @ref dbusconventions-objectpath
|
|
|
|
* @see @ref dbusconventions-objectpath
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
class TQDBUS_EXPORT TQT_DBusObjectPath : public TQCString
|
|
|
|
class TQDBUS_EXPORT TQT_DBusObjectPath : public TQString
|
|
|
|
{
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
public:
|
|
|
|
/**
|
|
|
|
/**
|
|
|
@ -49,14 +48,14 @@ public:
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @param other the object path to copy
|
|
|
|
* @param other the object path to copy
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
TQT_DBusObjectPath(const TQT_DBusObjectPath& other);
|
|
|
|
TQT_DBusObjectPath(const TQT_DBusObjectPath &other);
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* @brief Creates copy of the given @p other object path
|
|
|
|
* @brief Creates copy of the given @p other object path
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @param other the object path to copy
|
|
|
|
* @param other the object path to copy
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
TQT_DBusObjectPath(const TQCString& other);
|
|
|
|
TQT_DBusObjectPath(const TQString &other);
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* @brief Creates an object path for an object as a child of the parent node
|
|
|
|
* @brief Creates an object path for an object as a child of the parent node
|
|
|
@ -76,7 +75,7 @@ public:
|
|
|
|
* @param parentNode the object path to create the child on
|
|
|
|
* @param parentNode the object path to create the child on
|
|
|
|
* @param nodeName the name of the child node
|
|
|
|
* @param nodeName the name of the child node
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
TQT_DBusObjectPath(const TQT_DBusObjectPath& parentNode, const TQCString& nodeName);
|
|
|
|
TQT_DBusObjectPath(const TQT_DBusObjectPath &parentNode, const TQString &nodeName);
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* @brief Returns whether the current content is considered a valid object path
|
|
|
|
* @brief Returns whether the current content is considered a valid object path
|
|
|
@ -113,7 +112,7 @@ public:
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @see isValid()
|
|
|
|
* @see isValid()
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
static int validate(const TQCString& path);
|
|
|
|
static int validate(const TQString &path);
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|