summaryrefslogtreecommitdiffabout
authorzautrix <zautrix>2005-04-21 22:27:41 (UTC)
committer zautrix <zautrix>2005-04-21 22:27:41 (UTC)
commitabf935a18e55fcbe221d5a7c652840af279e2e3f (patch) (side-by-side diff)
tree9ac85aa9f7c281f41a9f5685db971f15399b5a47
parent6284b1d7d597463347b471ed8ec2770f4e2d449b (diff)
downloadkdepimpi-abf935a18e55fcbe221d5a7c652840af279e2e3f.zip
kdepimpi-abf935a18e55fcbe221d5a7c652840af279e2e3f.tar.gz
kdepimpi-abf935a18e55fcbe221d5a7c652840af279e2e3f.tar.bz2
cf
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--microkde/kapplication.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/microkde/kapplication.cpp b/microkde/kapplication.cpp
index 539397b..566bb41 100644
--- a/microkde/kapplication.cpp
+++ b/microkde/kapplication.cpp
@@ -1,36 +1,37 @@
#include <stdlib.h>
#include <stdio.h>
#include "kapplication.h"
#include "ktextedit.h"
#include <qapplication.h>
#include <qstring.h>
#include <qfile.h>
#include <qtextstream.h>
#include <qdialog.h>
#include <qlayout.h>
#include <qtextbrowser.h>
+#include <qregexp.h>
int KApplication::random()
{
return rand();
}
//US
QString KApplication::randomString(int length)
{
if (length <=0 ) return QString::null;
QString str;
while (length--)
{
int r=random() % 62;
r+=48;
if (r>57) r+=7;
if (r>90) r+=6;
str += char(r);
// so what if I work backwards?
}
return str;
}
int KApplication::execDialog( QDialog* d )