diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-13 17:34:53 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-13 17:51:33 +0900 |
commit | 1329ec6abbcb7b79cd960e0ca138f16598d5f11f (patch) | |
tree | 8b64fab3a352aada6a046f69f1f7e8a6ad819594 /kopete/protocols/irc/ui | |
parent | 69c2eb8d5f2ed64c876b2a1081cc83ed9f4652d3 (diff) | |
download | tdenetwork-1329ec6abbcb7b79cd960e0ca138f16598d5f11f.tar.gz tdenetwork-1329ec6abbcb7b79cd960e0ca138f16598d5f11f.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kopete/protocols/irc/ui')
-rw-r--r-- | kopete/protocols/irc/ui/channellist.cpp | 22 | ||||
-rw-r--r-- | kopete/protocols/irc/ui/channellistdialog.cpp | 6 | ||||
-rw-r--r-- | kopete/protocols/irc/ui/irceditaccountwidget.cpp | 22 |
3 files changed, 25 insertions, 25 deletions
diff --git a/kopete/protocols/irc/ui/channellist.cpp b/kopete/protocols/irc/ui/channellist.cpp index 9ee7bbcb..fdff5512 100644 --- a/kopete/protocols/irc/ui/channellist.cpp +++ b/kopete/protocols/irc/ui/channellist.cpp @@ -213,21 +213,21 @@ ChannelList::ChannelList( TQWidget* parent, KIRC::Engine *engine ) mChannelList->header()->setLabel( 2, i18n( "Topic" ) ); // signals and slots connections - connect( mChannelList, TQT_SIGNAL( doubleClicked(TQListViewItem*) ), - this, TQT_SLOT( slotItemDoubleClicked(TQListViewItem*) ) ); + connect( mChannelList, TQ_SIGNAL( doubleClicked(TQListViewItem*) ), + this, TQ_SLOT( slotItemDoubleClicked(TQListViewItem*) ) ); - connect( mSearchButton, TQT_SIGNAL( clicked() ), this, TQT_SLOT( search() ) ); + connect( mSearchButton, TQ_SIGNAL( clicked() ), this, TQ_SLOT( search() ) ); - connect( mChannelList, TQT_SIGNAL( selectionChanged( TQListViewItem*) ), this, - TQT_SLOT( slotItemSelected( TQListViewItem *) ) ); + connect( mChannelList, TQ_SIGNAL( selectionChanged( TQListViewItem*) ), this, + TQ_SLOT( slotItemSelected( TQListViewItem *) ) ); - connect( m_engine, TQT_SIGNAL( incomingListedChan( const TQString &, uint, const TQString & ) ), - this, TQT_SLOT( slotChannelListed( const TQString &, uint, const TQString & ) ) ); + connect( m_engine, TQ_SIGNAL( incomingListedChan( const TQString &, uint, const TQString & ) ), + this, TQ_SLOT( slotChannelListed( const TQString &, uint, const TQString & ) ) ); - connect( m_engine, TQT_SIGNAL( incomingEndOfList() ), this, TQT_SLOT( slotListEnd() ) ); + connect( m_engine, TQ_SIGNAL( incomingEndOfList() ), this, TQ_SLOT( slotListEnd() ) ); - connect( m_engine, TQT_SIGNAL( statusChanged(KIRC::Engine::Status) ), - this, TQT_SLOT( slotStatusChanged(KIRC::Engine::Status) ) ); + connect( m_engine, TQ_SIGNAL( statusChanged(KIRC::Engine::Status) ), + this, TQ_SLOT( slotStatusChanged(KIRC::Engine::Status) ) ); show(); } @@ -328,7 +328,7 @@ void ChannelList::slotSearchCache() { checkSearchResult( cacheIterator.key(), cacheIterator.data().first, cacheIterator.data().second ); ++cacheIterator; - TQTimer::singleShot( 0, this, TQT_SLOT( slotSearchCache() ) ); + TQTimer::singleShot( 0, this, TQ_SLOT( slotSearchCache() ) ); } else { diff --git a/kopete/protocols/irc/ui/channellistdialog.cpp b/kopete/protocols/irc/ui/channellistdialog.cpp index e344d227..cd127147 100644 --- a/kopete/protocols/irc/ui/channellistdialog.cpp +++ b/kopete/protocols/irc/ui/channellistdialog.cpp @@ -30,11 +30,11 @@ ChannelListDialog::ChannelListDialog(KIRC::Engine *engine, const TQString &capti m_engine = engine; m_list = new ChannelList( this, engine ); - connect( m_list, TQT_SIGNAL( channelDoubleClicked( const TQString & ) ), + connect( m_list, TQ_SIGNAL( channelDoubleClicked( const TQString & ) ), target, slotJoinChan ); - connect( m_list, TQT_SIGNAL( channelDoubleClicked( const TQString & ) ), - this, TQT_SLOT( slotChannelDoubleClicked( const TQString & ) ) ); + connect( m_list, TQ_SIGNAL( channelDoubleClicked( const TQString & ) ), + this, TQ_SLOT( slotChannelDoubleClicked( const TQString & ) ) ); new TQHBoxLayout( m_list, 0, spacingHint() ); diff --git a/kopete/protocols/irc/ui/irceditaccountwidget.cpp b/kopete/protocols/irc/ui/irceditaccountwidget.cpp index 2304bcd5..db0443f2 100644 --- a/kopete/protocols/irc/ui/irceditaccountwidget.cpp +++ b/kopete/protocols/irc/ui/irceditaccountwidget.cpp @@ -106,21 +106,21 @@ IRCEditAccountWidget::IRCEditAccountWidget(IRCProtocol *proto, IRCAccount *ident } } - connect( commandList, TQT_SIGNAL( contextMenu( TDEListView *, TQListViewItem *, const TQPoint & ) ), - this, TQT_SLOT( slotCommandContextMenu( TDEListView *, TQListViewItem *, const TQPoint & ) ) ); + connect( commandList, TQ_SIGNAL( contextMenu( TDEListView *, TQListViewItem *, const TQPoint & ) ), + this, TQ_SLOT( slotCommandContextMenu( TDEListView *, TQListViewItem *, const TQPoint & ) ) ); - connect( ctcpList, TQT_SIGNAL( contextMenu( TDEListView *, TQListViewItem *, const TQPoint & ) ), - this, TQT_SLOT( slotCtcpContextMenu( TDEListView *, TQListViewItem *, const TQPoint & ) ) ); + connect( ctcpList, TQ_SIGNAL( contextMenu( TDEListView *, TQListViewItem *, const TQPoint & ) ), + this, TQ_SLOT( slotCtcpContextMenu( TDEListView *, TQListViewItem *, const TQPoint & ) ) ); - connect( addButton, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotAddCommand() ) ); - connect( editButton, TQT_SIGNAL( clicked() ), this, TQT_SLOT(slotEditNetworks() ) ); - connect( addReply, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotAddCtcp() ) ); + connect( addButton, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotAddCommand() ) ); + connect( editButton, TQ_SIGNAL( clicked() ), this, TQ_SLOT(slotEditNetworks() ) ); + connect( addReply, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotAddCtcp() ) ); - connect( network, TQT_SIGNAL( activated( const TQString & ) ), - this, TQT_SLOT( slotUpdateNetworkDescription( const TQString &) ) ); + connect( network, TQ_SIGNAL( activated( const TQString & ) ), + this, TQ_SLOT( slotUpdateNetworkDescription( const TQString &) ) ); - connect( IRCProtocol::protocol(), TQT_SIGNAL( networkConfigUpdated( const TQString & ) ), - this, TQT_SLOT( slotUpdateNetworks( const TQString & ) ) ); + connect( IRCProtocol::protocol(), TQ_SIGNAL( networkConfigUpdated( const TQString & ) ), + this, TQ_SLOT( slotUpdateNetworks( const TQString & ) ) ); slotUpdateNetworks( TQString() ); } |