summaryrefslogtreecommitdiffstats
path: root/src/tqdbusobjectpath.h
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2019-05-20 23:22:18 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2019-05-20 23:22:18 +0900
commit00b00f996127cbb0e9d677494494b971cbdadb3d (patch)
treeaa64ef1b3d0956409c59ce28bd8382d3aadc4551 /src/tqdbusobjectpath.h
parent6b319e048259b4ea4962d8b7c2cd514a07898745 (diff)
downloaddbus-1-tqt-00b00f996127cbb0e9d677494494b971cbdadb3d.tar.gz
dbus-1-tqt-00b00f996127cbb0e9d677494494b971cbdadb3d.zip
Modified TQT_DBusObjectPath to inherit from TQString instead of
TQCString. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/tqdbusobjectpath.h')
-rw-r--r--src/tqdbusobjectpath.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/src/tqdbusobjectpath.h b/src/tqdbusobjectpath.h
index 7a166c6..3d184d3 100644
--- a/src/tqdbusobjectpath.h
+++ b/src/tqdbusobjectpath.h
@@ -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>
*
@@ -18,13 +18,12 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
* USA.
- *
*/
#ifndef TQDBUSOBJECTPATH_H
#define TQDBUSOBJECTPATH_H
-#include <tqcstring.h>
+#include <tqstring.h>
#include "tqdbusmacros.h"
/**
@@ -36,7 +35,7 @@
*
* @see @ref dbusconventions-objectpath
*/
-class TQDBUS_EXPORT TQT_DBusObjectPath : public TQCString
+class TQDBUS_EXPORT TQT_DBusObjectPath : public TQString
{
public:
/**
@@ -49,14 +48,14 @@ public:
*
* @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
*
* @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
@@ -76,7 +75,7 @@ public:
* @param parentNode the object path to create the child on
* @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
@@ -113,7 +112,7 @@ public:
*
* @see isValid()
*/
- static int validate(const TQCString& path);
+ static int validate(const TQString &path);
};
#endif