diff options
author | David Schulz <david.schulz@theqtcompany.com> | 2016-05-19 12:25:16 +0200 |
---|---|---|
committer | David Schulz <david.schulz@theqtcompany.com> | 2016-05-30 07:15:03 +0000 |
commit | c422b81316ca6c8994cb0be5fdec5963f7c32e8e (patch) | |
tree | 7d6310d023a1ed3c1413b67585e994ce4d3e224c /src/plugins/cppeditor/cppdoxygen_test.cpp | |
parent | 702fd2e62c8f480d9e8bc0be28993811680fd9cb (diff) | |
download | qt-creator-c422b81316ca6c8994cb0be5fdec5963f7c32e8e.tar.gz |
Move completion settings page to TextEditor plugin.
Change-Id: I12b7828d23d599e5903237d0cc2a3c0440e1b07d
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Diffstat (limited to 'src/plugins/cppeditor/cppdoxygen_test.cpp')
-rw-r--r-- | src/plugins/cppeditor/cppdoxygen_test.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/cppeditor/cppdoxygen_test.cpp b/src/plugins/cppeditor/cppdoxygen_test.cpp index ebbb109af3..4d3a9cb13a 100644 --- a/src/plugins/cppeditor/cppdoxygen_test.cpp +++ b/src/plugins/cppeditor/cppdoxygen_test.cpp @@ -339,7 +339,7 @@ void DoxygenTest::testNoLeadingAsterisks() QFETCH(QByteArray, given); QFETCH(QByteArray, expected); - CppTools::CommentsSettings injection; + TextEditor::CommentsSettings injection; injection.m_enableDoxygen = true; injection.m_leadingAsterisks = false; @@ -356,7 +356,7 @@ void DoxygenTest::verifyCleanState() const /// The '|' in the input denotes the cursor position. void DoxygenTest::runTest(const QByteArray &original, const QByteArray &expected, - CppTools::CommentsSettings *settings, + TextEditor::CommentsSettings *settings, const TestDocuments &includedHeaderDocuments) { // Write files to disk @@ -381,7 +381,7 @@ void DoxygenTest::runTest(const QByteArray &original, if (settings) { auto *cts = CppTools::CppToolsSettings::instance(); - oldSettings.reset(new CppTools::CommentsSettings(cts->commentsSettings())); + oldSettings.reset(new TextEditor::CommentsSettings(cts->commentsSettings())); cts->setCommentsSettings(*settings); } |