File indexing completed on 2024-05-19 05:07:44

0001 /*
0002     SPDX-FileCopyrightText: 2008 Thomas Baumgart <ipwizard@users.sourceforge.net>
0003     SPDX-FileCopyrightText: 2017 Łukasz Wojniłowicz <lukasz.wojnilowicz@gmail.com>
0004     SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #ifndef KMMIMPORTINTERFACE_H
0008 #define KMMIMPORTINTERFACE_H
0009 
0010 // ----------------------------------------------------------------------------
0011 // QT Includes
0012 
0013 #include <QUrl>
0014 
0015 // ----------------------------------------------------------------------------
0016 // KDE Includes
0017 
0018 // ----------------------------------------------------------------------------
0019 // Project Includes
0020 
0021 #include "importinterface.h"
0022 
0023 namespace KMyMoneyPlugin {
0024 
0025 /**
0026  * This class represents the implementation of the
0027  * ImportInterface.
0028  */
0029 class KMMImportInterface : public ImportInterface
0030 {
0031     Q_OBJECT
0032 
0033 public:
0034     explicit KMMImportInterface(QObject* parent, const char* name = 0);
0035     ~KMMImportInterface() override
0036     {
0037     }
0038 
0039     QUrl selectFile(const QString& title, const QString& path, const QString& mask, QFileDialog::FileMode mode, QWidget* widget) const final override;
0040 };
0041 
0042 } // namespace
0043 #endif