aboutsummaryrefslogtreecommitdiff
path: root/src/core/kconfigbackend_p.h
diff options
context:
space:
mode:
authorDavid Faure <faure@kde.org>2017-03-15 13:27:08 +0100
committerDavid Faure <faure@kde.org>2017-03-15 13:27:09 +0100
commite1fd748982dc5c335aa66766c62aa4e4d5d1bc6c (patch)
tree34604fac9db00b4ddc51dffdcb2568d54f33f87b /src/core/kconfigbackend_p.h
parentc5be11a789837095f587fadd684584b767e33ee9 (diff)
downloadkconfig-e1fd748982dc5c335aa66766c62aa4e4d5d1bc6c.tar.gz
kconfig-e1fd748982dc5c335aa66766c62aa4e4d5d1bc6c.tar.bz2
Remove unused QDateTime in KConfigBackend.
Spotted because it leads to race conditions due to tzset (surely a Qt bug, but anyway no point in finding out lastModified for nothing). While at it, remove the unused size field as well.
Diffstat (limited to 'src/core/kconfigbackend_p.h')
-rw-r--r--src/core/kconfigbackend_p.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/core/kconfigbackend_p.h b/src/core/kconfigbackend_p.h
index 0a63a687..d2e3de4e 100644
--- a/src/core/kconfigbackend_p.h
+++ b/src/core/kconfigbackend_p.h
@@ -34,7 +34,6 @@ class KConfigBackendPrivate;
class KEntryMap;
class QFile;
class QByteArray;
-class QDateTime;
/**
* \class KConfigBackend kconfigbackend_p.h <KConfigBackend>
@@ -181,19 +180,11 @@ public:
*/
virtual bool isLocked() const = 0;
- /**
- * @return the date and time when the object was last modified
- */
- QDateTime lastModified() const;
/** @return the absolute path to the object */
QString filePath() const;
- /** @return the size of the object */
- qint64 size() const;
protected:
KConfigBackend();
- void setLastModified(const QDateTime &dt);
- void setSize(qint64 sz);
void setLocalFilePath(const QString &file);
private: