make text_editors protected
This commit is contained in:
@@ -29,13 +29,13 @@ private Q_SLOTS:
|
|||||||
private:
|
private:
|
||||||
enum TabIndex { RichTextIndex, SourceIndex };
|
enum TabIndex { RichTextIndex, SourceIndex };
|
||||||
enum State { Clean, RichTextChanged, SourceChanged };
|
enum State { Clean, RichTextChanged, SourceChanged };
|
||||||
RichTextEditor *m_editor;
|
|
||||||
QTextEdit *m_text_edit;
|
|
||||||
QTabWidget *m_tab_widget;
|
QTabWidget *m_tab_widget;
|
||||||
State m_state;
|
State m_state;
|
||||||
int m_initialTab;
|
int m_initialTab;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
RichTextEditor *m_editor;
|
||||||
|
QTextEdit *m_text_edit;
|
||||||
QVBoxLayout *m_main_layout;
|
QVBoxLayout *m_main_layout;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user