File indexing completed on 2024-05-12 16:42:54
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 /** 0027 * This class represents the implementation of the 0028 * ImportInterface. 0029 */ 0030 class KMMImportInterface : public ImportInterface 0031 { 0032 Q_OBJECT 0033 0034 public: 0035 explicit KMMImportInterface(QObject* parent, const char* name = 0); 0036 ~KMMImportInterface() override {} 0037 0038 QUrl selectFile(const QString& title, const QString& path, const QString& mask, QFileDialog::FileMode mode, QWidget *widget) const final override; 0039 }; 0040 0041 } // namespace 0042 #endif