diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-07 04:10:07 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-07 04:10:07 +0000 |
commit | fd3a982e26813f5bcc82c7e89ce6fa2ad44432bf (patch) | |
tree | 9eda848e56fcb862fdfdf479adeccd95b6fe387a /kioslave/smtp/capabilities.cc | |
parent | 02f67d0e1355b79b1806746efb0f2f640e57f13d (diff) | |
download | tdebase-fd3a982e26813f5bcc82c7e89ce6fa2ad44432bf.tar.gz tdebase-fd3a982e26813f5bcc82c7e89ce6fa2ad44432bf.zip |
Revert automated changes
Sorry guys, they are just not ready for prime time
Work will continue as always
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1212480 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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 a99dbeb0b..5b2856837 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 tqreplace ) { + void Capabilities::add( const TQString & cap, bool replace ) { TQStringList tokens = TQStringList::split( ' ', cap.upper() ); if ( tokens.empty() ) return; TQString name = tokens.front(); tokens.pop_front(); - add( name, tokens, tqreplace ); + add( name, tokens, replace ); } - void Capabilities::add( const TQString & name, const TQStringList & args, bool tqreplace ) { - if ( tqreplace ) + void Capabilities::add( const TQString & name, const TQStringList & args, bool replace ) { + if ( replace ) 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( tqstrlen("AUTH=") ) ); + result.push_back( it.key().mid( qstrlen("AUTH=") ) ); result += it.data(); } } |