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-12 12:39:52 +0900 |
commit | ba3b5b77e1a430dc7197df20872ba46ce2fb6fa7 (patch) | |
tree | d8b80b41bf117fe1d5caa7e7faecfab523e81153 /tdeioslave | |
parent | 5d320b587ba28fa3c4745e1555aff74d5651783e (diff) | |
download | tdelibs-ba3b5b77e1a430dc7197df20872ba46ce2fb6fa7.tar.gz tdelibs-ba3b5b77e1a430dc7197df20872ba46ce2fb6fa7.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdeioslave')
-rw-r--r-- | tdeioslave/file/file.cpp | 8 | ||||
-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 |
4 files changed, 16 insertions, 16 deletions
diff --git a/tdeioslave/file/file.cpp b/tdeioslave/file/file.cpp index c6c3f74a3..a069cc5a8 100644 --- a/tdeioslave/file/file.cpp +++ b/tdeioslave/file/file.cpp @@ -1336,10 +1336,10 @@ void FileProtocol::special( const TQByteArray &data) TQString filename; stream >> filename; KShred shred( filename ); - connect( &shred, TQT_SIGNAL( processedSize( TDEIO::filesize_t ) ), - this, TQT_SLOT( slotProcessedSize( TDEIO::filesize_t ) ) ); - connect( &shred, TQT_SIGNAL( infoMessage( const TQString & ) ), - this, TQT_SLOT( slotInfoMessage( const TQString & ) ) ); + connect( &shred, TQ_SIGNAL( processedSize( TDEIO::filesize_t ) ), + this, TQ_SLOT( slotProcessedSize( TDEIO::filesize_t ) ) ); + connect( &shred, TQ_SIGNAL( infoMessage( const TQString & ) ), + this, TQ_SLOT( slotInfoMessage( const TQString & ) ) ); if (!shred.shred()) error( TDEIO::ERR_CANNOT_DELETE, filename ); else 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 |