Warning, file /office/calligra/libs/main/KoFilterManager_p.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001 /* This file is part of the KDE project 0002 Copyright (C) 2003 Clarence Dang <dang@kde.org> 0003 Copyright (C) 2009 Thomas Zander <zander@kde.org> 0004 0005 This library is free software; you can redistribute it and/or 0006 modify it under the terms of the GNU Library General Public 0007 License as published by the Free Software Foundation; either 0008 version 2 of the License, or (at your option) any later version. 0009 0010 This library is distributed in the hope that it will be useful, 0011 but WITHOUT ANY WARRANTY; without even the implied warranty of 0012 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 0013 Library General Public License for more details. 0014 0015 You should have received a copy of the GNU Library General Public License 0016 along with this library; see the file COPYING.LIB. If not, write to 0017 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 0018 Boston, MA 02110-1301, USA. 0019 */ 0020 0021 #ifndef __koFilterManager_p_h__ 0022 #define __koFilterManager_p_h__ 0023 0024 #include "KoFilterManager.h" 0025 0026 #include <QUrl> 0027 #include <KoDialog.h> 0028 #include <KoProgressUpdater.h> 0029 0030 #include <QString> 0031 #include <QStringList> 0032 #include <QPointer> 0033 0034 class QListWidget; 0035 0036 class Q_DECL_HIDDEN KoFilterManager::Private 0037 { 0038 public: 0039 bool batch; 0040 QByteArray importMimeType; 0041 QPointer<KoProgressUpdater> progressUpdater; 0042 0043 Private(KoProgressUpdater *progressUpdater_ = 0) 0044 : progressUpdater(progressUpdater_) 0045 { 0046 } 0047 0048 }; 0049 0050 class KoFilterChooser : public KoDialog 0051 { 0052 Q_OBJECT 0053 0054 public: 0055 KoFilterChooser(QWidget *parent, const QStringList &mimeTypes, 0056 const QString &nativeFormat = QString(), const QUrl &url = QUrl()); 0057 ~KoFilterChooser() override; 0058 0059 QString filterSelected(); 0060 0061 private: 0062 QStringList m_mimeTypes; 0063 QListWidget *m_filterList; 0064 }; 0065 0066 #endif