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
1818 Mode mode = NORMAL;
1919 void lineNumberAreaPaintEvent (QPaintEvent *event);
2020 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; }
2323
2424signals:
2525 void statusMessageChanged (const QString &message);
@@ -35,10 +35,11 @@ private slots:
3535
3636private:
3737 QWidget *m_lineNumberArea;
38- QString currentFileName;
38+ QString m_currentFileName;
39+
3940 QString getFileExtension ();
4041 void addLanguageSymbol (QTextCursor &cursor, const QString &commentSymbol);
4142 void commentSelection (QTextCursor &cursor, const QString &commentSymbol);
4243 void commentLine (QTextCursor &cursor, const QString &commentSymbol);
43- void addComment ();
44+ void addComment ();
4445};
You can’t perform that action at this time.
0 commit comments