Ignore:
Timestamp:
Nov 16, 2005, 8:36:46 PM (20 years ago)
Author:
dmik
Message:

Transferred Qt for OS/2 version 3.3.1-rc5 sources from the CVS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/tools/qfileinfo.cpp

    r7 r8  
    6464    A QFileInfo can point to a file with either a relative or an
    6565    absolute file path. Absolute file paths begin with the directory
    66     separator "/" (or with a drive specification on Windows). Relative
     66    separator "/" (or with a drive specification on Windows and OS/2). Relative
    6767    file names begin with a directory name or a file name and specify
    6868    a path relative to the current working directory. An example of an
     
    130130    rights of the current user, you should use isReadable(), isWritable() and
    131131    isExecutable().
     132   
     133    @@TODO: describe OS/2 semantics regarding permissions.
    132134*/
    133135
     
    266268    The \a file can also include an absolute or relative file path.
    267269    Absolute paths begin with the directory separator (e.g. "/" under
    268     Unix) or a drive specification (under Windows). Relative file
     270    Unix) or a drive specification (under Windows and OS/2). Relative file
    269271    names begin with a directory name or a file name and specify a
    270272    path relative to the current directory.
     
    529531}
    530532
    531 #ifndef Q_WS_WIN
     533#if !defined(Q_WS_WIN) && !defined(Q_OS_OS2)
    532534bool QFileInfo::isHidden() const
    533535{
     
    654656    The absolute path name consists of the full path and the file
    655657    name. On Unix this will always begin with the root, '/',
    656     directory. On Windows this will always begin 'D:/' where D is a
     658    directory. On Windows and OS/2 this will always begin 'D:/' where D is a
    657659    drive letter, except for network shares that are not mapped to a
    658660    drive letter, in which case the path will begin '//sharename/'.
     
    672674    QString tmp;
    673675    if ( QDir::isRelativePath(fn)
    674 #if defined(Q_OS_WIN32)
     676#if defined(Q_OS_WIN32) || defined(Q_OS_OS2)
    675677         && fn[1] != ':'
    676678#endif
Note: See TracChangeset for help on using the changeset viewer.