summaryrefslogtreecommitdiff
path: root/qmake/include/qregexp.h
Side-by-side diff
Diffstat (limited to 'qmake/include/qregexp.h') (more/less context) (ignore whitespace changes)
-rw-r--r--qmake/include/qregexp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/qmake/include/qregexp.h b/qmake/include/qregexp.h
index 7bb777a..90f54bd 100644
--- a/qmake/include/qregexp.h
+++ b/qmake/include/qregexp.h
@@ -59,49 +59,49 @@ public:
QRegExp& operator=( const QRegExp& rx );
bool operator==( const QRegExp& rx ) const;
bool operator!=( const QRegExp& rx ) const { return !operator==( rx ); }
bool isEmpty() const;
bool isValid() const;
QString pattern() const;
void setPattern( const QString& pattern );
bool caseSensitive() const;
void setCaseSensitive( bool sensitive );
#ifndef QT_NO_REGEXP_WILDCARD
bool wildcard() const;
void setWildcard( bool wildcard );
#endif
bool minimal() const;
void setMinimal( bool minimal );
bool exactMatch( const QString& str ) const;
#ifndef QT_NO_COMPAT
int match( const QString& str, int index = 0, int *len = 0,
bool indexIsStart = TRUE ) const;
#endif
-#if defined(qdoc)
+#if defined(Q_QDOC)
int search( const QString& str, int offset = 0,
CaretMode caretMode = CaretAtZero ) const;
int searchRev( const QString& str, int offset = -1,
CaretMode caretMode = CaretAtZero ) const;
#else
// ### Qt 4.0: reduce these four to two functions
int search( const QString& str, int offset = 0 ) const;
int search( const QString& str, int offset, CaretMode caretMode ) const;
int searchRev( const QString& str, int offset = -1 ) const;
int searchRev( const QString& str, int offset, CaretMode caretMode ) const;
#endif
int matchedLength() const;
#ifndef QT_NO_REGEXP_CAPTURE
int numCaptures() const;
QStringList capturedTexts();
QString cap( int nth = 0 );
int pos( int nth = 0 );
QString errorString();
#endif
static QString escape( const QString& str );
private:
void compile( bool caseSensitive );