summaryrefslogtreecommitdiffstats
path: root/tqtinterface/qt4/src/network/tqftp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tqtinterface/qt4/src/network/tqftp.cpp')
-rw-r--r--tqtinterface/qt4/src/network/tqftp.cpp22
1 files changed, 11 insertions, 11 deletions
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();
}