Plasma
Go to the documentation of this file.
20 #ifndef PLASMA_QUERYMATCH_H
21 #define PLASMA_QUERYMATCH_H
23 #include <QtCore/QList>
24 #include <QtCore/QSharedDataPointer>
39 class QueryMatchPrivate;
57 InformationalMatch = 50,
86 bool operator==(
const QueryMatch &other)
const;
87 bool operator!=(
const QueryMatch &other)
const;
100 bool isValid()
const;
105 void setType(Type
type);
118 void setRelevance(qreal relevance);
126 qreal relevance()
const;
146 void setData(
const QVariant &data);
151 QVariant data()
const;
162 void setId(
const QString &
id);
180 void setText(
const QString &text);
185 QString text()
const;
193 void setSubtext(
const QString &text);
198 QString subtext()
const;
205 void setIcon(
const QIcon &icon);
217 void setEnabled(
bool enable);
222 bool isEnabled()
const;
227 QAction* selectedAction()
const;
232 void setSelectedAction(QAction *action);
238 bool hasConfigurationInterface()
const;
248 void createConfigurationInterface(
QWidget *parent);
251 QSharedDataPointer<QueryMatchPrivate> d;
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Sat May 18 2013 11:37:52 by
doxygen 1.8.3.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.