00001 /*************************************************************************** 00002 kmmimportinterface.h 00003 ------------------- 00004 begin : Mon Apr 14 2008 00005 copyright : (C) 2008 Thomas Baumgart 00006 email : ipwizard@users.sourceforge.net 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 ***************************************************************************/ 00017 00018 #ifndef KMMIMPORTINTERFACE_H 00019 #define KMMIMPORTINTERFACE_H 00020 00021 #ifdef HAVE_CONFIG_H 00022 #include <config.h> 00023 #endif 00024 00025 // ---------------------------------------------------------------------------- 00026 // QT Includes 00027 00028 // ---------------------------------------------------------------------------- 00029 // KDE Includes 00030 00031 #include <kfile.h> 00032 #include <kurl.h> 00033 class KMyMoney2App; 00034 00035 // ---------------------------------------------------------------------------- 00036 // Project Includes 00037 00038 #include "../importinterface.h" 00039 00040 namespace KMyMoneyPlugin { 00041 00046 class KMMImportInterface : public ImportInterface { 00047 Q_OBJECT 00048 00049 public: 00050 KMMImportInterface(KMyMoney2App* app, QObject* parent, const char* name = 0); 00051 ~KMMImportInterface() {} 00052 00053 KURL selectFile(const QString& title, const QString& path, const QString& mask, KFile::Mode mode) const; 00054 00055 private: 00056 KMyMoney2App* m_app; 00057 }; 00058 00059 }; // namespace 00060 #endif