#ifndef TEXTEDITOR_H #define TEXTEDITOR_H #include namespace vnotex { class TextEditor : public vte::VTextEditor { Q_OBJECT public: TextEditor(const QSharedPointer &p_config, const QSharedPointer &p_paras, QWidget *p_parent = nullptr); signals: void applySnippetRequested(); private slots: void handleContextMenuEvent(QContextMenuEvent *p_event, bool *p_handled, QScopedPointer *p_menu); }; } #endif // TEXTEDITOR_H