Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

putils.h

Go to the documentation of this file.
00001 /***************************************************************************
00002                           putils.h  -  description
00003                              -------------------
00004     begin                : Fri Aug 23 2002
00005     copyright            : (C) 2002 by Ryan Rusaw
00006     email                : rrusaw@sasktel.net
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 #ifndef PUTILS_H
00018 #define PUTILS_H
00019 
00020 #include <qstring.h>
00021 #include <qobject.h>
00022 #include <qimage.h>
00023 #include <qasciidict.h>
00024 
00030 class pUtils : public QObject
00031 {
00032 public:
00036      pUtils();
00040      ~pUtils(){};
00047      static QString roman(int num,bool uppercase);
00053      static QString getImageName(QString *hrefname);
00059      static unsigned int intsqrt(unsigned long val );
00065      static int intsin(int val);
00071      static int intcos(int val);
00077      static int inttan(int val);
00083      static int qfsqrt(int val);
00084 private:
00088      static int genroman(int i, int j, char c, QString *s);
00092      static QAsciiDict<char> *dict;                                        
00093 };
00094 #endif
00095 

Generated on Sun Feb 2 21:28:28 2003 for PoqetPresenter by doxygen1.2.18