summaryrefslogtreecommitdiffstats
path: root/qtools/qdir.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2000-12-03 19:13:07 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2000-12-03 19:13:07 (GMT)
commitfe67b8eb68129713327965c201f2d7226b83202f (patch)
tree485fb83c5a301dd4b0edb3c534b1f31eeb08ab1f /qtools/qdir.cpp
parenta30c2e3c5ea41ae1947e9893c82ed8c8b6d7c5a2 (diff)
downloadDoxygen-fe67b8eb68129713327965c201f2d7226b83202f.zip
Doxygen-fe67b8eb68129713327965c201f2d7226b83202f.tar.gz
Doxygen-fe67b8eb68129713327965c201f2d7226b83202f.tar.bz2
Release-1.2.3-20001203
Diffstat (limited to 'qtools/qdir.cpp')
-rw-r--r--qtools/qdir.cpp22
1 files changed, 17 insertions, 5 deletions
diff --git a/qtools/qdir.cpp b/qtools/qdir.cpp
index c4b4987..185933a 100644
--- a/qtools/qdir.cpp
+++ b/qtools/qdir.cpp
@@ -241,7 +241,7 @@ QDir::~QDir()
is using a relative or an absolute file path. You can call the function
convertToAbs() to convert a relative QDir to an absolute one.
- \sa path(), absPath(), exists, cleanDirPath(), dirName(),
+ \sa path(), absPath(), exists(), cleanDirPath(), dirName(),
absFilePath(), isRelative(), convertToAbs()
*/
@@ -469,7 +469,6 @@ bool QDir::cdUp()
/*!
\fn QString QDir::nameFilter() const
Returns the string set by setNameFilter()
- \sa setNameFilter()
*/
/*!
@@ -481,7 +480,7 @@ bool QDir::cdUp()
".cpp" and all files ending with ".h", you simply call
dir.setNameFilter("*.cpp *.h") or dir.setNameFilter("*.cpp;*.h")
- \sa nameFilter()
+ \sa nameFilter(), setFilter()
*/
void QDir::setNameFilter( const QString &nameFilter )
@@ -495,7 +494,6 @@ void QDir::setNameFilter( const QString &nameFilter )
/*!
\fn QDir::FilterSpec QDir::filter() const
Returns the value set by setFilter()
- \sa setFilter()
*/
/*! \enum QDir::FilterSpec
@@ -533,7 +531,8 @@ void QDir::setNameFilter( const QString &nameFilter )
Sets the filter used by entryList() and entryInfoList(). The filter is used
to specify the kind of files that should be returned by entryList() and
entryInfoList().
- \sa nameFilter()
+
+ \sa filter(), setNameFilter()
*/
void QDir::setFilter( int filterSpec )
@@ -1030,7 +1029,20 @@ QStringList qt_makeFilterList( const QString &filter )
QString s = *it;
if ( s[ (int)s.length() - 1 ] == ';' )
s.remove( s.length() - 1, 1 );
+ if ( s[0] == '\"' ) {
+ s.remove( 0, 1 );
+ while( ++it != lst.end() ) {
+ QString s2 = *it;
+ s += " "+s2;
+ if ( s2[(int)s2.length() -1] == '\"' ) {
+ s.remove( s.length() -1, 1 );
+ break;
+ }
+ }
+ }
lst2 << s;
+ if ( it == lst.end() )
+ break;
}
return lst2;
}