summaryrefslogtreecommitdiffabout
path: root/microkde/kdialog.cpp
Side-by-side diff
Diffstat (limited to 'microkde/kdialog.cpp') (more/less context) (show whitespace changes)
-rw-r--r--microkde/kdialog.cpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/microkde/kdialog.cpp b/microkde/kdialog.cpp
new file mode 100644
index 0000000..3d62cdd
--- a/dev/null
+++ b/microkde/kdialog.cpp
@@ -0,0 +1,17 @@
+
+#include <kdialog.h>
+#include <qapp.h>
+
+
+KDialog::KDialog( QWidget *parent, const char *name, bool modal ) :
+ QDialog( parent, name, modal )
+{
+ ;
+
+}
+
+int KDialog::spacingHint() { return 3; }
+int KDialog::marginHint() { return 3; }
+
+int KDialog::spacingHintSmall() { if (QApplication::desktop()->width() < 700 ) return 1;else return 3; }
+int KDialog::marginHintSmall() { if (QApplication::desktop()->width() < 700 ) return 1;else return 3; }