SQL/QSqlField: move deprecated functions decls to correct place
Don't move them around during deprecation. Change-Id: I647fec5a440ea063463dc285def5d793726a9e61 Reviewed-by: Axel Spoerl <axel.spoerl@qt.io> (cherry picked from commit 70475a652a9a44651c25126f6615770e8b43ca1b) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
dce5164375
commit
371113810e
@ -82,6 +82,10 @@ public:
|
||||
void setLength(int fieldLength);
|
||||
void setPrecision(int precision);
|
||||
void setDefaultValue(const QVariant &value);
|
||||
#if QT_DEPRECATED_SINCE(6, 8)
|
||||
QT_DEPRECATED_VERSION_X_6_8("This internal value is no longer used.")
|
||||
void setSqlType(int type);
|
||||
#endif
|
||||
void setGenerated(bool gen);
|
||||
void setAutoValue(bool autoVal);
|
||||
|
||||
@ -89,15 +93,13 @@ public:
|
||||
int length() const;
|
||||
int precision() const;
|
||||
QVariant defaultValue() const;
|
||||
bool isGenerated() const;
|
||||
bool isValid() const;
|
||||
|
||||
#if QT_DEPRECATED_SINCE(6, 8)
|
||||
QT_DEPRECATED_VERSION_X_6_8("This internal value is no longer used.")
|
||||
void setSqlType(int type);
|
||||
QT_DEPRECATED_VERSION_X_6_8("This internal value is no longer used.")
|
||||
int typeID() const;
|
||||
#endif
|
||||
bool isGenerated() const;
|
||||
bool isValid() const;
|
||||
|
||||
private:
|
||||
void detach();
|
||||
// ### Qt7: move to private class
|
||||
|
Loading…
x
Reference in New Issue
Block a user