00001 /*************************************************************************** 00002 kcsvprogressdlg.h - description 00003 ------------------- 00004 begin : Sun Jul 29 2001 00005 copyright : (C) 2000-2001 by Michael Edwardes 00006 email : mte@users.sourceforge.net 00007 Javier Campos Morales <javi_c@users.sourceforge.net> 00008 Felix Rodriguez <frodriguez@users.sourceforge.net> 00009 John C <thetacoturtle@users.sourceforge.net> 00010 ***************************************************************************/ 00011 00012 /*************************************************************************** 00013 * * 00014 * This program is free software; you can redistribute it and/or modify * 00015 * it under the terms of the GNU General Public License as published by * 00016 * the Free Software Foundation; either version 2 of the License, or * 00017 * (at your option) any later version. * 00018 * * 00019 ***************************************************************************/ 00020 #ifndef KCSVPROGRESSDLG_H 00021 #define KCSVPROGRESSDLG_H 00022 00023 // ---------------------------------------------------------------------------- 00024 // QT Includes 00025 #include <qwidget.h> 00026 00027 // ---------------------------------------------------------------------------- 00028 // KDE Includes 00029 00030 // ---------------------------------------------------------------------------- 00031 // Project Includes 00032 #include "../mymoney/mymoneyaccount.h" 00033 #include "../dialogs/kcsvprogressdlgdecl.h" 00034 00045 class KCsvProgressDlg : public KCsvProgressDlgDecl { 00046 Q_OBJECT 00047 private: 00048 MyMoneyAccount *m_mymoneyaccount; 00049 int m_nType; 00050 00051 protected: 00052 void performExport(void); 00053 void performImport(void); 00054 void readConfig(void); 00055 void writeConfig(void); 00056 00057 protected slots: 00058 void slotBrowseClicked(); 00059 void slotRunClicked(); 00060 void slotFileTextChanged(const QString& text); 00061 void slotSetProgress(int progress); 00062 00063 public: 00064 KCsvProgressDlg(int type, MyMoneyAccount *account, QWidget *parent=0, const char *name=0); 00065 ~KCsvProgressDlg(); 00066 }; 00067 00068 #endif
1.4.1