summaryrefslogtreecommitdiffstats
path: root/kmyfirewall/genericinterface/kmfgenericinterfaceprotocol.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-05 10:21:03 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-05 10:21:03 +0900
commit6df466c45ad202eea7d7401a2e5ff67ee783e272 (patch)
treec7eef2a16b5eda4152bb3445da2bf13408c6e9b3 /kmyfirewall/genericinterface/kmfgenericinterfaceprotocol.cpp
parent487235a78de062d9f083ff4b4cb15167898890db (diff)
downloadkmyfirewall-6df466c45ad202eea7d7401a2e5ff67ee783e272.tar.gz
kmyfirewall-6df466c45ad202eea7d7401a2e5ff67ee783e272.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kmyfirewall/genericinterface/kmfgenericinterfaceprotocol.cpp')
-rw-r--r--kmyfirewall/genericinterface/kmfgenericinterfaceprotocol.cpp52
1 files changed, 26 insertions, 26 deletions
diff --git a/kmyfirewall/genericinterface/kmfgenericinterfaceprotocol.cpp b/kmyfirewall/genericinterface/kmfgenericinterfaceprotocol.cpp
index 16acaa8..7d1c2c7 100644
--- a/kmyfirewall/genericinterface/kmfgenericinterfaceprotocol.cpp
+++ b/kmyfirewall/genericinterface/kmfgenericinterfaceprotocol.cpp
@@ -70,15 +70,15 @@ KMFGenericInterfaceProtocol::KMFGenericInterfaceProtocol( TQWidget *parent, cons
// Network Widget
m_network_widget = new KMFNetworkWidget( m_widgetStack, "m_network_widget" );
m_widgetStack->addWidget( m_network_widget );
- connect( m_network_widget,TQT_SIGNAL( sigZoneChanged( KMFNetZone* ) ),
- this,TQT_SLOT( slotZoneChanged( KMFNetZone* ) ) );
+ connect( m_network_widget,TQ_SIGNAL( sigZoneChanged( KMFNetZone* ) ),
+ this,TQ_SLOT( slotZoneChanged( KMFNetZone* ) ) );
// Host widget
m_nethostProperties_widget = new KMFNetHostPropertiesWidget( m_widgetStack, "m_nethostProperties_widget" );
m_widgetStack->addWidget( m_nethostProperties_widget );
- connect( m_nethostProperties_widget, TQT_SIGNAL( sigHostAddressChanged( const TQString& ) ),
- this, TQT_SLOT( slotAddressChanged( const TQString& ) ) );
+ connect( m_nethostProperties_widget, TQ_SIGNAL( sigHostAddressChanged( const TQString& ) ),
+ this, TQ_SLOT( slotAddressChanged( const TQString& ) ) );
// Protocol Widget
m_protocolProperties_widget = new KMFProtocolPropertiesWidget( m_widgetStack, "m_protocolProperties_widget" );
@@ -91,31 +91,31 @@ KMFGenericInterfaceProtocol::KMFGenericInterfaceProtocol( TQWidget *parent, cons
TQGridLayout *grid = new TQGridLayout( m_protocolsFrame, 1, 1 );
grid->addWidget( m_protocolLIstView, 0, 0 );
- connect( m_protocolLIstView,TQT_SIGNAL( sigProtocolClicked( KMFProtocolUsage*, bool ) ),
- this, TQT_SLOT( slotProtocolClicked( KMFProtocolUsage*, bool ) ) );
+ connect( m_protocolLIstView,TQ_SIGNAL( sigProtocolClicked( KMFProtocolUsage*, bool ) ),
+ this, TQ_SLOT( slotProtocolClicked( KMFProtocolUsage*, bool ) ) );
- connect( m_protocolLIstView,TQT_SIGNAL( sigProtocolCategoryClicked( KMFProtocolCategory* ) ),
- this, TQT_SLOT ( slotProtocolCategoryClicked( KMFProtocolCategory* ) ) );
+ connect( m_protocolLIstView,TQ_SIGNAL( sigProtocolCategoryClicked( KMFProtocolCategory* ) ),
+ this, TQ_SLOT ( slotProtocolCategoryClicked( KMFProtocolCategory* ) ) );
// Zone view
- connect( m_lv_zones, TQT_SIGNAL( pressed( TQListViewItem* ) ) ,
- this, TQT_SLOT( slotNewItemSelected( TQListViewItem* ) ) );
+ connect( m_lv_zones, TQ_SIGNAL( pressed( TQListViewItem* ) ) ,
+ this, TQ_SLOT( slotNewItemSelected( TQListViewItem* ) ) );
- connect( m_lv_zones, TQT_SIGNAL( contextMenuRequested ( TQListViewItem*, const TQPoint&, int ) ),
- this, TQT_SLOT( slotZoneRBM( TQListViewItem*, const TQPoint&, int ) ) );
+ connect( m_lv_zones, TQ_SIGNAL( contextMenuRequested ( TQListViewItem*, const TQPoint&, int ) ),
+ this, TQ_SLOT( slotZoneRBM( TQListViewItem*, const TQPoint&, int ) ) );
- connect( m_lv_zones, TQT_SIGNAL( itemRenamed ( TQListViewItem *, int, const TQString & ) ) ,
- this, TQT_SLOT( slotRenameItem( TQListViewItem *, int, const TQString & ) ) );
+ connect( m_lv_zones, TQ_SIGNAL( itemRenamed ( TQListViewItem *, int, const TQString & ) ) ,
+ this, TQ_SLOT( slotRenameItem( TQListViewItem *, int, const TQString & ) ) );
// Main win
- connect( m_c_restrictOutgoing, TQT_SIGNAL( clicked() ),
- this, TQT_SLOT( slotRestrictionChanged() ) );
+ connect( m_c_restrictOutgoing, TQ_SIGNAL( clicked() ),
+ this, TQ_SLOT( slotRestrictionChanged() ) );
- connect( m_c_allowIncoming, TQT_SIGNAL( clicked() ),
- this, TQT_SLOT( slotRestrictionChanged() ) );
+ connect( m_c_allowIncoming, TQ_SIGNAL( clicked() ),
+ this, TQ_SLOT( slotRestrictionChanged() ) );
- connect( m_zoneSelect, TQT_SIGNAL( activated( const TQString& ) ),
- this, TQT_SLOT( slotCurrentZoneChanged( const TQString& ) ) );
+ connect( m_zoneSelect, TQ_SIGNAL( activated( const TQString& ) ),
+ this, TQ_SLOT( slotCurrentZoneChanged( const TQString& ) ) );
m_zone = 0;
m_type = -1;
@@ -266,15 +266,15 @@ void KMFGenericInterfaceProtocol::slotZoneRBM( TQListViewItem* item, const TQPoi
TQString name = m_zone->name();
TQString lab_str = i18n("Zone: %1").arg( m_zone->guiName() );
m_contextMenu->insertTitle( icon_chain, lab_str );
- m_contextMenu->insertItem( icon_new, i18n( "Add Host..." ), this, TQT_SLOT( slotAddHost() ) );
+ m_contextMenu->insertItem( icon_new, i18n( "Add Host..." ), this, TQ_SLOT( slotAddHost() ) );
m_contextMenu->insertSeparator();
- m_contextMenu->insertItem( icon_new, i18n( "Add Zone..." ), this, TQT_SLOT( slotAddZone() ) );
+ m_contextMenu->insertItem( icon_new, i18n( "Add Zone..." ), this, TQ_SLOT( slotAddZone() ) );
if ( m_zone->name() != "incoming_world" && m_zone->name() != "outgoing_world" ) {
- m_contextMenu->insertItem( icon_rename, i18n( "Rename Zone..." ), this, TQT_SLOT( slotRenameZone() ) );
+ m_contextMenu->insertItem( icon_rename, i18n( "Rename Zone..." ), this, TQ_SLOT( slotRenameZone() ) );
m_contextMenu->insertSeparator();
- m_contextMenu->insertItem( icon_del, i18n( "Delete Zone" ), this, TQT_SLOT( slotDelZone() ) );
+ m_contextMenu->insertItem( icon_del, i18n( "Delete Zone" ), this, TQ_SLOT( slotDelZone() ) );
}
m_contextMenu->popup( point );
@@ -288,8 +288,8 @@ void KMFGenericInterfaceProtocol::slotZoneRBM( TQListViewItem* item, const TQPoi
TQString name = m_host->name();
TQString lab_str = i18n("Host: %1").arg( m_host->guiName() );
m_contextMenu->insertTitle( icon_chain, lab_str );
- m_contextMenu->insertItem( icon_rename, i18n( "Rename Host..." ), this, TQT_SLOT( slotRenameHost() ) );
- m_contextMenu->insertItem( icon_rename, i18n( "Delete Host..." ), this, TQT_SLOT( slotDelHost() ) );
+ m_contextMenu->insertItem( icon_rename, i18n( "Rename Host..." ), this, TQ_SLOT( slotRenameHost() ) );
+ m_contextMenu->insertItem( icon_rename, i18n( "Delete Host..." ), this, TQ_SLOT( slotDelHost() ) );
m_contextMenu->popup( point );
}
}