summaryrefslogtreecommitdiffstats
path: root/kmyfirewall/core/iptchain.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmyfirewall/core/iptchain.cpp')
-rw-r--r--kmyfirewall/core/iptchain.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kmyfirewall/core/iptchain.cpp b/kmyfirewall/core/iptchain.cpp
index 41fa9fb..c712b6e 100644
--- a/kmyfirewall/core/iptchain.cpp
+++ b/kmyfirewall/core/iptchain.cpp
@@ -126,7 +126,7 @@ void IPTChain::setUsed( bool valid ) {
int IPTChain::indexOf( const IPTRule& rule ) {
// kdDebug() << "int IPTChain::indexOf( IPTRule* " << rule.name() << " ) " << endl;
- return m_ruleset.tqfind( &rule );
+ return m_ruleset.find( &rule );
}
IPTRule* IPTChain::addRule( const TQString& rule_name, KMFError *err, int index ) {
@@ -176,7 +176,7 @@ KMFError* IPTChain::delRule( IPTRule* rule ) {
return false;
TQString name = rule->name();
- if ( m_ruleset.tqfind( rule ) != -1 ) {
+ if ( m_ruleset.find( rule ) != -1 ) {
m_err->setErrType(KMFError::OK );
if ( ! m_ruleset.remove( rule ) ) {
rule->deleteLater();
@@ -202,7 +202,7 @@ KMFError* IPTChain::delRule( IPTRule* rule ) {
bool IPTChain::moveRule( IPTRule* rule, int how_much ) {
// kdDebug() << "void IPTChain::moveRule(IPTRule* rule,int how_much)" << endl;
- int num = m_ruleset.tqfind( rule );
+ int num = m_ruleset.find( rule );
int new_pos = num + how_much;
if ( new_pos < 0 || new_pos > ( int ) m_ruleset.count() - 1 ) {
// kdDebug() << "New Position is not Valid: " << new_pos << endl;