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

# /home/eric/Bureau/MedinTux-V-2.00/Plug/Compta2/plugins-medintux/CApp_Plug.h

    00001 /********************************** CApp_Plug.h ****************************************
    00002  *                                                                                *
    00003  *   This program is free software; you can redistribute it and/or modify         *
    00004  *   it under the terms of the CeCILL Version 2                     *
    00005  *   License (GPL compatible)                                                     *
    00006  *                              http://www.cecill.info/                           *
    00007  *   as published by :                                                            *
    00008  *                                                                                *
    00009  *   Commissariat à l'Energie Atomique                                            *
    00010  *   - CEA,                                                                       *
    00011  *                            31-33 rue de la Fédération, 75752 PARIS cedex 15.   *
    00012  *                            FRANCE                                              *
    00013  *   Centre National de la Recherche Scientifique                                 *
    00014  *   - CNRS,                                                                      *
    00015  *                            3 rue Michel-Ange, 75794 Paris cedex 16.            *
    00016  *                            FRANCE                                              *
    00017  *   Institut National de Recherche en Informatique et en Automatique             *
    00018  *   - INRIA,                                                                     *
    00019  *                            Domaine de Voluceau, Rocquencourt, BP 105, 78153    *
    00020  *                            FRANCE                                              *
    00021  *                                                                                *
    00022  *         This program is distributed in the hope that it will be useful,        *
    00023  *         but WITHOUT ANY WARRANTY; without even the implied warranty of         *
    00024  *         MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.                   *
    00025  *         CeCILL  License (GPL compatible) for more details.                     *
    00026  *                                                                                *
    00027  **********************************************************************************/
    00028 #ifndef CPLUGAPP_H
    00029 #define CPLUGAPP_H
    00030
    00031 #include <qapplication.h>
    00032 #include <qstring.h>
    00033 #include "../../../MedinTuxTools/CGestIni.h"
    00034 #include "ComptaMoteurBase.h"
    00035 #include "../compta/Listes.h"
    00036 #include <qfileinfo.h>
    00037 #include <qdir.h>
    00038 #include <qtextcodec.h>
    00039
    00040 #define TR QObject::tr
    00041
    00042 class ComptaMoteurBase;
    00043
    00044 //............................................. quelques définitions ..........................................................
    00045
    00049 //================================================= CApp_Plug ==============================================================
    00050 class CApp_Plug : public QApplication , public CGestIni
    00051 {
    00052
    00053    Q_OBJECT
    00054
    00055 public:
    00056
    00057     CApp_Plug(int & argc, char ** argv);
    00058     ~CApp_Plug();
    00059
    00060     bool getIniComptabilite();
    00061     int  GotoDebug();
    00062
    00063 public slots:
    00064
    00065
    00066 signals:
    00067
    00068
    00069 public:
    00070   QString m_AppelName;
    00071   QString m_PathAppel;
    00072   QString m_PathAppelIni;
    00073   QString m_PathExchg;
    00075   QString m_PathIni;
    00076   QString m_PathManagerIni;
    00077   QString m_Param;
    00078   int     m_NbParam;
    00080   QString db_User;
    00081   QString db_Pass;
    00082   QString db_Serv;
    00084   QString m_PathAppli;
    00086   QString m_Param_Patient;
    00087   int     m_Param_PrimKeyUser;
    00088   int     m_Param_DrTuxUsrPk;
    00089   QString m_Param_Praticien;
    00090   QString m_Param_Date;
    00091   QString m_Param_GUID;
    00092   QString m_Param_Acte;
    00093   bool    m_Param_Tiers;
    00094   QString m_Param_ModePaiement;
    00096   QString m_AppliName;
    00097   QString m_LastError;
    00099   QString m_msgToDrTux;
    00101   ComptaMoteurBase* m_ComptaBase;
    00103   ACTES_LISTE* acteListe;
    00104   Utilisateurs* currentUser;
    00106 };
    00107
    00108 extern CApp_Plug* G_pCApp_Plug;
    00109
    00110 #endif            // #define CPLUGAPP_H