summaryrefslogtreecommitdiffstats
path: root/drkonqi
diff options
context:
space:
mode:
Diffstat (limited to 'drkonqi')
-rw-r--r--drkonqi/backtrace.cpp10
-rw-r--r--drkonqi/debugger.cpp4
2 files changed, 7 insertions, 7 deletions
diff --git a/drkonqi/backtrace.cpp b/drkonqi/backtrace.cpp
index acc09e2cc..3cd86fc22 100644
--- a/drkonqi/backtrace.cpp
+++ b/drkonqi/backtrace.cpp
@@ -137,7 +137,7 @@ bool BackTrace::usefulBacktrace()
{
// remove crap
if( !m_krashconf->removeFromBacktraceRegExp().isEmpty())
- m_strBt.tqreplace(TQRegExp( m_krashconf->removeFromBacktraceRegExp()), TQString());
+ m_strBt.replace(TQRegExp( m_krashconf->removeFromBacktraceRegExp()), TQString());
if( m_krashconf->disableChecks())
return true;
@@ -146,16 +146,16 @@ bool BackTrace::usefulBacktrace()
// how many " ?? " in the bt ?
int unknown = 0;
if( !m_krashconf->invalidStackFrameRegExp().isEmpty())
- unknown = strBt.tqcontains( TQRegExp( m_krashconf->invalidStackFrameRegExp()));
+ unknown = strBt.contains( TQRegExp( m_krashconf->invalidStackFrameRegExp()));
// how many stack frames in the bt ?
int frames = 0;
if( !m_krashconf->frameRegExp().isEmpty())
- frames = strBt.tqcontains( TQRegExp( m_krashconf->frameRegExp()));
+ frames = strBt.contains( TQRegExp( m_krashconf->frameRegExp()));
else
- frames = strBt.tqcontains('\n');
+ frames = strBt.contains('\n');
bool tooShort = false;
if( !m_krashconf->neededInValidBacktraceRegExp().isEmpty())
- tooShort = ( strBt.tqfind( TQRegExp( m_krashconf->neededInValidBacktraceRegExp())) == -1 );
+ tooShort = ( strBt.find( TQRegExp( m_krashconf->neededInValidBacktraceRegExp())) == -1 );
return !m_strBt.isNull() && !tooShort && (unknown < frames);
}
diff --git a/drkonqi/debugger.cpp b/drkonqi/debugger.cpp
index b63025563..d90fc38d3 100644
--- a/drkonqi/debugger.cpp
+++ b/drkonqi/debugger.cpp
@@ -110,8 +110,8 @@ void KrashDebugger :: slotSave()
else
{
TQString defname = m_krashconf->execName() + TQString::tqfromLatin1( ".kcrash" );
- if( defname.tqcontains( '/' ))
- defname = defname.mid( defname.tqfindRev( '/' ) + 1 );
+ if( defname.contains( '/' ))
+ defname = defname.mid( defname.findRev( '/' ) + 1 );
TQString filename = KFileDialog::getSaveFileName(defname, TQString::null, this, i18n("Select Filename"));
if (!filename.isEmpty())
{