Warning, file /office/calligra/libs/widgets/KoTagFilterWidget.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001 /* 0002 * This file is part of the KDE project 0003 * Copyright (c) 2002 Patrick Julien <freak@codepimps.org> 0004 * Copyright (c) 2007 Jan Hambrecht <jaham@gmx.net> 0005 * Copyright (c) 2007 Sven Langkamp <sven.langkamp@gmail.com> 0006 * Copyright (C) 2011 Srikanth Tiyyagura <srikanth.tulasiram@gmail.com> 0007 * Copyright (c) 2011 José Luis Vergara <pentalis@gmail.com> 0008 * Copyright (c) 2013 Sascha Suelzer <s.suelzer@gmail.com> 0009 * 0010 * This library is free software; you can redistribute it and/or 0011 * modify it under the terms of the GNU Library General Public 0012 * License as published by the Free Software Foundation; either 0013 * version 2 of the License, or (at your option) any later version. 0014 * 0015 * This library is distributed in the hope that it will be useful, 0016 * but WITHOUT ANY WARRANTY; without even the implied warranty of 0017 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 0018 * Library General Public License for more details. 0019 * 0020 * You should have received a copy of the GNU Library General Public License 0021 * along with this library; see the file COPYING.LIB. If not, write to 0022 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 0023 * Boston, MA 02110-1301, USA. 0024 */ 0025 0026 #ifndef KOTAGFILTERWIDGET_H 0027 #define KOTAGFILTERWIDGET_H 0028 0029 #include <QWidget> 0030 0031 class KoTagFilterWidget : public QWidget 0032 { 0033 Q_OBJECT 0034 0035 public: 0036 explicit KoTagFilterWidget(QWidget* parent); 0037 ~KoTagFilterWidget() override; 0038 void allowSave(bool allow); 0039 void clear(); 0040 Q_SIGNALS: 0041 void filterTextChanged(const QString &filterText); 0042 void saveButtonClicked(); 0043 private Q_SLOTS: 0044 void onTextChanged(const QString &lineEditText); 0045 void onSaveButtonClicked(); 0046 private: 0047 class Private; 0048 Private* const d; 0049 }; 0050 0051 #endif // KOTAGFILTERWIDGET_H