diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-12 11:17:33 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-15 11:09:32 +0900 |
commit | 7f03918f8df7479b0e1a88288066201a301e87bf (patch) | |
tree | ef42e0c7ecbd6d292ca5aa7f3aeca141dd65cdb1 /tdeioslave/http | |
parent | ccaaecf59c0e607be633c45ad3b7bb1ef29e981f (diff) | |
download | tdelibs-7f03918f8df7479b0e1a88288066201a301e87bf.tar.gz tdelibs-7f03918f8df7479b0e1a88288066201a301e87bf.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit ba3b5b77e1a430dc7197df20872ba46ce2fb6fa7)
Diffstat (limited to 'tdeioslave/http')
-rw-r--r-- | tdeioslave/http/http.cpp | 8 | ||||
-rw-r--r-- | tdeioslave/http/kcookiejar/kcookieserver.cpp | 6 | ||||
-rw-r--r-- | tdeioslave/http/kcookiejar/kcookiewin.cpp | 10 |
3 files changed, 12 insertions, 12 deletions
diff --git a/tdeioslave/http/http.cpp b/tdeioslave/http/http.cpp index 8cd0f7a64..cd5d51a63 100644 --- a/tdeioslave/http/http.cpp +++ b/tdeioslave/http/http.cpp @@ -4444,10 +4444,10 @@ bool HTTPProtocol::readBody( bool dataInternal /* = false */ ) HTTPFilterChain chain; - TQObject::connect(&chain, TQT_SIGNAL(output(const TQByteArray &)), - this, TQT_SLOT(slotData(const TQByteArray &))); - TQObject::connect(&chain, TQT_SIGNAL(error(int, const TQString &)), - this, TQT_SLOT(error(int, const TQString &))); + TQObject::connect(&chain, TQ_SIGNAL(output(const TQByteArray &)), + this, TQ_SLOT(slotData(const TQByteArray &))); + TQObject::connect(&chain, TQ_SIGNAL(error(int, const TQString &)), + this, TQ_SLOT(error(int, const TQString &))); // decode all of the transfer encodings while (!m_qTransferEncodings.isEmpty()) diff --git a/tdeioslave/http/kcookiejar/kcookieserver.cpp b/tdeioslave/http/kcookiejar/kcookieserver.cpp index 798b06318..52a2b7967 100644 --- a/tdeioslave/http/kcookiejar/kcookieserver.cpp +++ b/tdeioslave/http/kcookiejar/kcookieserver.cpp @@ -87,7 +87,7 @@ KCookieServer::KCookieServer(const TQCString &name) mRequestList = new RequestList; mAdvicePending = false; mTimer = new TQTimer(); - connect( mTimer, TQT_SIGNAL( timeout()), TQT_SLOT( slotSave())); + connect( mTimer, TQ_SIGNAL( timeout()), TQ_SLOT( slotSave())); mConfig = new TDEConfig("kcookiejarrc"); mCookieJar->loadConfig( mConfig ); @@ -107,8 +107,8 @@ KCookieServer::KCookieServer(const TQCString &name) { mCookieJar->loadCookies( filename); } - connect(this, TQT_SIGNAL(windowUnregistered(long)), - this, TQT_SLOT(slotDeleteSessionCookies(long))); + connect(this, TQ_SIGNAL(windowUnregistered(long)), + this, TQ_SLOT(slotDeleteSessionCookies(long))); } KCookieServer::~KCookieServer() diff --git a/tdeioslave/http/kcookiejar/kcookiewin.cpp b/tdeioslave/http/kcookiejar/kcookiewin.cpp index eb304f4bc..948847b2f 100644 --- a/tdeioslave/http/kcookiejar/kcookiewin.cpp +++ b/tdeioslave/http/kcookiejar/kcookiewin.cpp @@ -182,20 +182,20 @@ KCookieWin::KCookieWin( TQWidget *parent, KHttpCookieList cookieList, TQPushButton* btn = new TQPushButton( i18n("&Accept"), bbox ); btn->setDefault( true ); btn->setFocus(); - connect( btn, TQT_SIGNAL(clicked()), TQT_SLOT(accept()) ); + connect( btn, TQ_SIGNAL(clicked()), TQ_SLOT(accept()) ); bbLay->addWidget( btn ); btn = new TQPushButton( i18n("&Reject"), bbox ); - connect( btn, TQT_SIGNAL(clicked()), TQT_SLOT(reject()) ); + connect( btn, TQ_SIGNAL(clicked()), TQ_SLOT(reject()) ); bbLay->addWidget( btn ); bbLay->addStretch( 1 ); #ifndef TQT_NO_ACCEL TQAccel* a = new TQAccel( this ); - a->connectItem( a->insertItem(TQt::Key_Escape), btn, TQT_SLOT(animateClick()) ); + a->connectItem( a->insertItem(TQt::Key_Escape), btn, TQ_SLOT(animateClick()) ); #endif m_button = new TQPushButton( bbox ); m_button->setText( m_showDetails ? i18n("&Details <<"):i18n("&Details >>") ); - connect( m_button, TQT_SIGNAL(clicked()), TQT_SLOT(slotCookieDetails()) ); + connect( m_button, TQ_SIGNAL(clicked()), TQ_SLOT(slotCookieDetails()) ); bbLay->addWidget( m_button ); #ifndef TQT_NO_WHATSTHIS TQWhatsThis::add( m_button, i18n("See or modify the cookie information") ); @@ -315,7 +315,7 @@ KCookieDetail::KCookieDetail( KHttpCookieList cookieList, int cookieCount, TQPushButton* btnNext = new TQPushButton( i18n("Next cookie","&Next >>"), this ); btnNext->setFixedSize( btnNext->sizeHint() ); grid->addMultiCellWidget( btnNext, 8, 8, 0, 1 ); - connect( btnNext, TQT_SIGNAL(clicked()), TQT_SLOT(slotNextCookie()) ); + connect( btnNext, TQ_SIGNAL(clicked()), TQ_SLOT(slotNextCookie()) ); #ifndef TQT_NO_TOOLTIP TQToolTip::add( btnNext, i18n("Show details of the next cookie") ); #endif |