summaryrefslogtreecommitdiff
path: root/src/plugins/texteditor
diff options
context:
space:
mode:
authorOrgad Shaneh <orgads@gmail.com>2012-06-04 21:39:57 +0300
committerJoerg Bornemann <joerg.bornemann@nokia.com>2012-06-05 08:49:57 +0200
commit16bca8b06c4f432fbf88e35edbc04c31ff52c864 (patch)
tree297795224ef757302723bf70df64c460748a549a /src/plugins/texteditor
parent90eec9f354ddd6165fd8444a3dacc6434c8de332 (diff)
downloadqt-creator-16bca8b06c4f432fbf88e35edbc04c31ff52c864.tar.gz
TextEditor: Cleanup qbs
Sort files, separate directories to groups Change-Id: If6fca18b46802f9b506301179932a7d6025aea6b Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
Diffstat (limited to 'src/plugins/texteditor')
-rw-r--r--src/plugins/texteditor/texteditor.qbs267
1 files changed, 146 insertions, 121 deletions
diff --git a/src/plugins/texteditor/texteditor.qbs b/src/plugins/texteditor/texteditor.qbs
index a6fb1ba455..9a83b075c5 100644
--- a/src/plugins/texteditor/texteditor.qbs
+++ b/src/plugins/texteditor/texteditor.qbs
@@ -6,10 +6,10 @@ QtcPlugin {
name: "TextEditor"
Depends { name: "qt"; submodules: ['widgets', 'xml', 'network', 'script'] }
+ Depends { name: "cpp" }
+ Depends { name: "Core" }
Depends { name: "Find" }
Depends { name: "Locator" }
- Depends { name: "Core" }
- Depends { name: "cpp" }
cpp.includePaths: [
".",
@@ -24,9 +24,6 @@ QtcPlugin {
files: [
"TextEditor.mimetypes.xml",
- "colorschemeedit.ui",
- "fontsettingspage.ui",
- "texteditor.qrc",
"autocompleter.cpp",
"autocompleter.h",
"basefilefind.cpp",
@@ -51,19 +48,22 @@ QtcPlugin {
"behaviorsettingswidget.cpp",
"behaviorsettingswidget.h",
"behaviorsettingswidget.ui",
+ "circularclipboard.cpp",
"circularclipboard.h",
"codecselector.cpp",
"codecselector.h",
"codestyleeditor.cpp",
+ "codestyleeditor.h",
"codestylepool.cpp",
"codestylepool.h",
"codestyleselectorwidget.cpp",
"codestyleselectorwidget.h",
"codestyleselectorwidget.ui",
"colorscheme.cpp",
- "colorscheme.h",
"colorschemeedit.cpp",
"colorschemeedit.h",
+ "colorschemeedit.ui",
+ "colorscheme.h",
"completionsettings.cpp",
"completionsettings.h",
"convenience.cpp",
@@ -85,11 +85,13 @@ QtcPlugin {
"fontsettings.h",
"fontsettingspage.cpp",
"fontsettingspage.h",
+ "fontsettingspage.ui",
"helpitem.cpp",
"helpitem.h",
"icodestylepreferences.cpp",
"icodestylepreferencesfactory.cpp",
"icodestylepreferencesfactory.h",
+ "icodestylepreferences.h",
"indenter.cpp",
"indenter.h",
"ioutlinewidget.h",
@@ -104,9 +106,9 @@ QtcPlugin {
"outlinefactory.cpp",
"outlinefactory.h",
"plaintexteditor.cpp",
- "plaintexteditor.h",
"plaintexteditorfactory.cpp",
"plaintexteditorfactory.h",
+ "plaintexteditor.h",
"quickfix.cpp",
"quickfix.h",
"refactoringchanges.cpp",
@@ -118,6 +120,7 @@ QtcPlugin {
"simplecodestylepreferences.cpp",
"simplecodestylepreferences.h",
"simplecodestylepreferenceswidget.cpp",
+ "simplecodestylepreferenceswidget.h",
"storagesettings.cpp",
"storagesettings.h",
"syntaxhighlighter.cpp",
@@ -127,137 +130,159 @@ QtcPlugin {
"tabsettingswidget.cpp",
"tabsettingswidget.h",
"tabsettingswidget.ui",
- "texteditor_global.h",
"texteditoractionhandler.cpp",
"texteditoractionhandler.h",
"texteditorconstants.cpp",
"texteditorconstants.h",
+ "texteditor_global.h",
"texteditoroptionspage.cpp",
"texteditoroptionspage.h",
"texteditoroverlay.cpp",
"texteditoroverlay.h",
"texteditorplugin.cpp",
"texteditorplugin.h",
+ "texteditor.qrc",
"texteditorsettings.cpp",
"texteditorsettings.h",
"textfilewizard.cpp",
"textfilewizard.h",
"typingsettings.cpp",
"typingsettings.h",
- "circularclipboard.cpp",
- "codestyleeditor.h",
- "icodestylepreferences.h",
- "simplecodestylepreferenceswidget.h",
- "codeassist/assistenums.h",
- "codeassist/basicproposalitem.cpp",
- "codeassist/basicproposalitem.h",
- "codeassist/basicproposalitemlistmodel.cpp",
- "codeassist/basicproposalitemlistmodel.h",
- "codeassist/codeassistant.cpp",
- "codeassist/codeassistant.h",
- "codeassist/completionassistprovider.cpp",
- "codeassist/completionassistprovider.h",
- "codeassist/defaultassistinterface.cpp",
- "codeassist/defaultassistinterface.h",
- "codeassist/functionhintproposal.cpp",
- "codeassist/functionhintproposal.h",
- "codeassist/functionhintproposalwidget.cpp",
- "codeassist/functionhintproposalwidget.h",
- "codeassist/genericproposal.cpp",
- "codeassist/genericproposal.h",
- "codeassist/genericproposalwidget.cpp",
- "codeassist/genericproposalwidget.h",
- "codeassist/iassistinterface.cpp",
- "codeassist/iassistinterface.h",
- "codeassist/iassistprocessor.cpp",
- "codeassist/iassistprocessor.h",
- "codeassist/iassistproposal.cpp",
- "codeassist/iassistproposal.h",
- "codeassist/iassistproposalitem.cpp",
- "codeassist/iassistproposalitem.h",
- "codeassist/iassistproposalmodel.cpp",
- "codeassist/iassistproposalmodel.h",
- "codeassist/iassistproposalwidget.cpp",
- "codeassist/iassistproposalwidget.h",
- "codeassist/iassistprovider.cpp",
- "codeassist/iassistprovider.h",
- "codeassist/ifunctionhintproposalmodel.cpp",
- "codeassist/ifunctionhintproposalmodel.h",
- "codeassist/igenericproposalmodel.cpp",
- "codeassist/igenericproposalmodel.h",
- "codeassist/quickfixassistprocessor.cpp",
- "codeassist/quickfixassistprocessor.h",
- "codeassist/quickfixassistprovider.cpp",
- "codeassist/quickfixassistprovider.h",
- "codeassist/runner.cpp",
- "codeassist/runner.h",
- "generichighlighter/context.cpp",
- "generichighlighter/context.h",
- "generichighlighter/definitiondownloader.cpp",
- "generichighlighter/definitiondownloader.h",
- "generichighlighter/dynamicrule.cpp",
- "generichighlighter/dynamicrule.h",
- "generichighlighter/highlightdefinition.cpp",
- "generichighlighter/highlightdefinition.h",
- "generichighlighter/highlightdefinitionhandler.cpp",
- "generichighlighter/highlightdefinitionhandler.h",
- "generichighlighter/highlightdefinitionmetadata.cpp",
- "generichighlighter/highlightdefinitionmetadata.h",
- "generichighlighter/highlighter.cpp",
- "generichighlighter/highlighter.h",
- "generichighlighter/highlighterexception.h",
- "generichighlighter/highlightersettings.cpp",
- "generichighlighter/highlightersettings.h",
- "generichighlighter/highlightersettingspage.cpp",
- "generichighlighter/highlightersettingspage.h",
- "generichighlighter/highlightersettingspage.ui",
- "generichighlighter/includerulesinstruction.cpp",
- "generichighlighter/includerulesinstruction.h",
- "generichighlighter/itemdata.cpp",
- "generichighlighter/itemdata.h",
- "generichighlighter/keywordlist.cpp",
- "generichighlighter/keywordlist.h",
- "generichighlighter/managedefinitionsdialog.cpp",
- "generichighlighter/managedefinitionsdialog.h",
- "generichighlighter/managedefinitionsdialog.ui",
- "generichighlighter/manager.cpp",
- "generichighlighter/manager.h",
- "generichighlighter/progressdata.cpp",
- "generichighlighter/progressdata.h",
- "generichighlighter/reuse.h",
- "generichighlighter/rule.cpp",
- "generichighlighter/rule.h",
- "generichighlighter/specificrules.cpp",
- "generichighlighter/specificrules.h",
- "snippets/isnippetprovider.cpp",
- "snippets/isnippetprovider.h",
- "snippets/plaintextsnippetprovider.cpp",
- "snippets/plaintextsnippetprovider.h",
- "snippets/reuse.h",
- "snippets/snippet.cpp",
- "snippets/snippet.h",
- "snippets/snippetassistcollector.cpp",
- "snippets/snippetassistcollector.h",
- "snippets/snippeteditor.cpp",
- "snippets/snippeteditor.h",
- "snippets/snippetscollection.cpp",
- "snippets/snippetscollection.h",
- "snippets/snippetssettings.cpp",
- "snippets/snippetssettings.h",
- "snippets/snippetssettingspage.cpp",
- "snippets/snippetssettingspage.h",
- "snippets/snippetssettingspage.ui",
- "tooltip/effects.h",
- "tooltip/reuse.h",
- "tooltip/tipcontents.cpp",
- "tooltip/tipcontents.h",
- "tooltip/tipfactory.cpp",
- "tooltip/tipfactory.h",
- "tooltip/tips.cpp",
- "tooltip/tips.h",
- "tooltip/tooltip.cpp",
- "tooltip/tooltip.h"
]
+
+ Group {
+ prefix: "codeassist/"
+ files: [
+ "assistenums.h",
+ "basicproposalitem.cpp",
+ "basicproposalitem.h",
+ "basicproposalitemlistmodel.cpp",
+ "basicproposalitemlistmodel.h",
+ "codeassistant.cpp",
+ "codeassistant.h",
+ "completionassistprovider.cpp",
+ "completionassistprovider.h",
+ "defaultassistinterface.cpp",
+ "defaultassistinterface.h",
+ "functionhintproposal.cpp",
+ "functionhintproposal.h",
+ "functionhintproposalwidget.cpp",
+ "functionhintproposalwidget.h",
+ "genericproposal.cpp",
+ "genericproposal.h",
+ "genericproposalwidget.cpp",
+ "genericproposalwidget.h",
+ "iassistinterface.cpp",
+ "iassistinterface.h",
+ "iassistprocessor.cpp",
+ "iassistprocessor.h",
+ "iassistproposal.cpp",
+ "iassistproposal.h",
+ "iassistproposalitem.cpp",
+ "iassistproposalitem.h",
+ "iassistproposalmodel.cpp",
+ "iassistproposalmodel.h",
+ "iassistproposalwidget.cpp",
+ "iassistproposalwidget.h",
+ "iassistprovider.cpp",
+ "iassistprovider.h",
+ "ifunctionhintproposalmodel.cpp",
+ "ifunctionhintproposalmodel.h",
+ "igenericproposalmodel.cpp",
+ "igenericproposalmodel.h",
+ "quickfixassistprocessor.cpp",
+ "quickfixassistprocessor.h",
+ "quickfixassistprovider.cpp",
+ "quickfixassistprovider.h",
+ "runner.cpp",
+ "runner.h",
+ ]
+ }
+
+ Group {
+ prefix: "generichighlighter/"
+ files: [
+ "context.cpp",
+ "context.h",
+ "definitiondownloader.cpp",
+ "definitiondownloader.h",
+ "dynamicrule.cpp",
+ "dynamicrule.h",
+ "highlightdefinition.cpp",
+ "highlightdefinition.h",
+ "highlightdefinitionhandler.cpp",
+ "highlightdefinitionhandler.h",
+ "highlightdefinitionmetadata.cpp",
+ "highlightdefinitionmetadata.h",
+ "highlighter.cpp",
+ "highlighterexception.h",
+ "highlighter.h",
+ "highlightersettings.cpp",
+ "highlightersettings.h",
+ "highlightersettingspage.cpp",
+ "highlightersettingspage.h",
+ "highlightersettingspage.ui",
+ "includerulesinstruction.cpp",
+ "includerulesinstruction.h",
+ "itemdata.cpp",
+ "itemdata.h",
+ "keywordlist.cpp",
+ "keywordlist.h",
+ "managedefinitionsdialog.cpp",
+ "managedefinitionsdialog.h",
+ "managedefinitionsdialog.ui",
+ "manager.cpp",
+ "manager.h",
+ "progressdata.cpp",
+ "progressdata.h",
+ "reuse.h",
+ "rule.cpp",
+ "rule.h",
+ "specificrules.cpp",
+ "specificrules.h",
+ ]
+ }
+
+ Group {
+ prefix: "snippets/"
+ files: [
+ "isnippetprovider.cpp",
+ "isnippetprovider.h",
+ "plaintextsnippetprovider.cpp",
+ "plaintextsnippetprovider.h",
+ "reuse.h",
+ "snippetassistcollector.cpp",
+ "snippetassistcollector.h",
+ "snippet.cpp",
+ "snippeteditor.cpp",
+ "snippeteditor.h",
+ "snippet.h",
+ "snippetscollection.cpp",
+ "snippetscollection.h",
+ "snippetssettings.cpp",
+ "snippetssettings.h",
+ "snippetssettingspage.cpp",
+ "snippetssettingspage.h",
+ "snippetssettingspage.ui",
+ ]
+ }
+
+ Group {
+ prefix: "tooltip/"
+ files: [
+ "effects.h",
+ "reuse.h",
+ "tipcontents.cpp",
+ "tipcontents.h",
+ "tipfactory.cpp",
+ "tipfactory.h",
+ "tips.cpp",
+ "tips.h",
+ "tooltip.cpp",
+ "tooltip.h"
+ ]
+ }
+
ProductModule {
Depends { name: "Find" }
Depends { name: "Locator" }