Kate
snippetstore.cpp
Go to the documentation of this file.
void unregisterScript(KTextEditor::TemplateScript *token)
Unregister script identified by token.
Definition: snippetstore.cpp:128
KSharedConfig::Ptr sessionConfig
property to tell the editor to use a given session config for session related configuration instead o...
Definition: kateglobal.h:96
KTextEditor::TemplateScript * registerScript(const QString &script)
Register script to make it available in snippets.
Definition: snippetstore.cpp:135
KStandardDirs * dirs()
KConfigGroup group(const QByteArray &group)
virtual void unregisterTemplateScript(TemplateScript *templateScript)=0
static void init(KateSnippetGlobal *plugin)
Initialize the SnippetStore.
Definition: snippetstore.cpp:61
SnippetRepository * repositoryForFile(const QString &file)
Returns the repository for the given file if there is any.
Definition: snippetstore.cpp:116
Each object of this type represents a repository of snippets.
Definition: snippetrepository.h:52
SnippetRepository(const QString &file)
Creates a new SnippetRepository.
Definition: snippetrepository.cpp:52
This is the main class of KDevelop's snippet plugin.
Definition: katesnippetglobal.h:39
virtual TemplateScript * registerTemplateScript(QObject *owner, const QString &script)=0
const QString & file() const
The path to this repository's file.
Definition: snippetrepository.cpp:88
virtual bool setData(const QModelIndex &index, const QVariant &value, int role=Qt::EditRole)
Definition: snippetstore.cpp:89
QStringList findAllResources(const char *type, const QString &filter=QString(), SearchOptions options=NoSearchOptions) const
QStringList list(const QString &fileClass)
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:31:54 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:31:54 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.