defuze.me  Client
defuzemeapplication.hpp
00001 /**************************************************************************
00002 ** defuze.me Epitech Innovative Project
00003 **
00004 ** Copyright 2010-2011
00005 **   Athena Calmettes - Jocelyn De La Rosa - Francois Gaillard
00006 **   Adrien Jarthon - Alexandre Moore - Luc Peres - Arnaud Sellier
00007 **
00008 ** All rights reserved.
00009 **************************************************************************/
00010 
00011 #ifndef DEFUZEMEAPPLICATION_HPP
00012 #define DEFUZEMEAPPLICATION_HPP
00013 
00014 #include <QApplication>
00015 #include "exception.hpp"
00016 
00017 class DefuzemeApplication : public QApplication
00018 {
00019     Q_OBJECT
00020 public:
00021     DefuzemeApplication(int& argc, char** argv);
00022     virtual ~DefuzemeApplication();
00023     virtual bool    notify(QObject *receiver, QEvent *event);
00024 
00025 signals:
00026     void            forwardException(const Exception& e);
00027 
00028 private slots:
00029     void            displayException(const Exception& e) throw();
00030 
00031 private:
00032     QTimer          speedControl;
00033 };
00034 
00035 #endif // DEFUZEMEAPPLICATION_HPP