From b9aad1f15dc600e4dbe4c62d3fcced6363188ba3 Mon Sep 17 00:00:00 2001 From: zautrix Date: Sat, 26 Jun 2004 19:01:18 +0000 Subject: Initial revision --- (limited to 'microkde/kdialog.cpp') 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 +#include + + +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; } -- cgit v0.9.0.2