Kate
editrepository.cpp
Go to the documentation of this file.
54 connect(repoFileTypesList->selectionModel(), SIGNAL(selectionChanged(QItemSelection,QItemSelection)),
virtual QStringList highlightingModes() const =0
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 KTextEditor::Editor * editor(const QString &postfix=QString(), bool fallBackToKatePart=true)
static SnippetRepository * createRepoFromName(const QString &name)
Creates a snippet repository for the given name and adds it to the SnippetStore.
Definition: snippetrepository.cpp:73
virtual Document * createDocument(QObject *parent)=0
QVariant property(UserProperty which) const
virtual bool setText(const QString &text)=0
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
Each object of this type represents a repository of snippets.
Definition: snippetrepository.h:52
QStringList types(Mode mode=Writing)
void setAuthors(const QString &authors)
Sets the author(s) of the snippets contained in this repository.
Definition: snippetrepository.cpp:98
EditRepository(SnippetRepository *repo, QWidget *parent=0)
repo set to 0 when you want to create a new repository.
Definition: editrepository.cpp:37
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:51 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:51 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.