summaryrefslogtreecommitdiffstats
path: root/krdc/maindialogwidget.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-13 17:34:53 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-13 17:51:33 +0900
commit1329ec6abbcb7b79cd960e0ca138f16598d5f11f (patch)
tree8b64fab3a352aada6a046f69f1f7e8a6ad819594 /krdc/maindialogwidget.cpp
parent69c2eb8d5f2ed64c876b2a1081cc83ed9f4652d3 (diff)
downloadtdenetwork-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 'krdc/maindialogwidget.cpp')
-rw-r--r--krdc/maindialogwidget.cpp38
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;
}