Wrap code for better readability

This commit is contained in:
Simon De Backer
2020-08-20 17:45:24 +02:00
parent d1c91a7fc2
commit 88686b3cbf
11 changed files with 152 additions and 58 deletions

View File

@@ -33,8 +33,15 @@ class QObject;
class QPropertyUndoCommand : public QUndoCommand
{
public:
QPropertyUndoCommand(QObject *object, const char *property_name, const QVariant &old_value, const QVariant &new_value, QUndoCommand *parent = nullptr);
QPropertyUndoCommand(QObject *object, const char *property_name, const QVariant &old_value, QUndoCommand *parent = nullptr);
QPropertyUndoCommand(QObject *object,
const char *property_name,
const QVariant &old_value,
const QVariant &new_value,
QUndoCommand *parent = nullptr);
QPropertyUndoCommand(QObject *object,
const char *property_name,
const QVariant &old_value,
QUndoCommand *parent = nullptr);
QPropertyUndoCommand(const QPropertyUndoCommand *other);
void setNewValue(const QVariant &new_value);