diff options
Diffstat (limited to 'kioslave/smtp/capabilities.cc')
-rw-r--r-- | kioslave/smtp/capabilities.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kioslave/smtp/capabilities.cc b/kioslave/smtp/capabilities.cc index 5b2856837..a99dbeb0b 100644 --- a/kioslave/smtp/capabilities.cc +++ b/kioslave/smtp/capabilities.cc @@ -56,16 +56,16 @@ namespace KioSMTP { return c; } - void Capabilities::add( const TQString & cap, bool replace ) { + void Capabilities::add( const TQString & cap, bool tqreplace ) { TQStringList tokens = TQStringList::split( ' ', cap.upper() ); if ( tokens.empty() ) return; TQString name = tokens.front(); tokens.pop_front(); - add( name, tokens, replace ); + add( name, tokens, tqreplace ); } - void Capabilities::add( const TQString & name, const TQStringList & args, bool replace ) { - if ( replace ) + void Capabilities::add( const TQString & name, const TQStringList & args, bool tqreplace ) { + if ( tqreplace ) mCapabilities[name] = args; else mCapabilities[name] += args; @@ -126,7 +126,7 @@ namespace KioSMTP { if ( it.key() == "AUTH" ) result += it.data(); else if ( it.key().startsWith( "AUTH=" ) ) { - result.push_back( it.key().mid( qstrlen("AUTH=") ) ); + result.push_back( it.key().mid( tqstrlen("AUTH=") ) ); result += it.data(); } } |