From e271940e6e10c4f5515efa13e3df47a138ea495b Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 22:19:39 +0000 Subject: [PATCH] rename the following methods: tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/dependencies/dbus-tqt@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- ChangeLog | 32 ++++++++++++++++---------------- connection.cpp | 16 ++++++++-------- connection.h | 8 ++++---- dbus-qt.h | 4 ++-- integrator.cpp | 12 ++++++------ integrator.h | 6 +++--- ltmain.sh | 6 +++--- server.cpp | 4 ++-- server.h | 2 +- 9 files changed, 45 insertions(+), 45 deletions(-) diff --git a/ChangeLog b/ChangeLog index e820ac4..5a3ce5e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -233,7 +233,7 @@ * qt/qdbusabstractadaptor.cpp: * qt/qdbusabstractadaptor.h: Make QDBusAdaptorConnector be a sibling of the QDBusAbstractAdaptor objects instead of the - tqparent. (r535848) + parent. (r535848) * qt/dbusidl2cpp.cpp: * qt/qdbusabstractinterface.cpp: @@ -400,7 +400,7 @@ 2006-04-13 Thiago Macieira - * qt/qdbusinternalfilters.cpp: Don't show the tqparent's + * qt/qdbusinternalfilters.cpp: Don't show the parent's contents (r528208) 2006-04-10 Thiago Macieira @@ -1179,7 +1179,7 @@ * python/service.py: Major changes to allow multiple inheritance from classes that define D-Bus interfaces: - 1. Create a new Interface class which is the tqparent class of + 1. Create a new Interface class which is the parent class of Object, and make the ObjectType metaclass into InterfaceType. 2. Patch written with Rob Taylor to replace use of method_vtable @@ -3496,7 +3496,7 @@ 2005-05-08 Havoc Pennington * dbus/dbus-sysdeps-util.c (_dbus_become_daemon): write the - daemon's pid, not the tqparent's pid, to the file descriptor. + daemon's pid, not the parent's pid, to the file descriptor. Reported by Taj Morton. 2005-05-05 Havoc Pennington @@ -7147,8 +7147,8 @@ * bus/config-parser.c (struct BusConfigParser): Added included_files field. (seen_include): Added. Checks whether or not a file has already - been included by any tqparent BusConfigParser. - (bus_config_parser_new): Copy the tqparent's included_files. + been included by any parent BusConfigParser. + (bus_config_parser_new): Copy the parent's included_files. (include_file): Track which files have been included, and fail on circular inclusions. (process_test_valid_subdir): Changed printf to report if we are @@ -7159,12 +7159,12 @@ 2004-04-09 Jon Trowbridge - * bus/config-parser.c (bus_config_parser_new): Added a 'tqparent' + * bus/config-parser.c (bus_config_parser_new): Added a 'parent' argument. If non-null, the newly-constructed BusConfigParser will - be initialized with the tqparent's BusLimits instead of the default + be initialized with the parent's BusLimits instead of the default values. (include_file): When including a config file, pass in - the current parser as the tqparent and then copy the BusLimits + the current parser as the parent and then copy the BusLimits from the included BusConfigParser pack to the current parser. (process_test_valid_subdir): Renamed from process_test_subdir. (process_test_equiv_subdir): Added. Walks through a directory, @@ -7175,15 +7175,15 @@ (bus_config_parser_test): Call both process_test_valid_subdir and process_test_equiv_subdir. - * bus/config-loader-libxml.c (bus_config_load): Take a tqparent + * bus/config-loader-libxml.c (bus_config_load): Take a parent argument and pass it along to the call to bus_config_parser_new. Also made a few small changes to allow this code to compile. - * bus/config-loader-expat.c (bus_config_load): Take a tqparent + * bus/config-loader-expat.c (bus_config_load): Take a parent argument and pass it along to the call to bus_config_parser_new. * bus/bus.c (bus_context_new): Load the config file - with a NULL tqparent argument. + with a NULL parent argument. 2004-03-29 Michael Meeks @@ -7981,7 +7981,7 @@ 2003-09-23 Havoc Pennington * glib/dbus-gproxy.c (struct DBusGProxy): convert to a GObject - subclass. This means dropping the transtqparent thread safety of the + subclass. This means dropping the transparent thread safety of the proxy; you now need a separate proxy per-thread, or your own locking on the proxy. Probably right anyway. (dbus_gproxy_ref, dbus_gproxy_unref): nuke, just use g_object_ref @@ -9610,7 +9610,7 @@ 2003-04-10 Havoc Pennington * dbus/dbus-spawn.c (_dbus_spawn_async_with_babysitter): move all - the possible tqparent failures before we fork, so that we don't + the possible parent failures before we fork, so that we don't fail to create a babysitter after creating the child. * bus/activation.c (bus_activation_activate_service): kill child @@ -9935,8 +9935,8 @@ 2003-04-06 Havoc Pennington * dbus/dbus-sysdeps.c (_dbus_become_daemon): write the pidfile - here in the tqparent process, so we can return an error if it - fails. Also, move some of the code into the child so the tqparent + here in the parent process, so we can return an error if it + fails. Also, move some of the code into the child so the parent is less hosed if we fail midway through. * bus/bus.c (bus_context_new): move pidfile detection further up diff --git a/connection.cpp b/connection.cpp index 295bc1d..a77da60 100644 --- a/connection.cpp +++ b/connection.cpp @@ -58,14 +58,14 @@ void Connection::Private::setConnection( DBusConnection *c ) connect( integrator, TQT_SIGNAL(readReady()), q, TQT_SLOT(dispatchRead()) ); } -Connection::Connection( TQObject *tqparent ) - : TQObject( tqparent ) +Connection::Connection( TQObject *parent ) + : TQObject( parent ) { d = new Private( this ); } -Connection::Connection( const TQString& host, TQObject *tqparent ) - : TQObject( tqparent ) +Connection::Connection( const TQString& host, TQObject *parent ) + : TQObject( parent ) { d = new Private( this ); @@ -73,8 +73,8 @@ Connection::Connection( const TQString& host, TQObject *tqparent ) init( host ); } -Connection::Connection( DBusBusType type, TQObject* tqparent ) - : TQObject( tqparent ) +Connection::Connection( DBusBusType type, TQObject* parent ) + : TQObject( parent ) { d = new Private( this ); d->setConnection( dbus_bus_get(type, &d->error) ); @@ -125,8 +125,8 @@ DBusConnection* Connection::connection() const return d->connection; } -Connection::Connection( DBusConnection *connection, TQObject *tqparent ) - : TQObject( tqparent ) +Connection::Connection( DBusConnection *connection, TQObject *parent ) + : TQObject( parent ) { d = new Private(this); d->setConnection(connection); diff --git a/connection.h b/connection.h index eec6b5f..9962841 100644 --- a/connection.h +++ b/connection.h @@ -40,10 +40,10 @@ namespace DBusQt { Q_OBJECT TQ_OBJECT public: - Connection( TQObject *tqparent =0 ); + Connection( TQObject *parent =0 ); Connection( const TQString& host, - TQObject *tqparent = 0 ); - Connection( DBusBusType type, TQObject* tqparent = 0 ); + TQObject *parent = 0 ); + Connection( DBusBusType type, TQObject* parent = 0 ); bool isConnected() const; bool isAuthenticated() const; @@ -71,7 +71,7 @@ namespace DBusQt { private: friend class Internal::Integrator; DBusConnection *connection() const; - Connection( DBusConnection *connection, TQObject *tqparent ); + Connection( DBusConnection *connection, TQObject *parent ); private: struct Private; diff --git a/dbus-qt.h b/dbus-qt.h index 8723ad9..71b7f50 100644 --- a/dbus-qt.h +++ b/dbus-qt.h @@ -33,7 +33,7 @@ class DBusQtConnection : public TQObject { Q_OBJECT TQ_OBJECT public: - DBusQtConnection( const char *address=0, TQObject *tqparent=0, + DBusQtConnection( const char *address=0, TQObject *parent=0, const char *name=0 ); bool open( const char *address ); @@ -65,7 +65,7 @@ signals: void message (DBusConnection* connection, DBusMessage* message); private: - DBusQtNotifier(TQObject *tqparent); + DBusQtNotifier(TQObject *parent); private slots: void processNotifiers( int socket ); private: diff --git a/integrator.cpp b/integrator.cpp index dbb5a76..6e8528b 100644 --- a/integrator.cpp +++ b/integrator.cpp @@ -101,8 +101,8 @@ void dbusNewConnection( DBusServer *server, } ///////////////////////////////////////////////////////////// -Timeout::Timeout( TQObject *tqparent, DBusTimeout *t ) - : TQObject( tqparent ), m_timeout( t ) +Timeout::Timeout( TQObject *parent, DBusTimeout *t ) + : TQObject( parent ), m_timeout( t ) { m_timer = new TQTimer( this ); connect( m_timer, TQT_SIGNAL(timeout()), @@ -119,8 +119,8 @@ void Timeout::start() m_timer->start( dbus_timeout_get_interval( m_timeout ) ); } -Integrator::Integrator( DBusConnection *conn, TQObject *tqparent ) - : TQObject( tqparent ), m_connection( conn ) +Integrator::Integrator( DBusConnection *conn, TQObject *parent ) + : TQObject( parent ), m_connection( conn ) { m_timeouts.setAutoDelete( true ); @@ -139,8 +139,8 @@ Integrator::Integrator( DBusConnection *conn, TQObject *tqparent ) this, 0 ); } -Integrator::Integrator( DBusServer *server, TQObject *tqparent ) - : TQObject( tqparent ), m_server( server ) +Integrator::Integrator( DBusServer *server, TQObject *parent ) + : TQObject( parent ), m_server( server ) { m_connection = reinterpret_cast( m_server ); m_timeouts.setAutoDelete( true ); diff --git a/integrator.h b/integrator.h index b43fd26..43fb4dc 100644 --- a/integrator.h +++ b/integrator.h @@ -45,7 +45,7 @@ namespace DBusQt Q_OBJECT TQ_OBJECT public: - Timeout( TQObject *tqparent, DBusTimeout *t ); + Timeout( TQObject *parent, DBusTimeout *t ); public: void start(); signals: @@ -62,8 +62,8 @@ namespace DBusQt Q_OBJECT TQ_OBJECT public: - Integrator( DBusConnection *connection, TQObject *tqparent ); - Integrator( DBusServer *server, TQObject *tqparent ); + Integrator( DBusConnection *connection, TQObject *parent ); + Integrator( DBusServer *server, TQObject *parent ); signals: void readReady(); diff --git a/ltmain.sh b/ltmain.sh index 0e22c54..c398466 100644 --- a/ltmain.sh +++ b/ltmain.sh @@ -161,10 +161,10 @@ func_mktempdir () # Failing that, at least try and use $RANDOM to avoid a race my_tmpdir="${my_template}-${RANDOM-0}$$" - save_mktempdir_utqmask=`utqmask` - utqmask 0077 + save_mktempdir_umask=`umask` + umask 0077 $mkdir "$my_tmpdir" - utqmask $save_mktempdir_utqmask + umask $save_mktempdir_umask fi # If we're not in dry-run mode, bomb out on failure diff --git a/server.cpp b/server.cpp index a9610f5..f09d8a2 100644 --- a/server.cpp +++ b/server.cpp @@ -38,8 +38,8 @@ struct Server::Private { DBusError error; }; -Server::Server( const TQString& addr, TQObject *tqparent ) - : TQObject( tqparent ) +Server::Server( const TQString& addr, TQObject *parent ) + : TQObject( parent ) { d = new Private; diff --git a/server.h b/server.h index 011b6d2..8d2c6a7 100644 --- a/server.h +++ b/server.h @@ -35,7 +35,7 @@ namespace DBusQt Q_OBJECT TQ_OBJECT public: - Server( const TQString& addr = TQString(), TQObject *tqparent=0 ); + Server( const TQString& addr = TQString(), TQObject *parent=0 ); ~Server(); bool isConnected() const;