-rw-r--r-- | microkde/kapplication.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/microkde/kapplication.h b/microkde/kapplication.h new file mode 100644 index 0000000..47e64e7 --- a/dev/null +++ b/microkde/kapplication.h @@ -0,0 +1,21 @@ +#ifndef MINIKDE_KAPPLICATION_H +#define MINIKDE_KAPPLICATION_H + +#include "qstring.h" + +class KApplication +{ + public: + static int random(); + +//US + /** + * Generates a random string. It operates in the range [A-Za-z0-9] + * @param length Generate a string of this length. + * @return the random string + */ + static QString randomString(int length); +}; + + +#endif |