Kate
editrepository.cpp
Go to the documentation of this file.
54 connect(repoFileTypesList->selectionModel(), SIGNAL(selectionChanged(QItemSelection,QItemSelection)),
QScriptValue i18n(QScriptContext *context, QScriptEngine *engine)
i18n("text", arguments [optional])
Definition: katescripthelpers.cpp:186
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
QString join(const QString &separator) const
QString license() const
The license for the snippets contained in this repository.
Definition: snippetrepository.cpp:117
QString text() const
void setFileTypes(const QStringList &filetypes)
Sets the valid filetypes for the snippets contained in this repository.
Definition: snippetrepository.cpp:108
bool isEmpty() const
bool isEmpty() const
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
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
void setText(const QString &text)
EditRepository(SnippetRepository *repo, QWidget *parent=0)
repo set to 0 when you want to create a new repository.
Definition: editrepository.cpp:37
void setSelected(bool select)
QString text() const
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-2020 The KDE developers.
Generated on Sat May 9 2020 03:56:57 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sat May 9 2020 03:56:57 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.