From 2bc1d72869b62af05ae4feafd878203b526da8c5 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 22:19:39 +0000 Subject: rename the following methods: tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- .../protocols/jabber/libiris/cutestuff/network/bsocket.cpp | 4 ++-- kopete/protocols/jabber/libiris/cutestuff/network/bsocket.h | 2 +- .../jabber/libiris/cutestuff/network/httpconnect.cpp | 4 ++-- .../protocols/jabber/libiris/cutestuff/network/httpconnect.h | 2 +- .../protocols/jabber/libiris/cutestuff/network/httppoll.cpp | 8 ++++---- kopete/protocols/jabber/libiris/cutestuff/network/httppoll.h | 4 ++-- kopete/protocols/jabber/libiris/cutestuff/network/ndns.cpp | 6 +++--- kopete/protocols/jabber/libiris/cutestuff/network/ndns.h | 2 +- .../protocols/jabber/libiris/cutestuff/network/servsock.cpp | 4 ++-- kopete/protocols/jabber/libiris/cutestuff/network/servsock.h | 2 +- kopete/protocols/jabber/libiris/cutestuff/network/socks.cpp | 12 ++++++------ kopete/protocols/jabber/libiris/cutestuff/network/socks.h | 6 +++--- .../jabber/libiris/cutestuff/network/srvresolver.cpp | 4 ++-- .../protocols/jabber/libiris/cutestuff/network/srvresolver.h | 2 +- .../protocols/jabber/libiris/cutestuff/util/bytestream.cpp | 6 +++--- kopete/protocols/jabber/libiris/cutestuff/util/bytestream.h | 2 +- .../protocols/jabber/libiris/cutestuff/util/showtextdlg.cpp | 4 ++-- kopete/protocols/jabber/libiris/cutestuff/util/showtextdlg.h | 2 +- 18 files changed, 38 insertions(+), 38 deletions(-) (limited to 'kopete/protocols/jabber/libiris/cutestuff') diff --git a/kopete/protocols/jabber/libiris/cutestuff/network/bsocket.cpp b/kopete/protocols/jabber/libiris/cutestuff/network/bsocket.cpp index 3d54cc16..27184748 100644 --- a/kopete/protocols/jabber/libiris/cutestuff/network/bsocket.cpp +++ b/kopete/protocols/jabber/libiris/cutestuff/network/bsocket.cpp @@ -58,8 +58,8 @@ public: SafeDelete sd; }; -BSocket::BSocket(TQObject *tqparent) -:ByteStream(tqparent) +BSocket::BSocket(TQObject *parent) +:ByteStream(parent) { d = new Private; #ifndef NO_NDNS diff --git a/kopete/protocols/jabber/libiris/cutestuff/network/bsocket.h b/kopete/protocols/jabber/libiris/cutestuff/network/bsocket.h index 246f61a0..25e33c04 100644 --- a/kopete/protocols/jabber/libiris/cutestuff/network/bsocket.h +++ b/kopete/protocols/jabber/libiris/cutestuff/network/bsocket.h @@ -34,7 +34,7 @@ class BSocket : public ByteStream public: enum Error { ErrConnectionRefused = ErrCustom, ErrHostNotFound }; enum State { Idle, HostLookup, Connecting, Connected, Closing }; - BSocket(TQObject *tqparent=0); + BSocket(TQObject *parent=0); ~BSocket(); void connectToHost(const TQString &host, TQ_UINT16 port); diff --git a/kopete/protocols/jabber/libiris/cutestuff/network/httpconnect.cpp b/kopete/protocols/jabber/libiris/cutestuff/network/httpconnect.cpp index ca3b804c..6abeb556 100644 --- a/kopete/protocols/jabber/libiris/cutestuff/network/httpconnect.cpp +++ b/kopete/protocols/jabber/libiris/cutestuff/network/httpconnect.cpp @@ -96,8 +96,8 @@ public: bool active; }; -HttpConnect::HttpConnect(TQObject *tqparent) -:ByteStream(tqparent) +HttpConnect::HttpConnect(TQObject *parent) +:ByteStream(parent) { d = new Private; connect(&d->sock, TQT_SIGNAL(connected()), TQT_SLOT(sock_connected())); diff --git a/kopete/protocols/jabber/libiris/cutestuff/network/httpconnect.h b/kopete/protocols/jabber/libiris/cutestuff/network/httpconnect.h index 2f2ed13f..6c73acd5 100644 --- a/kopete/protocols/jabber/libiris/cutestuff/network/httpconnect.h +++ b/kopete/protocols/jabber/libiris/cutestuff/network/httpconnect.h @@ -31,7 +31,7 @@ class HttpConnect : public ByteStream TQ_OBJECT public: enum Error { ErrConnectionRefused = ErrCustom, ErrHostNotFound, ErrProxyConnect, ErrProxyNeg, ErrProxyAuth }; - HttpConnect(TQObject *tqparent=0); + HttpConnect(TQObject *parent=0); ~HttpConnect(); void setAuth(const TQString &user, const TQString &pass=""); diff --git a/kopete/protocols/jabber/libiris/cutestuff/network/httppoll.cpp b/kopete/protocols/jabber/libiris/cutestuff/network/httppoll.cpp index fbc9a39f..cd5b2f64 100644 --- a/kopete/protocols/jabber/libiris/cutestuff/network/httppoll.cpp +++ b/kopete/protocols/jabber/libiris/cutestuff/network/httppoll.cpp @@ -82,8 +82,8 @@ public: int polltime; }; -HttpPoll::HttpPoll(TQObject *tqparent) -:ByteStream(tqparent) +HttpPoll::HttpPoll(TQObject *parent) +:ByteStream(parent) { d = new Private; @@ -438,8 +438,8 @@ public: TQString host; }; -HttpProxyPost::HttpProxyPost(TQObject *tqparent) -:TQObject(tqparent) +HttpProxyPost::HttpProxyPost(TQObject *parent) +:TQObject(parent) { d = new Private; connect(&d->sock, TQT_SIGNAL(connected()), TQT_SLOT(sock_connected())); diff --git a/kopete/protocols/jabber/libiris/cutestuff/network/httppoll.h b/kopete/protocols/jabber/libiris/cutestuff/network/httppoll.h index 02034fee..a4c542f6 100644 --- a/kopete/protocols/jabber/libiris/cutestuff/network/httppoll.h +++ b/kopete/protocols/jabber/libiris/cutestuff/network/httppoll.h @@ -31,7 +31,7 @@ class HttpPoll : public ByteStream TQ_OBJECT public: enum Error { ErrConnectionRefused = ErrCustom, ErrHostNotFound, ErrProxyConnect, ErrProxyNeg, ErrProxyAuth }; - HttpPoll(TQObject *tqparent=0); + HttpPoll(TQObject *parent=0); ~HttpPoll(); void setAuth(const TQString &user, const TQString &pass=""); @@ -74,7 +74,7 @@ class HttpProxyPost : public TQObject TQ_OBJECT public: enum Error { ErrConnectionRefused, ErrHostNotFound, ErrSocket, ErrProxyConnect, ErrProxyNeg, ErrProxyAuth }; - HttpProxyPost(TQObject *tqparent=0); + HttpProxyPost(TQObject *parent=0); ~HttpProxyPost(); void setAuth(const TQString &user, const TQString &pass=""); diff --git a/kopete/protocols/jabber/libiris/cutestuff/network/ndns.cpp b/kopete/protocols/jabber/libiris/cutestuff/network/ndns.cpp index b94399ce..7db5defb 100644 --- a/kopete/protocols/jabber/libiris/cutestuff/network/ndns.cpp +++ b/kopete/protocols/jabber/libiris/cutestuff/network/ndns.cpp @@ -256,9 +256,9 @@ void NDnsManager::app_aboutToQuit() //! This signal is emitted when the DNS resolution succeeds or fails. //! -//! Constructs an NDns object with tqparent \a tqparent. -NDns::NDns(TQObject *tqparent) -:TQObject(tqparent) +//! Constructs an NDns object with parent \a parent. +NDns::NDns(TQObject *parent) +:TQObject(parent) { } diff --git a/kopete/protocols/jabber/libiris/cutestuff/network/ndns.h b/kopete/protocols/jabber/libiris/cutestuff/network/ndns.h index b48ff75e..3b000d9b 100644 --- a/kopete/protocols/jabber/libiris/cutestuff/network/ndns.h +++ b/kopete/protocols/jabber/libiris/cutestuff/network/ndns.h @@ -37,7 +37,7 @@ class NDns : public TQObject Q_OBJECT TQ_OBJECT public: - NDns(TQObject *tqparent=0); + NDns(TQObject *parent=0); ~NDns(); void resolve(const TQString &); diff --git a/kopete/protocols/jabber/libiris/cutestuff/network/servsock.cpp b/kopete/protocols/jabber/libiris/cutestuff/network/servsock.cpp index 2968968c..0e0b5337 100644 --- a/kopete/protocols/jabber/libiris/cutestuff/network/servsock.cpp +++ b/kopete/protocols/jabber/libiris/cutestuff/network/servsock.cpp @@ -33,8 +33,8 @@ public: ServSockSignal *serv; }; -ServSock::ServSock(TQObject *tqparent) -:TQObject(tqparent) +ServSock::ServSock(TQObject *parent) +:TQObject(parent) { d = new Private; d->serv = 0; diff --git a/kopete/protocols/jabber/libiris/cutestuff/network/servsock.h b/kopete/protocols/jabber/libiris/cutestuff/network/servsock.h index 0fddf2e0..fe63abef 100644 --- a/kopete/protocols/jabber/libiris/cutestuff/network/servsock.h +++ b/kopete/protocols/jabber/libiris/cutestuff/network/servsock.h @@ -30,7 +30,7 @@ class ServSock : public TQObject Q_OBJECT TQ_OBJECT public: - ServSock(TQObject *tqparent=0); + ServSock(TQObject *parent=0); ~ServSock(); bool isActive() const; diff --git a/kopete/protocols/jabber/libiris/cutestuff/network/socks.cpp b/kopete/protocols/jabber/libiris/cutestuff/network/socks.cpp index 7948dcd7..16f02e07 100644 --- a/kopete/protocols/jabber/libiris/cutestuff/network/socks.cpp +++ b/kopete/protocols/jabber/libiris/cutestuff/network/socks.cpp @@ -527,16 +527,16 @@ public: int udpPort; }; -SocksClient::SocksClient(TQObject *tqparent) -:ByteStream(tqparent) +SocksClient::SocksClient(TQObject *parent) +:ByteStream(parent) { init(); d->incoming = false; } -SocksClient::SocksClient(int s, TQObject *tqparent) -:ByteStream(tqparent) +SocksClient::SocksClient(int s, TQObject *parent) +:ByteStream(parent) { init(); @@ -1102,8 +1102,8 @@ public: TQSocketNotifier *sn; }; -SocksServer::SocksServer(TQObject *tqparent) -:TQObject(tqparent) +SocksServer::SocksServer(TQObject *parent) +:TQObject(parent) { d = new Private; d->sd = 0; diff --git a/kopete/protocols/jabber/libiris/cutestuff/network/socks.h b/kopete/protocols/jabber/libiris/cutestuff/network/socks.h index d61fef1a..14c2a176 100644 --- a/kopete/protocols/jabber/libiris/cutestuff/network/socks.h +++ b/kopete/protocols/jabber/libiris/cutestuff/network/socks.h @@ -61,8 +61,8 @@ public: enum Error { ErrConnectionRefused = ErrCustom, ErrHostNotFound, ErrProxyConnect, ErrProxyNeg, ErrProxyAuth }; enum Method { AuthNone=0x0001, AuthUsername=0x0002 }; enum Request { ReqConnect, ReqUDPAssociate }; - SocksClient(TQObject *tqparent=0); - SocksClient(int, TQObject *tqparent=0); + SocksClient(TQObject *parent=0); + SocksClient(int, TQObject *parent=0); ~SocksClient(); bool isIncoming() const; @@ -132,7 +132,7 @@ class SocksServer : public TQObject Q_OBJECT TQ_OBJECT public: - SocksServer(TQObject *tqparent=0); + SocksServer(TQObject *parent=0); ~SocksServer(); bool isActive() const; diff --git a/kopete/protocols/jabber/libiris/cutestuff/network/srvresolver.cpp b/kopete/protocols/jabber/libiris/cutestuff/network/srvresolver.cpp index 68f260ca..987de66c 100644 --- a/kopete/protocols/jabber/libiris/cutestuff/network/srvresolver.cpp +++ b/kopete/protocols/jabber/libiris/cutestuff/network/srvresolver.cpp @@ -78,8 +78,8 @@ public: SafeDelete sd; }; -SrvResolver::SrvResolver(TQObject *tqparent) -:TQObject(tqparent) +SrvResolver::SrvResolver(TQObject *parent) +:TQObject(parent) { d = new Private; d->qdns = 0; diff --git a/kopete/protocols/jabber/libiris/cutestuff/network/srvresolver.h b/kopete/protocols/jabber/libiris/cutestuff/network/srvresolver.h index 5533790e..8ef15684 100644 --- a/kopete/protocols/jabber/libiris/cutestuff/network/srvresolver.h +++ b/kopete/protocols/jabber/libiris/cutestuff/network/srvresolver.h @@ -31,7 +31,7 @@ class SrvResolver : public TQObject Q_OBJECT TQ_OBJECT public: - SrvResolver(TQObject *tqparent=0); + SrvResolver(TQObject *parent=0); ~SrvResolver(); void resolve(const TQString &server, const TQString &type, const TQString &proto); diff --git a/kopete/protocols/jabber/libiris/cutestuff/util/bytestream.cpp b/kopete/protocols/jabber/libiris/cutestuff/util/bytestream.cpp index 76d4a799..e78c2f9a 100644 --- a/kopete/protocols/jabber/libiris/cutestuff/util/bytestream.cpp +++ b/kopete/protocols/jabber/libiris/cutestuff/util/bytestream.cpp @@ -63,9 +63,9 @@ public: }; //! -//! Constructs a ByteStream object with tqparent \a tqparent. -ByteStream::ByteStream(TQObject *tqparent) -:TQObject(tqparent) +//! Constructs a ByteStream object with parent \a parent. +ByteStream::ByteStream(TQObject *parent) +:TQObject(parent) { d = new Private; } diff --git a/kopete/protocols/jabber/libiris/cutestuff/util/bytestream.h b/kopete/protocols/jabber/libiris/cutestuff/util/bytestream.h index 5706fff6..b72fad78 100644 --- a/kopete/protocols/jabber/libiris/cutestuff/util/bytestream.h +++ b/kopete/protocols/jabber/libiris/cutestuff/util/bytestream.h @@ -33,7 +33,7 @@ class ByteStream : public TQObject TQ_OBJECT public: enum Error { ErrRead, ErrWrite, ErrCustom = 10 }; - ByteStream(TQObject *tqparent=0); + ByteStream(TQObject *parent=0); virtual ~ByteStream()=0; virtual bool isOpen() const; diff --git a/kopete/protocols/jabber/libiris/cutestuff/util/showtextdlg.cpp b/kopete/protocols/jabber/libiris/cutestuff/util/showtextdlg.cpp index 2b9407ce..0c8b46df 100644 --- a/kopete/protocols/jabber/libiris/cutestuff/util/showtextdlg.cpp +++ b/kopete/protocols/jabber/libiris/cutestuff/util/showtextdlg.cpp @@ -27,8 +27,8 @@ #include -ShowTextDlg::ShowTextDlg(const TQString &fname, bool rich, TQWidget *tqparent, const char *name) -:TQDialog(tqparent, name, FALSE, WDestructiveClose) +ShowTextDlg::ShowTextDlg(const TQString &fname, bool rich, TQWidget *parent, const char *name) +:TQDialog(parent, name, FALSE, WDestructiveClose) { TQString text; diff --git a/kopete/protocols/jabber/libiris/cutestuff/util/showtextdlg.h b/kopete/protocols/jabber/libiris/cutestuff/util/showtextdlg.h index 408699f7..8c84be12 100644 --- a/kopete/protocols/jabber/libiris/cutestuff/util/showtextdlg.h +++ b/kopete/protocols/jabber/libiris/cutestuff/util/showtextdlg.h @@ -28,7 +28,7 @@ class ShowTextDlg : public TQDialog Q_OBJECT TQ_OBJECT public: - ShowTextDlg(const TQString &fname, bool rich=FALSE, TQWidget *tqparent=0, const char *name=0); + ShowTextDlg(const TQString &fname, bool rich=FALSE, TQWidget *parent=0, const char *name=0); }; #endif -- cgit v1.2.1