|
Public Methods |
| pUtils () |
| Constructor.
|
| ~pUtils () |
| Deconstructor.
|
Static Public Methods |
QString | roman (int num, bool uppercase) |
| Generates roman numerals for a number.
|
QString | getImageName (QString *hrefname) |
| Gets the Image name based off the hashed URL value.
|
unsigned int | intsqrt (unsigned long val) |
| Generates a square root to the nearest integer.
|
int | intsin (int val) |
| Returns sin of an angle.
|
int | intcos (int val) |
| Returns cos of an angle.
|
int | inttan (int val) |
| Returns tan of an angle.
|
int | qfsqrt (int val) |
| Returns square root of a number between 0 and 1.
|
Static Private Methods |
int | genroman (int i, int j, char c, QString *s) |
| Generates roman numerals. Internal use only.
|
Static Private Attributes |
QAsciiDict< char > * | dict |
| Ascii dictionary of image names by hrefname.
|