forked from qt-creator/qt-creator
TextEditor: Modernize
modernize-* Change-Id: Ic497fea1942a77cf017be3b0033f92e3807066f1 Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -57,7 +57,7 @@ class TextDocumentPrivate;
|
||||
class TextMark;
|
||||
class TypingSettings;
|
||||
|
||||
typedef QList<TextMark *> TextMarks;
|
||||
using TextMarks = QList<TextMark *>;
|
||||
|
||||
class TEXTEDITOR_EXPORT TextDocument : public Core::BaseTextDocument
|
||||
{
|
||||
@@ -169,6 +169,6 @@ private:
|
||||
TextDocumentPrivate *d;
|
||||
};
|
||||
|
||||
typedef QSharedPointer<TextDocument> TextDocumentPtr;
|
||||
using TextDocumentPtr = QSharedPointer<TextDocument>;
|
||||
|
||||
} // namespace TextEditor
|
||||
|
||||
Reference in New Issue
Block a user