kofxdirectconnectdlg.h

Go to the documentation of this file.
00001 /***************************************************************************
00002                          kofxdirectconnectdlg.h
00003                              -------------------
00004     begin                : Sat Nov 13 2004
00005     copyright            : (C) 2002 by Ace Jones
00006     email                : acejones@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 KOFXDIRECTCONNECTDLG_H
00019 #define KOFXDIRECTCONNECTDLG_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 class KTempFile;
00032 class KOfxDirectConnectDlgPrivate;
00033 
00034 namespace KIO
00035 {
00036 class Job;
00037 class TransferJob;
00038 }
00039 
00040 // ----------------------------------------------------------------------------
00041 // Project Includes
00042 
00043 #include "mymoneyofxconnector.h"
00044 #include "kofxdirectconnectdlgdecl.h"
00045 
00049 class KOfxDirectConnectDlg : public KOfxDirectConnectDlgDecl
00050 {
00051 Q_OBJECT
00052 public:
00053   KOfxDirectConnectDlg(const MyMoneyAccount&, QWidget *parent = 0, const char *name = 0);
00054   ~KOfxDirectConnectDlg();
00055 
00056   void init(void);
00057 
00058 signals:
00063   void statementReady(const QString& fname);
00064 
00065 protected slots:
00066   void slotOfxFinished(KIO::Job*);
00067   void slotOfxData(KIO::Job*,const QByteArray&);
00068   void slotOfxConnected(KIO::Job*);
00069   virtual void reject(void);
00070 
00071 protected:
00072   void setStatus(const QString& _status);
00073   void setDetails(const QString& _details);
00074 
00075   KTempFile* m_tmpfile;
00076   MyMoneyOfxConnector m_connector;
00077   KIO::TransferJob* m_job;
00078 
00079 private:
00081   class Private;
00083   Private* const d;
00084 };
00085 
00086 #endif // KOFXDIRECTCONNECTDLG_H

Generated on Wed Jan 26 13:03:17 2011 for KMyMoney by  doxygen 1.5.6