diff options
Diffstat (limited to 'kmyfirewall/kmfwidgets/kmfmynetworkwidget.cpp')
-rw-r--r-- | kmyfirewall/kmfwidgets/kmfmynetworkwidget.cpp | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/kmyfirewall/kmfwidgets/kmfmynetworkwidget.cpp b/kmyfirewall/kmfwidgets/kmfmynetworkwidget.cpp index 856609a..53f442b 100644 --- a/kmyfirewall/kmfwidgets/kmfmynetworkwidget.cpp +++ b/kmyfirewall/kmfwidgets/kmfmynetworkwidget.cpp @@ -54,14 +54,14 @@ KMFMyNetworkWidget::KMFMyNetworkWidget(TQWidget* parent, const char* name, WFlag m_network = 0; m_contextMenu = new TDEPopupMenu( this, "m_contextMenu" ); - 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( 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( 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 & ) ) ); @@ -94,8 +94,8 @@ void KMFMyNetworkWidget::setupPropertiesView() { kdDebug() << "void KMFMyNetworkWidget::setupPropertiesView()" << endl; m_hostProperties = new KMFHostWidget( this, "host widget" ); kt_hostProperties->addTab( m_hostProperties, i18n( "General" ) ); - connect( m_hostProperties, TQT_SIGNAL( sigTargetChanged() ), - this, TQT_SLOT( slotTargetChanged() ) ); + connect( m_hostProperties, TQ_SIGNAL( sigTargetChanged() ), + this, TQ_SLOT( slotTargetChanged() ) ); m_hostProperties->InitGUI(); @@ -119,8 +119,8 @@ void KMFMyNetworkWidget::setupPropertiesView() { m_network_widget = new KMFNetworkWidget( this, "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* ) ) ); // grid->addWidget( m_network_widget, 0,0 ); // grid->addWidget( m_network_widget, 1,0 ); @@ -236,15 +236,15 @@ void KMFMyNetworkWidget::slotZoneRBM( TQListViewItem* item, const TQPoint& point 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_zone->readOnly() ) { - 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 ); @@ -259,13 +259,13 @@ void KMFMyNetworkWidget::slotZoneRBM( TQListViewItem* item, const TQPoint& point TQString lab_str = i18n("Host: %1").arg( m_target->guiName() ); m_contextMenu->insertTitle( icon_chain, lab_str ); if ( ! m_target->readOnly() ) { - m_contextMenu->insertItem( icon_rename, i18n( "Rename Host..." ), this, TQT_SLOT( slotRenameHost() ) ); + m_contextMenu->insertItem( icon_rename, i18n( "Rename Host..." ), this, TQ_SLOT( slotRenameHost() ) ); m_contextMenu->insertSeparator(); - m_contextMenu->insertItem( icon_del, i18n( "Delete Host..." ), this, TQT_SLOT( slotDelHost() ) ); + m_contextMenu->insertItem( icon_del, i18n( "Delete Host..." ), this, TQ_SLOT( slotDelHost() ) ); } if ( ! m_target->isCurrentTarget() ) { m_contextMenu->insertSeparator(); - m_contextMenu->insertItem( TDEGlobal::iconLoader()->loadIcon( "kmyfirewall", TDEIcon::Small ), i18n( "Make Active Target..." ), this, TQT_SLOT( slotSetActiveTarget() ) ); + m_contextMenu->insertItem( TDEGlobal::iconLoader()->loadIcon( "kmyfirewall", TDEIcon::Small ), i18n( "Make Active Target..." ), this, TQ_SLOT( slotSetActiveTarget() ) ); } m_contextMenu->popup( point ); |