summaryrefslogtreecommitdiffstats
path: root/qtools/qdir.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2000-12-03 19:13:07 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2000-12-03 19:13:07 (GMT)
commit5167cf2076e30ed3f6ddd84b76543a0dff207496 (patch)
tree485fb83c5a301dd4b0edb3c534b1f31eeb08ab1f /qtools/qdir.cpp
parenta1995ea7b217edfe0a6ddf3d60ea7bde1e23c1d7 (diff)
downloadDoxygen-5167cf2076e30ed3f6ddd84b76543a0dff207496.zip
Doxygen-5167cf2076e30ed3f6ddd84b76543a0dff207496.tar.gz
Doxygen-5167cf2076e30ed3f6ddd84b76543a0dff207496.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;
}