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,
85 bool operator==(
const QueryMatch &other)
const;
86 bool operator!=(
const QueryMatch &other)
const;
104 void setType(Type
type);
117 void setRelevance(qreal relevance);
125 qreal relevance()
const;
145 void setData(
const QVariant &data);
150 QVariant data()
const;
161 void setId(
const QString &
id);
179 void setText(
const QString &text);
184 QString text()
const;
192 void setSubtext(
const QString &text);
197 QString subtext()
const;
204 void setIcon(
const QIcon &icon);
216 void setEnabled(
bool enable);
221 bool isEnabled()
const;
226 QAction* selectedAction()
const;
231 void setSelectedAction(QAction *action);
237 bool hasConfigurationInterface()
const;
247 void createConfigurationInterface(
QWidget *parent);
250 QSharedDataPointer<QueryMatchPrivate> d;
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Thu Sep 25 2014 04:19:20 by
doxygen 1.8.3.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.