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-18 09:59:16 +0900 |
commit | 40393e30bb743346b6b40bf130da35419c12ebdc (patch) | |
tree | 9330d82486c7b3125b8275914565b324f9af523e /krdc/maindialogwidget.cpp | |
parent | 05594058244ba6a1866d5758ae412fb5afd6d727 (diff) | |
download | tdenetwork-40393e30bb743346b6b40bf130da35419c12ebdc.tar.gz tdenetwork-40393e30bb743346b6b40bf130da35419c12ebdc.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 1329ec6abbcb7b79cd960e0ca138f16598d5f11f)
Diffstat (limited to 'krdc/maindialogwidget.cpp')
-rw-r--r-- | krdc/maindialogwidget.cpp | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/krdc/maindialogwidget.cpp b/krdc/maindialogwidget.cpp index 93b39a43..3fa4dc23 100644 --- a/krdc/maindialogwidget.cpp +++ b/krdc/maindialogwidget.cpp @@ -92,26 +92,26 @@ MainDialogWidget::MainDialogWidget( TQWidget *parent, const char *name ) m_searchInput->setTrapReturnKey( true ); connect( m_browsingView, - TQT_SIGNAL( selectionChanged( TQListViewItem * ) ), - TQT_SLOT( itemSelected( TQListViewItem * ) ) ); + TQ_SIGNAL( selectionChanged( TQListViewItem * ) ), + TQ_SLOT( itemSelected( TQListViewItem * ) ) ); connect( m_browsingView, - TQT_SIGNAL( doubleClicked( TQListViewItem *, const TQPoint &, int ) ), - TQT_SLOT( itemDoubleClicked( TQListViewItem * ) ) ); + TQ_SIGNAL( doubleClicked( TQListViewItem *, const TQPoint &, int ) ), + TQ_SLOT( itemDoubleClicked( TQListViewItem * ) ) ); connect( m_scopeCombo, - TQT_SIGNAL( activated( const TQString & ) ), - TQT_SLOT( scopeSelected( const TQString & ) ) ); + TQ_SIGNAL( activated( const TQString & ) ), + TQ_SLOT( scopeSelected( const TQString & ) ) ); connect( m_serverInput, - TQT_SIGNAL( returnPressed( const TQString & ) ), - TQT_SLOT( rescan() ) ); + TQ_SIGNAL( returnPressed( const TQString & ) ), + TQ_SLOT( rescan() ) ); bool showBrowse = hp->showBrowsingPanel(); enableBrowsingArea( showBrowse ); m_locator_dnssd = new DNSSD::ServiceBrowser(TQStringList::split(',',"_rfb._tcp,_rdp._tcp"),0,DNSSD::ServiceBrowser::AutoResolve); - connect(m_locator_dnssd,TQT_SIGNAL(serviceAdded(DNSSD::RemoteService::Ptr)), - TQT_SLOT(addedService(DNSSD::RemoteService::Ptr))); - connect(m_locator_dnssd,TQT_SIGNAL(serviceRemoved(DNSSD::RemoteService::Ptr)), - TQT_SLOT(removedService(DNSSD::RemoteService::Ptr))); + connect(m_locator_dnssd,TQ_SIGNAL(serviceAdded(DNSSD::RemoteService::Ptr)), + TQ_SLOT(addedService(DNSSD::RemoteService::Ptr))); + connect(m_locator_dnssd,TQ_SIGNAL(serviceRemoved(DNSSD::RemoteService::Ptr)), + TQ_SLOT(removedService(DNSSD::RemoteService::Ptr))); m_locator_dnssd->startBrowse(); adjustSize(); @@ -179,7 +179,7 @@ void MainDialogWidget::enableBrowsingArea( bool enable ) setMinimumSize(minimumSize().width(), (h > 0) ? h : 0); resize(width(), height()-hOffset); - TQTimer::singleShot( 0, parentWidget(), TQT_SLOT( adjustSize() ) ); + TQTimer::singleShot( 0, parentWidget(), TQ_SLOT( adjustSize() ) ); } if (enable) @@ -259,12 +259,12 @@ bool MainDialogWidget::ensureLocatorOpen() return false; } - connect( m_locator, TQT_SIGNAL( foundService( TQString,int ) ), - TQT_SLOT( foundService( TQString,int ) ) ); - connect( m_locator, TQT_SIGNAL( lastServiceSignal( bool ) ), - TQT_SLOT( lastSignalServices( bool ) ) ); - connect( m_locator, TQT_SIGNAL( foundScopes( TQStringList ) ), - TQT_SLOT( foundScopes( TQStringList ) ) ); + connect( m_locator, TQ_SIGNAL( foundService( TQString,int ) ), + TQ_SLOT( foundService( TQString,int ) ) ); + connect( m_locator, TQ_SIGNAL( lastServiceSignal( bool ) ), + TQ_SLOT( lastSignalServices( bool ) ) ); + connect( m_locator, TQ_SIGNAL( foundScopes( TQStringList ) ), + TQ_SLOT( foundScopes( TQStringList ) ) ); return true; } |