Compatibility Members for QFile

The following members of class QFileare part of the Qt compatibility layer. We advise against using them in new code.

Public Functions

QString name() const
bool open(OpenMode aFlags, FILE * f)
bool open(OpenMode aFlags, int fd)
void setName(const QString & name)
  • 22 public functions inherited from QIODevice
  • 8 public functions inherited from QObject

Member Function Documentation

QString QFile::name() const

Use fileName() instead.

See also setName().

bool QFile::open(OpenMode aFlags, FILE * f)

Use open(FILE *, OpenMode) instead.

bool QFile::open(OpenMode aFlags, int fd)

Use open(int, OpenMode) instead.

void QFile::setName(const QString & name)

Use setFileName() instead.

See also name().

© 2016 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.