Kate
snippetfilterproxymodel.cpp
Go to the documentation of this file.
45 Snippet* snippet = dynamic_cast<Snippet*>( SnippetStore::self()->itemFromIndex(mapToSource(index)) );
47 QString ret = snippet->prefix() + ' ' + snippet->text() + snippet->arguments() + ' ' + snippet->postfix();
60 bool SnippetFilterProxyModel::filterAcceptsRow(int sourceRow, const QModelIndex & sourceParent) const
85 void SnippetFilterProxyModel::dataChanged(const QModelIndex& /*topLeft*/, const QModelIndex& /*bottomRight*/)
~SnippetFilterProxyModel()
Definition: snippetfilterproxymodel.cpp:37
SnippetFilterProxyModel(QObject *parent)
Definition: snippetfilterproxymodel.cpp:27
void changeFilter(const QString &filter)
Definition: snippetfilterproxymodel.cpp:54
virtual QVariant data(const QModelIndex &index, int role=Qt::DisplayRole) const
Definition: snippetfilterproxymodel.cpp:41
KAction * clear(const QObject *recvr, const char *slot, QObject *parent)
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.