summaryrefslogtreecommitdiffstats
path: root/qtools/scstring.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qtools/scstring.cpp')
-rw-r--r--qtools/scstring.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/qtools/scstring.cpp b/qtools/scstring.cpp
index 4a02320..698e036 100644
--- a/qtools/scstring.cpp
+++ b/qtools/scstring.cpp
@@ -208,6 +208,11 @@ int SCString::find( const char *str, int index, bool cs ) const
return d ? (int)(d - m_data) : -1;
}
+int SCString::find( const QCString &str, int index, bool cs ) const
+{
+ return find(str.data(),index,cs);
+}
+
int SCString::find( const QRegExp &rx, int index ) const
{
QString d = QString::fromLatin1( m_data );