From d296f1d337dabfeae5191955fdadb874965dbbe9 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 10 Aug 2011 12:13:27 -0500 Subject: rename the following methods: tqparent parent tqmask mask --- tqtinterface/qt4/src/network/tqftp.cpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'tqtinterface/qt4/src/network/tqftp.cpp') diff --git a/tqtinterface/qt4/src/network/tqftp.cpp b/tqtinterface/qt4/src/network/tqftp.cpp index 7b6acdd..78f1ce8 100644 --- a/tqtinterface/qt4/src/network/tqftp.cpp +++ b/tqtinterface/qt4/src/network/tqftp.cpp @@ -76,7 +76,7 @@ public: CsConnectionRefused }; - TQFtpDTP( TQFtpPI *p, TQObject *tqparent=0, const char *name=0 ); + TQFtpDTP( TQFtpPI *p, TQObject *parent=0, const char *name=0 ); void setData( TQByteArray * ); void setDevice( TQIODevice * ); @@ -163,7 +163,7 @@ class TQFtpPI : public TQObject TQ_OBJECT public: - TQFtpPI( TQObject *tqparent = 0 ); + TQFtpPI( TQObject *parent = 0 ); void connectToHost( const TQString &host, TQ_UINT16 port ); @@ -291,8 +291,8 @@ TQFtpCommand::~TQFtpCommand() * TQFtpDTP implemenatation * *********************************************************************/ -TQFtpDTP::TQFtpDTP( TQFtpPI *p, TQObject *tqparent, const char *name ) : - TQObject( tqparent, name ), +TQFtpDTP::TQFtpDTP( TQFtpPI *p, TQObject *parent, const char *name ) : + TQObject( parent, name ), socket( 0, "TQFtpDTP_socket" ), pi( p ), callWriteData( FALSE ) @@ -629,8 +629,8 @@ void TQFtpDTP::socketBytesWritten( int bytes ) * TQFtpPI implemenatation * *********************************************************************/ -TQFtpPI::TQFtpPI( TQObject *tqparent ) : - TQObject( tqparent ), +TQFtpPI::TQFtpPI( TQObject *parent ) : + TQObject( parent ), rawCommand(FALSE), dtp( this ), commandSocket( 0, "TQFtpPI_socket" ), @@ -1125,7 +1125,7 @@ static void delete_d( const TQFtp* foo ) simply achieved: \code - TQFtp *ftp = new TQFtp( this ); // this is an optional TQObject tqparent + TQFtp *ftp = new TQFtp( this ); // this is an optional TQObject parent ftp->connectToHost( "ftp.trolltech.com" ); ftp->login(); \endcode @@ -1237,13 +1237,13 @@ TQFtp::TQFtp() : TQNetworkProtocol() } /*! - Constructs a TQFtp object. The \a tqparent and \a name parameters + Constructs a TQFtp object. The \a parent and \a name parameters are passed to the TQObject constructor. */ -TQFtp::TQFtp( TQObject *tqparent, const char *name ) : TQNetworkProtocol() +TQFtp::TQFtp( TQObject *parent, const char *name ) : TQNetworkProtocol() { - if ( tqparent ) - tqparent->insertChild( this ); + if ( parent ) + parent->insertChild( this ); TQT_TQOBJECT(this)->setName( name ); init(); } -- cgit v1.2.1