Baloo Widgets
7 #ifndef WIDGETFACTORY_H
8 #define WIDGETFACTORY_H
10 #include "filemetadatawidget.h"
13 #include <QStringList>
26 class WidgetFactory :
public QObject
30 explicit WidgetFactory(
QObject *parent =
nullptr);
31 ~WidgetFactory()
override;
35 void setReadOnly(
bool value);
37 void setDateFormat(
const DateFormats format);
38 DateFormats dateFormat()
const;
43 void urlActivated(
const QUrl &url);
44 void dataChangeStarted();
45 void dataChangeFinished();
49 void slotCommentChanged(
const QString &comment);
50 void slotRatingChanged(
int rating);
52 void slotTagClicked(
const QString &tag);
53 void slotLinkActivated(
const QString &url);
61 TagWidget *m_tagWidget =
nullptr;
63 KCommentWidget *m_commentWidget =
nullptr;
67 bool m_readOnly =
false;
72 #endif // WIDGETFACTORY_H
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Fri Aug 19 2022 04:12:56 by
doxygen 1.8.17 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.