You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
854 B
37 lines
854 B
//
|
|
// C++ Implementation: kmfruletragetoptioneditinterface
|
|
//
|
|
// Description:
|
|
//
|
|
//
|
|
// Author: Christian Hubinger <chubinger@irrsinnig.org>, (C) 2004
|
|
//
|
|
// Copyright: See COPYING file that comes with this distribution
|
|
//
|
|
//
|
|
#include "kmfruletargetoptioneditinterface.h"
|
|
|
|
namespace KMF {
|
|
|
|
KMFRuleTargetOptionEditInterface::KMFRuleTargetOptionEditInterface(TQObject *parent, const char *name)
|
|
: KMFRuleOptionEditInterface(parent, name) {
|
|
// m_managedTargets << "DNAT" << "SNAT";
|
|
|
|
}
|
|
|
|
|
|
KMFRuleTargetOptionEditInterface::~KMFRuleTargetOptionEditInterface() {}
|
|
bool KMFRuleTargetOptionEditInterface::manageTarget( const TQString& target ) const {
|
|
bool found = false;
|
|
for ( uint i = 0; i < m_managedTargets.count(); i++ ) {
|
|
TQString currTarget = *m_managedTargets.at( i );
|
|
if ( currTarget == target )
|
|
found = true;
|
|
}
|
|
return found;
|
|
|
|
}
|
|
|
|
}
|
|
|