Warning, file /libraries/baloo-widgets/src/tagwidget_p.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001 /* 0002 SPDX-FileCopyrightText: 2006-2010 Sebastian Trueg <trueg@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #ifndef _BALOO_TAG_WIDGET_P_H_ 0008 #define _BALOO_TAG_WIDGET_P_H_ 0009 0010 #include "tagwidget.h" 0011 0012 #include <QMap> 0013 0014 class QLabel; 0015 class KBlockLayout; 0016 class KEditTagsDialog; 0017 0018 namespace Baloo 0019 { 0020 class TagCheckBox; 0021 0022 class TagWidgetPrivate 0023 { 0024 public: 0025 void init(TagWidget *parent); 0026 void rebuild(); 0027 void buildTagHash(const QStringList &tags); 0028 0029 /// lookup (and if necessary create) checkbox for tag 0030 TagCheckBox *getTagCheckBox(const QString &tag); 0031 0032 /// check the corresponding checkboxes and even 0033 /// add missing checkboxes 0034 void selectTags(const QStringList &tags); 0035 0036 bool m_readOnly; 0037 0038 QMap<QString, TagCheckBox *> m_checkBoxHash; 0039 QLabel *m_showAllLinkLabel; 0040 KBlockLayout *m_flowLayout; 0041 TagWidget *q; 0042 0043 KEditTagsDialog *m_editTagsDialog; 0044 }; 0045 } 0046 0047 #endif