From edaeee168df5137c451ce777df431633287bad0a Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Wed, 22 Oct 2014 17:57:51 +0200 Subject: regtoosl/qeditor: remove unused code Change-Id: I79ad3151d6a500903786b3467c271b43741f8fee Reviewed-on: http://gerrit.rockbox.org/1021 Reviewed-by: Amaury Pouly --- utils/regtools/qeditor/utils.h | 24 ------------------------ 1 file changed, 24 deletions(-) (limited to 'utils/regtools/qeditor/utils.h') diff --git a/utils/regtools/qeditor/utils.h b/utils/regtools/qeditor/utils.h index 13b9e896e9..771b671b2c 100644 --- a/utils/regtools/qeditor/utils.h +++ b/utils/regtools/qeditor/utils.h @@ -275,30 +275,6 @@ protected: QToolButton *m_underline_button; }; -class MySwitchableTextEditor : public QWidget -{ - Q_OBJECT -public: - MySwitchableTextEditor(QWidget *parent = 0); - QString GetTextHtml(); - void SetTextHtml(const QString& text); - void SetEditorMode(bool en); - MyTextEditor *GetEditor(); - QLineEdit *GetLineEdit(); - QLabel *GetLabel(); - void SetLineMode(bool en); - bool IsModified(); - -protected: - void UpdateVisibility(); - - bool m_editor_mode; - bool m_line_mode; - QLabel *m_label; - MyTextEditor *m_edit; - QLineEdit *m_line; -}; - class BackendSelector : public QWidget { Q_OBJECT -- cgit v1.2.3