Nepomuk
Go to the documentation of this file.
22 #ifndef _NEPOMUK_QUERY_FACET_MODEL_H_
23 #define _NEPOMUK_QUERY_FACET_MODEL_H_
29 #include <QtCore/QAbstractItemModel>
30 #include <QtCore/QList>
99 int columnCount(
const QModelIndex& parent = QModelIndex() )
const;
104 QVariant data(
const QModelIndex& index,
int role = Qt::DisplayRole )
const;
109 bool setData(
const QModelIndex& index,
const QVariant& value,
int role );
114 bool hasChildren(
const QModelIndex &parent)
const;
119 QModelIndex parent(
const QModelIndex& index )
const;
124 int rowCount(
const QModelIndex& parent = QModelIndex() )
const;
129 QModelIndex index(
int row,
int column,
const QModelIndex& parent = QModelIndex() )
const;
134 Qt::ItemFlags flags(
const QModelIndex& index )
const;
139 QList<Facet*> facets()
const;
198 void setFacets(
const QList<Nepomuk::Utils::Facet*>& facets );
204 void clearSelection();
222 Q_PRIVATE_SLOT( d,
void _k_queryTermChanged() )
223 Q_PRIVATE_SLOT( d,
void _k_facetSelectionChanged( Nepomuk::Utils::
Facet* ) )
224 Q_PRIVATE_SLOT( d,
void _k_facetLayoutChanged( Nepomuk::Utils::
Facet* ) )
229 Q_DECLARE_METATYPE( Nepomuk::Utils::Facet* )
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Sat Jun 1 2013 12:05:58 by
doxygen 1.8.1.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.