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();
|
QFSFileEngine::close();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool QTemporaryFileEngine::isReallyOpen()
|
bool QTemporaryFileEngine::isReallyOpen() const
|
||||||
{
|
{
|
||||||
Q_D(QFSFileEngine);
|
Q_D(const QFSFileEngine);
|
||||||
|
|
||||||
if (!((0 == d->fh) && (-1 == d->fd)
|
if (!((0 == d->fh) && (-1 == d->fd)
|
||||||
#if defined Q_OS_WIN
|
#if defined Q_OS_WIN
|
||||||
|
@ -95,7 +95,7 @@ public:
|
|||||||
|
|
||||||
~QTemporaryFileEngine();
|
~QTemporaryFileEngine();
|
||||||
|
|
||||||
bool isReallyOpen();
|
bool isReallyOpen() const;
|
||||||
void setFileName(const QString &file);
|
void setFileName(const QString &file);
|
||||||
void setFileTemplate(const QString &fileTemplate);
|
void setFileTemplate(const QString &fileTemplate);
|
||||||
|
|
||||||
|
@ -64,7 +64,7 @@ public:
|
|||||||
QString domain;
|
QString domain;
|
||||||
QString user;
|
QString user;
|
||||||
QString password;
|
QString password;
|
||||||
bool isNull() {
|
bool isNull() const {
|
||||||
return domain.isNull() && user.isNull() && password.isNull();
|
return domain.isNull() && user.isNull() && password.isNull();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user