summaryrefslogtreecommitdiffstats
path: root/qtools/qregexp.h
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2010-05-07 19:37:33 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2010-05-07 19:37:33 (GMT)
commit0fb3f32dfd7ac31a2677d76647700cd3fb730ef6 (patch)
tree58636054e8f52c5851109b908053cc4da26b060a /qtools/qregexp.h
parent600fbfb8b03442ff97f4fb94964b2e0e11d14bd4 (diff)
downloadDoxygen-0fb3f32dfd7ac31a2677d76647700cd3fb730ef6.zip
Doxygen-0fb3f32dfd7ac31a2677d76647700cd3fb730ef6.tar.gz
Doxygen-0fb3f32dfd7ac31a2677d76647700cd3fb730ef6.tar.bz2
Release-1.6.3-20100507
Diffstat (limited to 'qtools/qregexp.h')
-rw-r--r--qtools/qregexp.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/qtools/qregexp.h b/qtools/qregexp.h
index 25868ce..4bb0230 100644
--- a/qtools/qregexp.h
+++ b/qtools/qregexp.h
@@ -39,7 +39,7 @@
#define QREGEXP_H
#ifndef QT_H
-#include "qstring.h"
+#include "qcstring.h"
#endif // QT_H
@@ -47,11 +47,11 @@ class Q_EXPORT QRegExp
{
public:
QRegExp();
- QRegExp( const QString &, bool caseSensitive=TRUE, bool wildcard=FALSE );
+ QRegExp( const QCString &, bool caseSensitive=TRUE, bool wildcard=FALSE );
QRegExp( const QRegExp & );
~QRegExp();
QRegExp &operator=( const QRegExp & );
- QRegExp &operator=( const QString &pattern );
+ QRegExp &operator=( const QCString &pattern );
bool operator==( const QRegExp & ) const;
bool operator!=( const QRegExp &r ) const
@@ -66,22 +66,22 @@ public:
bool wildcard() const { return wc; }
void setWildcard( bool );
- QString pattern() const { return rxstring; }
+ QCString pattern() const { return rxstring; }
// ### in Qt 3.0, provide a real implementation
- void setPattern( const QString& pattern )
+ void setPattern( const QCString& pattern )
{ operator=( pattern ); }
- int match( const QString &str, int index=0, int *len=0,
+ int match( const QCString &str, int index=0, int *len=0,
bool indexIsStart = TRUE ) const;
- int find( const QString& str, int index )
+ int find( const QCString& str, int index )
{ return match( str, index ); }
protected:
void compile();
- const QChar *matchstr( uint *, const QChar *, uint, const QChar * ) const;
+ const char *matchstr( uint *, const char *, uint, const char * ) const;
private:
- QString rxstring; // regular expression pattern
+ QCString rxstring; // regular expression pattern
uint *rxdata; // compiled regexp pattern
int error; // error status
bool cs; // case sensitive