diff options
author | Hugo Parente Lima <hugo.pl@gmail.com> | 2011-08-11 16:54:44 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2012-03-09 19:10:18 -0300 |
commit | fbabe7a32b49d214ee5653cf6f0ced2f936c81ab (patch) | |
tree | 24698ed8817b08442ab0462eb8fd114f31c90271 /typedatabase.h | |
parent | 7c2acc64fb7d345c184c91336ed20913a6d6d791 (diff) |
Fix bug 731 - "Can't specify more than a single 'since' argument"
Diffstat (limited to 'typedatabase.h')
-rw-r--r-- | typedatabase.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/typedatabase.h b/typedatabase.h index ef454ff0e..8c735c1c1 100644 --- a/typedatabase.h +++ b/typedatabase.h @@ -173,17 +173,19 @@ public: bool parseFile(const QString &filename, bool generate = true); bool parseFile(QIODevice* device, bool generate = true); - double apiVersion() const + APIEXTRACTOR_DEPRECATED(double apiVersion() const) { return m_apiVersion; } - void setApiVersion(double version) + APIEXTRACTOR_DEPRECATED(void setApiVersion(double version)) { m_apiVersion = version; } + void setApiVersion(const QString& package, const QByteArray& version); - bool supportedApiVersion(double version) const; + APIEXTRACTOR_DEPRECATED(bool supportedApiVersion(double version) const); + bool checkApiVersion(const QString& package, const QByteArray& version) const; const QStringList& dropTypeEntries() const { |