00001 /*************************************************************************** 00002 importinterface.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 IMPORTINTERFACE_H 00019 #define IMPORTINTERFACE_H 00020 00021 #ifdef HAVE_CONFIG_H 00022 #include <config.h> 00023 #endif 00024 00025 // ---------------------------------------------------------------------------- 00026 // QT Includes 00027 00028 #include <qobject.h> 00029 #include <qstring.h> 00030 00031 // ---------------------------------------------------------------------------- 00032 // KDE Includes 00033 00034 #include <kfile.h> 00035 #include <kurl.h> 00036 class KPopupMenu; 00037 00038 // ---------------------------------------------------------------------------- 00039 // Project Includes 00040 00041 #include <kmymoney/export.h> 00042 00043 namespace KMyMoneyPlugin { 00044 00049 class KMYMONEY_EXPORT ImportInterface : public QObject 00050 { 00051 Q_OBJECT 00052 00053 public: 00054 ImportInterface(QObject* parent, const char* name = 0); 00055 ~ImportInterface() {} 00056 00057 virtual KURL selectFile(const QString& title, const QString& path, const QString& mask, KFile::Mode mode) const = 0; 00058 00059 signals: 00060 }; 00061 00062 }; // namespace 00063 #endif