# /home/samy/kbilliards/src/psettings.h

    00001 /***************************************************************************
    00002                           psettings.h  -  description
    00003                              -------------------
    00004     begin                : Mon Feb 4 2002
    00005     copyright            : (C) 2002 by Samuele Catuzzi
    00006     email                : samuele_catuzzi@yahoo.it
    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 PSETTINGS_H
    00019 #define PSETTINGS_H
    00020
    00021 #include <qwidget.h>
    00022 #include "configuration.h"
    00023 #include "confdialog.h"
    00024
    00025 #include <qlineedit.h>
    00026 #include <qbutton.h>
    00027 #include <qslider.h>
    00028 #include <qspinbox.h>
    00029 #include <qlabel.h>
    00030 #include <qpushbutton.h>
    00031
    00036 class PSettings : public confdialog
    00037 {
    00038   Q_OBJECT
    00039 public:
    00040         PSettings(QWidget *parent=0, const char *name=0, Configuration *conf=0);
    00041         ~PSettings();
    00043   bool checkvalues();
    00044 private: // Private attributes
    00046   Configuration * configuration;
    00048   double decel;
    00050   double hitba;
    00052   double hited;
    00054   int check;
    00056   int angle;
    00057 public slots: // Public slots
    00059   void slot_update();
    00061   void slot_ok();
    00063   void slot_close();
    00064 };
    00065
    00066 #endif