diff options
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 { |