Anti-Plagiat Version 1.0

src/Headers/settings.h

Aller à la documentation de ce fichier.
00001 /***********************************************************************
00002  * Module:  Settings.h
00003  * Author:  RONGIARD Fabien
00004  *          DUREUIL Brice
00005  *          CRESSON Thomas
00006  *          NAJAR Soufiene
00007  *          FATNI Elkhader
00008  * Modified: vendredi 26 mars 2011 16:46:28
00009  * Purpose: Declaration of the class Settings
00010  ***********************************************************************/
00011 
00012 #ifndef SETTINGS_H
00013 #define SETTINGS_H
00014 
00015 
00028 #include <QWidget>
00029 #include <QSettings>
00030 
00031 namespace Ui {
00032     class Settings;
00033 }
00034 
00035 
00042 class Settings : public QWidget
00043 {
00044     Q_OBJECT
00045 
00046 public:
00053     explicit Settings(QWidget *parent = 0);
00059     ~Settings();
00065     void writeSettings();
00071     void readSettings();
00078     int getNbMots();
00085     bool getParTaille();
00092     bool getParPolice();
00098     int getPrCentATester();
00104     int nbMaxRequete();
00111     void closeEvent(QCloseEvent *event);
00112 
00113 public slots:
00119     void click_close();
00124     void changeEvent(QEvent *event);
00125 
00126 private:
00127     Ui::Settings *ui; 
00128 };
00129 
00130 #endif // SETTINGS_H
 Tout Classes Espaces de nommage Fichiers Fonctions Variables Définition de type Macros