Mark two member functions const
Change-Id: I42266689ccac2d0234eb0b047d2dc949e6f59196 Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
This commit is contained in:
parent
ac4b28ce4d
commit
db54498fd1
@ -236,9 +236,9 @@ QTemporaryFileEngine::~QTemporaryFileEngine()
|
||||
QFSFileEngine::close();
|
||||
}
|
||||
|
||||
bool QTemporaryFileEngine::isReallyOpen()
|
||||
bool QTemporaryFileEngine::isReallyOpen() const
|
||||
{
|
||||
Q_D(QFSFileEngine);
|
||||
Q_D(const QFSFileEngine);
|
||||
|
||||
if (!((0 == d->fh) && (-1 == d->fd)
|
||||
#if defined Q_OS_WIN
|
||||
|
@ -95,7 +95,7 @@ public:
|
||||
|
||||
~QTemporaryFileEngine();
|
||||
|
||||
bool isReallyOpen();
|
||||
bool isReallyOpen() const;
|
||||
void setFileName(const QString &file);
|
||||
void setFileTemplate(const QString &fileTemplate);
|
||||
|
||||
|
@ -64,7 +64,7 @@ public:
|
||||
QString domain;
|
||||
QString user;
|
||||
QString password;
|
||||
bool isNull() {
|
||||
bool isNull() const {
|
||||
return domain.isNull() && user.isNull() && password.isNull();
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user