summaryrefslogtreecommitdiffstats
path: root/src/modules/options/optw_proxy.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-12-28 21:15:50 +0900
committerMichele Calgaro <[email protected]>2024-01-01 20:33:17 +0900
commit677dae3bd35bd025d338292a296632d3d2f183e4 (patch)
treea5a9e2839e3a8045686adf8f52a02e4a6b0eb740 /src/modules/options/optw_proxy.cpp
parent0066e291146de702674fb38a0a2428db405698b0 (diff)
downloadkvirc-677dae3bd35bd025d338292a296632d3d2f183e4.tar.gz
kvirc-677dae3bd35bd025d338292a296632d3d2f183e4.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 209ac1e561619ff446be4b3411ed74e59fff168e)
Diffstat (limited to 'src/modules/options/optw_proxy.cpp')
-rw-r--r--src/modules/options/optw_proxy.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/modules/options/optw_proxy.cpp b/src/modules/options/optw_proxy.cpp
index 02c29e4f..b36a0fb3 100644
--- a/src/modules/options/optw_proxy.cpp
+++ b/src/modules/options/optw_proxy.cpp
@@ -67,10 +67,10 @@ KviProxyOptionsWidget::KviProxyOptionsWidget(TQWidget * parent)
m_pListView->setAllColumnsShowFocus(true);
m_pListView->setSelectionMode(KviTalListView::Single);
- connect(m_pListView,TQT_SIGNAL(selectionChanged(KviTalListViewItem *)),
- this,TQT_SLOT(listViewItemSelectionChanged(KviTalListViewItem *)));
- connect(m_pListView,TQT_SIGNAL(rightButtonPressed(KviTalListViewItem *,const TQPoint &,int)),
- this,TQT_SLOT(listViewRightButtonPressed(KviTalListViewItem *,const TQPoint &,int)));
+ connect(m_pListView,TQ_SIGNAL(selectionChanged(KviTalListViewItem *)),
+ this,TQ_SLOT(listViewItemSelectionChanged(KviTalListViewItem *)));
+ connect(m_pListView,TQ_SIGNAL(rightButtonPressed(KviTalListViewItem *,const TQPoint &,int)),
+ this,TQ_SLOT(listViewRightButtonPressed(KviTalListViewItem *,const TQPoint &,int)));
#ifdef COMPILE_INFO_TIPS
TQString tiptxt = __tr2qs_ctx("<center>This is the list of available proxy servers.<br>" \
@@ -85,7 +85,7 @@ KviProxyOptionsWidget::KviProxyOptionsWidget(TQWidget * parent)
TQToolButton * tb = new KviStyledToolButton(vbox);
tb->setPixmap(*(g_pIconManager->getSmallIcon(KVI_SMALLICON_PROXY)));
tb->setAutoRaise(true);
- connect(tb,TQT_SIGNAL(clicked()),this,TQT_SLOT(newProxy()));
+ connect(tb,TQ_SIGNAL(clicked()),this,TQ_SLOT(newProxy()));
#ifdef COMPILE_INFO_TIPS
mergeTip(tb,__tr2qs_ctx("New Proxy","options"));
#endif
@@ -94,7 +94,7 @@ KviProxyOptionsWidget::KviProxyOptionsWidget(TQWidget * parent)
tb->setPixmap(*(g_pIconManager->getSmallIcon(KVI_SMALLICON_CUT)));
//tb->setEnabled(false);
tb->setAutoRaise(true);
- connect(tb,TQT_SIGNAL(clicked()),this,TQT_SLOT(removeCurrent()));
+ connect(tb,TQ_SIGNAL(clicked()),this,TQ_SLOT(removeCurrent()));
#ifdef COMPILE_INFO_TIPS
mergeTip(tb,__tr2qs_ctx("Remove Proxy","options"));
#endif
@@ -138,7 +138,7 @@ KviProxyOptionsWidget::KviProxyOptionsWidget(TQWidget * parent)
m_pProtocolBox->insertStringList(l);
m_pIpV6Check = new KviStyledCheckBox(__tr2qs_ctx("Use IPv6 protocol","options"),gbox);
- connect(m_pIpV6Check,TQT_SIGNAL(toggled(bool)),this,TQT_SLOT(ipV6CheckToggled(bool)));
+ connect(m_pIpV6Check,TQ_SIGNAL(toggled(bool)),this,TQ_SLOT(ipV6CheckToggled(bool)));
#ifndef COMPILE_IPV6_SUPPORT
m_pIpV6Check->setEnabled(false);
#endif
@@ -333,8 +333,8 @@ void KviProxyOptionsWidget::commit()
void KviProxyOptionsWidget::listViewRightButtonPressed(KviTalListViewItem *it,const TQPoint &pnt,int col)
{
m_pContextPopup->clear();
- m_pContextPopup->insertItem(*(g_pIconManager->getSmallIcon(KVI_SMALLICON_PROXY)),__tr2qs_ctx("&New Proxy","options"),this,TQT_SLOT(newProxy()));
- m_pContextPopup->setItemEnabled(m_pContextPopup->insertItem(*(g_pIconManager->getSmallIcon(KVI_SMALLICON_CUT)),__tr2qs_ctx("Re&move Proxy","options"),this,TQT_SLOT(removeCurrent())),it);
+ m_pContextPopup->insertItem(*(g_pIconManager->getSmallIcon(KVI_SMALLICON_PROXY)),__tr2qs_ctx("&New Proxy","options"),this,TQ_SLOT(newProxy()));
+ m_pContextPopup->setItemEnabled(m_pContextPopup->insertItem(*(g_pIconManager->getSmallIcon(KVI_SMALLICON_CUT)),__tr2qs_ctx("Re&move Proxy","options"),this,TQ_SLOT(removeCurrent())),it);
m_pContextPopup->popup(TQCursor::pos());
}