Commit Graph

7 Commits

Author SHA1 Message Date
Leandro Melo
f1021f2a18 Snippets: Replace forward declaration by include
Avoid issues with QXmlStream* classes on Mac.

Reviewed-by: con
2010-12-09 11:28:47 +01:00
Leandro Melo
fabf76d202 Snippets: Remove the snippets manager
Let the collection itself be the singleton.
2010-12-08 17:22:15 +01:00
Leandro Melo
898bc97cce Snippets: Make it flexible for adding builtin snippets
Instead of in one XML embedded as a resource, now builtin
snippets can be specified on any XML distributed under share.
2010-12-08 17:22:14 +01:00
Leandro Melo
1175705bfc Snippets: Make it easier for plugins to add snippets groups
Groups are no longer enum values but identified from snippet providers.
2010-12-08 17:22:13 +01:00
Leandro Melo
b87861f9b4 Snippets: Add more use-cases
- Restored removed built-in snippets.
- Revert a built-in snippet.
- Reset the snippets collection.
2010-12-08 17:22:11 +01:00
Leandro Melo
22c9b652b0 Snippets: Move code from the manager to the collection.
Reloading and synchronizing are now directly accessible from
the collection interface.
2010-12-08 17:22:11 +01:00
Leandro Melo
7528c6d617 Snippets: Feature enhancement start...
Provide an interface so users can create/edit/remove snippets.
2010-12-08 17:22:07 +01:00