Mailcommon
snippetsmanager.h
61 explicit SnippetsManager(KActionCollection *actionCollection, QObject *parent = nullptr, QWidget *widget = nullptr);
QString selectedName() const
Returns the name of the currently selected snippet or snippet group.
Definition snippetsmanager.cpp:675
QAction * editSnippetAction() const
Returns the action that handles editing the currently selected snippet.
Definition snippetsmanager.cpp:636
bool snippetGroupSelected() const
Returns whether the currently selected item is a snippet group.
Definition snippetsmanager.cpp:666
QAction * deleteSnippetAction() const
Returns the action that handles deleting the currently selected snippet.
Definition snippetsmanager.cpp:641
QAction * addSnippetAction() const
Returns the action that handles adding new snippets.
Definition snippetsmanager.cpp:631
QAbstractItemModel * model() const
Returns the model that represents the snippets.
Definition snippetsmanager.cpp:621
QAction * addSnippetGroupAction() const
Returns the action that handles adding new snippet groups.
Definition snippetsmanager.cpp:646
QAction * insertSnippetAction() const
Returns the action that handles inserting a snippet into the editor.
Definition snippetsmanager.cpp:661
QAction * deleteSnippetGroupAction() const
Returns the action that handles deleting the currently selected snippet group.
Definition snippetsmanager.cpp:656
QItemSelectionModel * selectionModel() const
Returns the selection model that is used by the manager to select the snippet or snippet group to wor...
Definition snippetsmanager.cpp:626
QAction * editSnippetGroupAction() const
Returns the action that handles editing the currently selected snippet group.
Definition snippetsmanager.cpp:651
SnippetsManager(KActionCollection *actionCollection, QObject *parent=nullptr, QWidget *widget=nullptr)
Creates a new snippets manager.
Definition snippetsmanager.cpp:536
QObject(QObject *parent)
Q_OBJECTQ_OBJECT
Q_SIGNALSQ_SIGNALS
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:56:35 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:56:35 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.