QFileInfo::isHidden()

Andreas Hausladen Andreas.Hausladen at gmx.de
Mon Sep 20 10:54:22 CEST 2004


> Log Message:
> enabled isHidden() for cygwin
> [...]
> -#ifndef Q_WS_WIN
> +#ifndef Q_OS_WIN32
> bool QFileInfo::isHidden() const
> {
>     return fileName()[ 0 ] == QChar( '.' );

 May I ask since when a leading dot is the hidden flag under Windows? You
 have my code in QFileInfo::isHidden in QT_WIN32_3_BRANCH which does what 
the
 Qt documentation says:
 "On Unix-like operating systems, including Mac OS X, a file is hidden if 
its
 name begins with ".". On Windows a file is hidden if its hidden attribute 
is
 set."



More information about the kde-cygwin mailing list