diff --git a/sources/editor/ui/texteditor.h b/sources/editor/ui/texteditor.h index f12d80068..cedc54b4e 100644 --- a/sources/editor/ui/texteditor.h +++ b/sources/editor/ui/texteditor.h @@ -29,9 +29,8 @@ namespace Ui { class TextEditor; } -class TextEditor : public ElementItemEditor -{ - Q_OBJECT +class TextEditor : public ElementItemEditor { + Q_OBJECT public: explicit TextEditor(QETElementEditor *editor, PartText *text = nullptr, QWidget *parent = nullptr); @@ -39,26 +38,26 @@ class TextEditor : public ElementItemEditor void updateForm() override; bool setPart(CustomElementPart *part) override; - bool setParts(QList ) override; + bool setParts(QList ) override; CustomElementPart *currentPart() const override; - QList currentParts() const override; + QList currentParts() const override; private slots: void on_m_font_pb_clicked(); void on_m_color_pb_changed(const QColor &newColor); private: void setUpEditConnection(); - void setUpChangeConnection(QPointer part); - void disconnectChangeConnection(); - void disconnectEditConnection(); + void setUpChangeConnection(QPointer part); + void disconnectChangeConnection(); + void disconnectEditConnection(); private: Ui::TextEditor *ui; QPointer m_text; - QList m_parts; + QList m_parts; QList m_edit_connection; - QList m_change_connection; + QList m_change_connection; }; #endif // TEXTEDITOR_H