equal
deleted
inserted
replaced
50 |
50 |
51 NmEditorTextEdit* editor() const; |
51 NmEditorTextEdit* editor() const; |
52 |
52 |
53 NmEditorHeader* header() const; |
53 NmEditorHeader* header() const; |
54 |
54 |
|
55 public: |
|
56 bool eventFilter(QObject *obj, QEvent *event); |
|
57 |
55 private: |
58 private: |
56 void createConnections(); |
59 void createConnections(); |
57 void removeEmbeddedImages(QString &bodyContent); |
60 void removeEmbeddedImages(QString &bodyContent); |
58 void convertBodyStylesToDivision(QString &bodyContent); |
61 void convertBodyStylesToDivision(QString &bodyContent); |
59 void createDivisionFromHead(QString &bodyContent); |
62 void createDivisionFromHead(QString &bodyContent); |
60 void convertBodyToDiv(QString &bodyContent, const QString &replacementString); |
63 void convertBodyToDiv(QString &bodyContent, const QString &replacementString); |
61 void convertBGColorToStyle(QString &bodyContent); |
64 void convertBGColorToStyle(QString &bodyContent); |
|
65 |
62 |
66 |
63 signals: |
67 signals: |
64 void setPlainText(const QString&); |
68 void setPlainText(const QString&); |
65 |
69 |
66 void setHtml(const QString&); |
70 void setHtml(const QString&); |