File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -18,8 +18,8 @@ class CodeEditor : public QPlainTextEdit
18
18
Mode mode = NORMAL;
19
19
void lineNumberAreaPaintEvent (QPaintEvent *event);
20
20
int lineNumberAreaWidth ();
21
- QString getCurrentFileName () const { return currentFileName ; }
22
- void setCurrentFileName (const QString &fileName) { currentFileName = fileName; }
21
+ QString getCurrentFileName () const { return m_currentFileName ; }
22
+ void setCurrentFileName (const QString &fileName) { m_currentFileName = fileName; }
23
23
24
24
signals:
25
25
void statusMessageChanged (const QString &message);
@@ -35,10 +35,11 @@ private slots:
35
35
36
36
private:
37
37
QWidget *m_lineNumberArea;
38
- QString currentFileName;
38
+ QString m_currentFileName;
39
+
39
40
QString getFileExtension ();
40
41
void addLanguageSymbol (QTextCursor &cursor, const QString &commentSymbol);
41
42
void commentSelection (QTextCursor &cursor, const QString &commentSymbol);
42
43
void commentLine (QTextCursor &cursor, const QString &commentSymbol);
43
- void addComment ();
44
+ void addComment ();
44
45
};
You can’t perform that action at this time.
0 commit comments