Kate
snippetrepository.h
Go to the documentation of this file.
virtual QVariant data(int role=Qt::UserRole+1) const
Definition: snippetrepository.cpp:349
virtual void setData(const QVariant &value, int role=Qt::UserRole+1)
Definition: snippetrepository.cpp:369
void setCompletionNamespace(const QString &completionNamespace)
Sets the code completion namespace for this repository.
Definition: snippetrepository.cpp:132
static SnippetRepository * createRepoFromName(const QString &name)
Creates a snippet repository for the given name and adds it to the SnippetStore.
Definition: snippetrepository.cpp:73
const char * name(StandardAction id)
QString license() const
The license for the snippets contained in this repository.
Definition: snippetrepository.cpp:117
void setFileTypes(const QStringList &filetypes)
Sets the valid filetypes for the snippets contained in this repository.
Definition: snippetrepository.cpp:108
QString authors() const
The author(s) of the snippets contained in this repository.
Definition: snippetrepository.cpp:93
QString completionNamespace() const
The namespace associated with this repository.
Definition: snippetrepository.cpp:127
QString script() const
The QtScript(s) associated with this repository.
Definition: snippetrepository.cpp:137
Each object of this type represents a repository of snippets.
Definition: snippetrepository.h:52
void setAuthors(const QString &authors)
Sets the author(s) of the snippets contained in this repository.
Definition: snippetrepository.cpp:98
SnippetRepository(const QString &file)
Creates a new SnippetRepository.
Definition: snippetrepository.cpp:52
void setScript(const QString &script)
Sets the QtScript(s) associated with this repository.
Definition: snippetrepository.cpp:147
const QString & file() const
The path to this repository's file.
Definition: snippetrepository.cpp:88
KTextEditor::TemplateScript * registeredScript() const
The token identifying the script in this repository.
Definition: snippetrepository.cpp:142
QStringList fileTypes() const
The valid filetypes for the snippets contained in this repository.
Definition: snippetrepository.cpp:103
void setLicense(const QString &license)
Sets the license for the snippets contained in this repository.
Definition: snippetrepository.cpp:122
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.