summaryrefslogtreecommitdiffabout
path: root/microkde/kapplication.h
Side-by-side diff
Diffstat (limited to 'microkde/kapplication.h') (more/less context) (show whitespace changes)
-rw-r--r--microkde/kapplication.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/microkde/kapplication.h b/microkde/kapplication.h
index 41546a0..497ec2f 100644
--- a/microkde/kapplication.h
+++ b/microkde/kapplication.h
@@ -1,27 +1,30 @@
#ifndef MINIKDE_KAPPLICATION_H
#define MINIKDE_KAPPLICATION_H
#include "qstring.h"
#include <qdialog.h>
+#ifdef QDialog
+#undef QDialog
+#endif
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);
static int execDialog( QDialog* );
static void showLicence();
static void showFile(QString caption, QString file);
static void showText(QString caption, QString text);
static bool convert2latin1(QString file);
};
#endif