forked from qt-creator/qt-creator
VcsBase: Remove Q_PROPERTY definitions
The initial intention was to make these widgets usable from Designer. We don't expect a lot of new uses in this direction, and clazy seems to warn about not-so-complete Q_PROPERTY definitions: Link https://github.com/KDE/clazy/blob/master/docs/checks/README-qproperty-without-notify.md Change-Id: I4a2e9ff6ec7ecfd989196801c789533b4c44e8af Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io> Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -18,9 +18,6 @@ struct SubmitFieldWidgetPrivate;
|
||||
class VCSBASE_EXPORT SubmitFieldWidget : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_PROPERTY(QStringList fields READ fields WRITE setFields DESIGNABLE true)
|
||||
Q_PROPERTY(bool hasBrowseButton READ hasBrowseButton WRITE setHasBrowseButton DESIGNABLE true)
|
||||
Q_PROPERTY(bool allowDuplicateFields READ allowDuplicateFields WRITE setAllowDuplicateFields DESIGNABLE true)
|
||||
|
||||
public:
|
||||
explicit SubmitFieldWidget(QWidget *parent = nullptr);
|
||||
|
||||
Reference in New Issue
Block a user