• Main Page
  • Related Pages
  • Modules
  • Namespaces
  • Data Structures
  • Files
  • File List
  • Globals

qbprocesswatcher.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  $RCSfile$
00003                              -------------------
00004     cvs         : $Id$
00005     begin       : Mon Mar 01 2004
00006     copyright   : (C) 2004 by Martin Preuss
00007     email       : martin@libchipcard.de
00008 
00009  ***************************************************************************
00010  *          Please see toplevel file COPYING for license details           *
00011  ***************************************************************************/
00012 
00013 #ifndef QBANKING_PROCWATCHER_H
00014 #define QBANKING_PROCWATCHER_H
00015 
00016 
00017 #include <qbanking/qbprocesswatcher.ui.h>
00018 #include <qbanking/qbanking.h>
00019 
00020 #include <qstring.h>
00021 #include <time.h>
00022 
00023 class QProcess;
00024 
00025 
00026 class QBANKING_API QBProcessWatcher : public QBProcessWatcherUi{
00027   Q_OBJECT
00028 public:
00029   QBProcessWatcher(QProcess* process,
00030                    const QString &text=QString::null,
00031                    QWidget* parent=0,
00032                    const char* name=0,
00033                    bool modal=FALSE,
00034                    WFlags fl=0 );
00035   ~QBProcessWatcher();
00036 
00037   void accept();
00038 
00039   int getStatus() const;
00040 
00041   int getDuration() const;
00042 
00043 public slots:
00044   void slotTerminate();
00045   void slotKill();
00046   void slotProcessFinished();
00047 
00048   virtual void languageChange();
00049 
00050 private:
00051   QProcess *_process;
00052   int _result;
00053   bool _closeEnabled;
00054   time_t _startTime;
00055   int _duration;
00056 };
00057 
00058 
00059 
00060 
00061 #endif // AQBANKING_KDE_PROCWATCHER_H
00062 

Generated on Tue Aug 3 2010 17:34:15 for aqbanking by  doxygen 1.7.1