rename the following methods:

tqparent parent
tqmask mask


git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/dependencies/dbus-1-tqt@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru v3.5.13
tpearson 13 years ago
parent f32d0d5fd0
commit 501d489d46

@ -401,7 +401,7 @@ static void openClassDeclaration(const Class& classData,
stream << " TQ_OBJECT" << endl;
stream << "public:" << endl;
stream << " " << classData.name
<< "(const TQString& service, const TQString& path, TQObject* tqparent = 0, const char* name = 0);" << endl;
<< "(const TQString& service, const TQString& path, TQObject* parent = 0, const char* name = 0);" << endl;
stream << endl;
stream << " virtual ~" << classData.name << "();" << endl;

@ -1124,8 +1124,8 @@ void MethodGenerator::writeSignalHandler(const Class& classData,
void MethodGenerator::writeProxyBegin(const Class& classData, TQTextStream& stream)
{
stream << classData.name << "::" << classData.name
<< "(const TQString& service, const TQString& path, TQObject* tqparent, const char* name)" << endl;
stream << " : TQObject(tqparent, name)," << endl;
<< "(const TQString& service, const TQString& path, TQObject* parent, const char* name)" << endl;
stream << " : TQObject(parent, name)," << endl;
stream << " m_baseProxy(new TQT_DBusProxy())" << endl;
stream << "{" << endl;
stream << " m_baseProxy->setInterface(\""

@ -62,7 +62,7 @@ class TQT_DBusConnectionPrivate: public TQObject
TQ_OBJECT
public:
TQT_DBusConnectionPrivate(TQObject *tqparent = 0);
TQT_DBusConnectionPrivate(TQObject *parent = 0);
~TQT_DBusConnectionPrivate();
void bindToApplication();

@ -271,8 +271,8 @@ int TQT_DBusConnectionPrivate::registerMessageMetaType()
return tp;
}
TQT_DBusConnectionPrivate::TQT_DBusConnectionPrivate(TQObject *tqparent)
: TQObject(tqparent), ref(1), mode(InvalidMode), connection(0), server(0),
TQT_DBusConnectionPrivate::TQT_DBusConnectionPrivate(TQObject *parent)
: TQObject(parent), ref(1), mode(InvalidMode), connection(0), server(0),
dispatcher(0)
{
static const int msgType = registerMessageMetaType();

@ -58,7 +58,7 @@ public:
TQT_DBusObjectPath(const TQCString& other);
/**
* @brief Creates an object path for an object as a child of the tqparent node
* @brief Creates an object path for an object as a child of the parent node
*
* This is basically like specifying a directory and a file name to create
* the file's full path.
@ -90,11 +90,11 @@ public:
bool isValid() const;
/**
* @brief Returns the object path of this path's tqparent node
* @brief Returns the object path of this path's parent node
*
* This is basically like getting the directory of an file path
*
* @return the tqparent node's object path or an empty and invalid object
* @return the parent node's object path or an empty and invalid object
* if this is already the root node
*/
TQT_DBusObjectPath parentNode() const;

@ -48,15 +48,15 @@ public:
TQT_DBusError error;
};
TQT_DBusProxy::TQT_DBusProxy(TQObject* tqparent, const char* name)
: TQObject(tqparent, (name ? name : "TQT_DBusProxy")),
TQT_DBusProxy::TQT_DBusProxy(TQObject* parent, const char* name)
: TQObject(parent, (name ? name : "TQT_DBusProxy")),
d(new Private())
{
}
TQT_DBusProxy::TQT_DBusProxy(const TQT_DBusConnection& connection,
TQObject* tqparent, const char* name)
: TQObject(tqparent, (name ? name : "TQT_DBusProxy")),
TQObject* parent, const char* name)
: TQObject(parent, (name ? name : "TQT_DBusProxy")),
d(new Private())
{
setConnection(connection);
@ -64,8 +64,8 @@ TQT_DBusProxy::TQT_DBusProxy(const TQT_DBusConnection& connection,
TQT_DBusProxy::TQT_DBusProxy(const TQString& service, const TQString& path,
const TQString& interface, const TQT_DBusConnection& connection,
TQObject* tqparent, const char* name)
: TQObject(tqparent, (name ? name : "TQT_DBusProxy")),
TQObject* parent, const char* name)
: TQObject(parent, (name ? name : "TQT_DBusProxy")),
d(new Private())
{
setConnection(connection);

@ -245,10 +245,10 @@ public:
* This basic constructor allows to create a proxy and specify the peer
* object and interface later on.
*
* @param tqparent TQObject tqparent
* @param parent TQObject parent
* @param name TQObject name
*/
TQT_DBusProxy(TQObject* tqparent = 0, const char* name = 0);
TQT_DBusProxy(TQObject* parent = 0, const char* name = 0);
/**
* @brief Creates a proxy on a given connection without binding it to a
@ -262,10 +262,10 @@ public:
* filtering for a specific peer.
*
* @param connection the D-Bus connection to work on
* @param tqparent TQObject tqparent
* @param parent TQObject parent
* @param name TQObject name
*/
TQT_DBusProxy(const TQT_DBusConnection& connection, TQObject* tqparent = 0,
TQT_DBusProxy(const TQT_DBusConnection& connection, TQObject* parent = 0,
const char* name = 0);
/**
@ -279,12 +279,12 @@ public:
* @param path the peer object's path within its host application
* @param interface the interface to work with
* @param connection the D-Bus connection to work on
* @param tqparent TQObject tqparent
* @param parent TQObject parent
* @param name TQObject name
*/
TQT_DBusProxy(const TQString& service, const TQString& path,
const TQString& interface, const TQT_DBusConnection& connection,
TQObject* tqparent = 0, const char* name = 0);
TQObject* parent = 0, const char* name = 0);
/**
* @brief Destroys the proxy instance

@ -24,8 +24,8 @@
#include "tqdbusserver.h"
#include "tqdbusconnection_p.h"
TQT_DBusServer::TQT_DBusServer(const TQString &addr, TQObject *tqparent)
: TQObject(tqparent)
TQT_DBusServer::TQT_DBusServer(const TQString &addr, TQObject *parent)
: TQObject(parent)
{
d = new TQT_DBusConnectionPrivate(this);

@ -38,7 +38,7 @@ class TQDBUS_EXPORT TQT_DBusServer: public TQObject
Q_OBJECT
TQ_OBJECT
public:
TQT_DBusServer(const TQString &address, TQObject *tqparent = 0);
TQT_DBusServer(const TQString &address, TQObject *parent = 0);
bool isConnected() const;
TQT_DBusError lastError() const;

Loading…
Cancel
Save