- Page principale
- Classes
- Fichiers
- Pages associées

# /home/eric/Bureau/MedinTux-V-2.00/Plug/Compta2/compta/FirstUse.h

Aller à la documentation de ce fichier.

    00001  /********************************* FirstUse.h ************************************
    00002  *   This program is free software; you can redistribute it and/or modify         *
    00003  *   it under the terms of the CeCILL Version 2                     *
    00004  *   License (GPL compatible)                                                     *
    00005  *                              http://www.cecill.info/                           *
    00006  *   as published by :                                                            *
    00007  *                                                                                *
    00008  *   Commissariat a l'Energie Atomique                                            *
    00009  *   - CEA,                                                                       *
    00010  *                            31-33 rue de la Federation, 75752 PARIS cedex 15.   *
    00011  *                            FRANCE                                              *
    00012  *   Centre National de la Recherche Scientifique                                 *
    00013  *   - CNRS,                                                                      *
    00014  *                            3 rue Michel-Ange, 75794 Paris cedex 16.            *
    00015  *                            FRANCE                                              *
    00016  *   Institut National de Recherche en Informatique et en Automatique             *
    00017  *   - INRIA,                                                                     *
    00018  *                            Domaine de Voluceau, Rocquencourt, BP 105, 78153    *
    00019  *                            FRANCE                                              *
    00020  *                                                                                *
    00021  *         This program is distributed in the hope that it will be useful,        *
    00022  *         but WITHOUT ANY WARRANTY; without even the implied warranty of         *
    00023  *         MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.                   *
    00024  *         CeCILL  License (GPL compatible) for more details.                     *
    00025  *                                                                                *
    00026  **********************************************************************************/
    00036 #ifndef FIRSTUSE_H
    00037 #define FIRSTUSE_H
    00038
    00039 #include <qobject.h>
    00040 #include <qmessagebox.h>
    00041 #include <qtextstream.h>
    00042 #include <qfile.h>
    00043 #include <qdir.h>
    00044 #include <qpixmap.h>
    00045 #include <qimage.h>
    00046
    00047
    00048 #include <qbuffer.h>
    00049
    00050 #include <qsqlcursor.h>
    00051 #include <qsqlrecord.h>
    00052 #include <qsqldatabase.h>
    00053
    00054 #include "ui/FormFirstUse.h"
    00055 #include "ui/FormLinkTux.h"
    00056
    00057 #include "../../../MedinTuxTools/CGestIni.h"
    00058 #include "Listes.h"
    00059 #include "CApp.h"
    00060 #include "Defines.h"
    00061 #include "icones.h"
    00062
    00063
    00064 class FormFirstUse;
    00065
    00069 class FirstUse : public QObject, public CGestIni
    00070 {
    00071 Q_OBJECT
    00072
    00073 public:
    00074     FirstUse(QObject *parent = 0, const char *name = 0);
    00075
    00076     ~FirstUse();
    00077
    00078 signals:
    00079 //      void signal_DrTuxBaseOk();
    00080
    00081 public slots:
    00082         void    getConnection   ();
    00083         void    getMedinTux     ();
    00084 //      void    check_LinkTux   ();
    00085         void    valideFirstUse  ();
    00086         void    checkTuxIni     ();
    00087         void    linkTuxOk       ();
    00088
    00089 public:
    00090
    00091         void    createBase      (QSqlDatabase* dataBase);
    00092
    00093 private:
    00094         FormFirstUse*           m_pFormFirstUse;
    00095         FormLinkTux*            m_pFormLinkTux;
    00096         ComptaMoteurBase*       m_pComptaMoteurBase;
    00097         UTILISATEURS_LISTE*     m_Utilisateurs_Liste_Tux;
    00098         QString                 db_Usr;
    00099         QString                 db_Pass;
    00100         QString                 db_Serv;
    00101         QString                 db_Driver;
    00102         QString                 db_Label;
    00103         QString                 m_managerIniPath;
    00104
    00105         QString                 ddbTux_Driver;
    00106         QString                 ddbTux_Base;
    00107         QString                 ddbTux_User;
    00108         QString                 ddbTux_Pass;
    00109         QString                 ddbTux_Serveur;
    00110
    00111         int                     m_drtuxLinkedId;
    00112         bool                    m_connectionBase;
    00114         bool                    m_paramUtilisateur;
    00116         bool                    m_connectionDrTux;
    00118 };
    00119
    00120 #endif