00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00024 #ifndef FUNCAUX_H
00025 #define FUNCAUX_H
00026
00027 #include <qdatetime.h>
00028 #include <stdio.h>
00029 #include <sstream>
00030 #include <string>
00031 using std::string;
00032 #include <math.h>
00033 #include <qstring.h>
00034
00035
00037 string extiendecodigo (string , unsigned int );
00039 QString extiendecodigo (QString, unsigned int);
00041 float fround(float, unsigned);
00043 int roundI(double);
00045 QDate normalizafecha(QString);
00047 QString XMLProtect( const QString& );
00049 QString ajustacodigo( QString, unsigned int);
00050
00051 template <typename T>
00052 std::string Ttos(T arg) {
00053 std::ostringstream buffer;
00054 buffer << arg;
00055 return buffer.str();
00056 }
00057
00058 #endif
00059