diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
commit | 1b9ba97805fd4a187f1b8247c358feb823535b77 (patch) | |
tree | 68d33075c3597a0f9835364b4c77fb1488bb1f42 /smb4k/core/smb4kprint.cpp | |
parent | 5539063c804d38a8b3406c5647b1a8d1a66d63b0 (diff) | |
download | smb4k-1b9ba97805fd4a187f1b8247c358feb823535b77.tar.gz smb4k-1b9ba97805fd4a187f1b8247c358feb823535b77.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/smb4k@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'smb4k/core/smb4kprint.cpp')
-rw-r--r-- | smb4k/core/smb4kprint.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/smb4k/core/smb4kprint.cpp b/smb4k/core/smb4kprint.cpp index d666ed5..76e4a9a 100644 --- a/smb4k/core/smb4kprint.cpp +++ b/smb4k/core/smb4kprint.cpp @@ -302,7 +302,7 @@ void Smb4KPrint::slotReceivedStderr( KProcess *, char *buf, int len ) { m_buffer.append( TQString::fromLocal8Bit( buf, len ) ); - if ( m_buffer.tqcontains( "NT_STATUS" ) != 0 ) + if ( m_buffer.contains( "NT_STATUS" ) != 0 ) { abort(); } @@ -313,19 +313,19 @@ void Smb4KPrint::slotProcessExited( KProcess * ) { bool retry = false; - if ( m_buffer.tqcontains( "NT_STATUS", true ) != 0 || - m_buffer.tqcontains( "enscript", true ) != 0 || - m_buffer.tqcontains( "dvips", true ) != 0 ) + if ( m_buffer.contains( "NT_STATUS", true ) != 0 || + m_buffer.contains( "enscript", true ) != 0 || + m_buffer.contains( "dvips", true ) != 0 ) { - if ( m_buffer.tqcontains( "NT_STATUS_ACCESS_DENIED" ) != 0 || m_buffer.tqcontains( "NT_STATUS_LOGON_FAILURE" ) != 0 ) + if ( m_buffer.contains( "NT_STATUS_ACCESS_DENIED" ) != 0 || m_buffer.contains( "NT_STATUS_LOGON_FAILURE" ) != 0 ) { int state = Smb4KPasswordHandler::None; - if ( m_buffer.tqcontains( "NT_STATUS_ACCESS_DENIED" ) != 0 ) + if ( m_buffer.contains( "NT_STATUS_ACCESS_DENIED" ) != 0 ) { state = Smb4KPasswordHandler::AccessDenied; } - else if (m_buffer.tqcontains( "NT_STATUS_LOGON_FAILURE" ) != 0 ) + else if (m_buffer.contains( "NT_STATUS_LOGON_FAILURE" ) != 0 ) { state = Smb4KPasswordHandler::LogonFailure; } |