author | zautrix <zautrix> | 2004-06-26 19:01:18 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-06-26 19:01:18 (UTC) |
commit | b9aad1f15dc600e4dbe4c62d3fcced6363188ba3 (patch) (unidiff) | |
tree | 2c3d4004fb21c72cba65793859f9bcd8ffd3a49c /microkde/kapplication.h | |
download | kdepimpi-b9aad1f15dc600e4dbe4c62d3fcced6363188ba3.zip kdepimpi-b9aad1f15dc600e4dbe4c62d3fcced6363188ba3.tar.gz kdepimpi-b9aad1f15dc600e4dbe4c62d3fcced6363188ba3.tar.bz2 |
Initial revision
-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 @@ | |||
1 | #ifndef MINIKDE_KAPPLICATION_H | ||
2 | #define MINIKDE_KAPPLICATION_H | ||
3 | |||
4 | #include "qstring.h" | ||
5 | |||
6 | class 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 | ||