summaryrefslogtreecommitdiffabout
path: root/microkde/kapplication.h
Unidiff
Diffstat (limited to 'microkde/kapplication.h') (more/less context) (show whitespace changes)
-rw-r--r--microkde/kapplication.h21
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 @@
1#ifndef MINIKDE_KAPPLICATION_H
2#define MINIKDE_KAPPLICATION_H
3
4#include "qstring.h"
5
6class KApplication
7{
8 public:
9 static int random();
10
11//US
12 /**
13 * Generates a random string. It operates in the range [A-Za-z0-9]
14 * @param length Generate a string of this length.
15 * @return the random string
16 */
17 static QString randomString(int length);
18};
19
20
21#endif