connectionwidget.h

00001 /***************************************************************************
00002                           ConnectionWidget.h  -  description
00003                              -------------------
00004     begin                : jeu avr 20 2006
00005     copyright            : (C) 2006 by Sylvain Archenault <sylvain.archenault@laposte.net> Yves Houpert <yves.houpert@insa-rouen.fr>
00006  
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 CONNECTIONWIDGET_H
00019 #define CONNECTIONWIDGET_H
00020 
00021 #include "ConnectionWidget.h"
00022 
00023 class ConnectionProcess;
00024 
00030 class ConnectionWidget : public ConnectionForm
00031 {
00032   Q_OBJECT
00033 
00034 public:
00036   ConnectionWidget(ConnectionProcess* pConnectionProcess,QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
00037 
00039   ~ConnectionWidget();
00040 
00043   void setStatus(const QString& status);
00044 
00047   void setStatusSteps(const int nbSteps);
00048 
00053   void setProgressStatus(const int progress);
00054 
00055 private: //private methods
00059   ConnectionWidget(const ConnectionWidget&);
00060 
00064   ConnectionWidget& operator=(const ConnectionWidget&);
00065 
00066 private: //private members
00068   ConnectionProcess* m_pConnectionProcess;
00069 
00070 public slots:
00072   void cancelButton_clicked();
00073 };
00074 
00075 #endif
00076 

Generated on Fri May 19 12:15:54 2006 for Bamboo Ch@t by  doxygen 1.4.6