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/kdialog.cpp | |
download | kdepimpi-b9aad1f15dc600e4dbe4c62d3fcced6363188ba3.zip kdepimpi-b9aad1f15dc600e4dbe4c62d3fcced6363188ba3.tar.gz kdepimpi-b9aad1f15dc600e4dbe4c62d3fcced6363188ba3.tar.bz2 |
Initial revision
-rw-r--r-- | microkde/kdialog.cpp | 17 |
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 @@ | |||
1 | |||
2 | #include <kdialog.h> | ||
3 | #include <qapp.h> | ||
4 | |||
5 | |||
6 | KDialog::KDialog( QWidget *parent, const char *name, bool modal ) : | ||
7 | QDialog( parent, name, modal ) | ||
8 | { | ||
9 | ; | ||
10 | |||
11 | } | ||
12 | |||
13 | int KDialog::spacingHint() { return 3; } | ||
14 | int KDialog::marginHint() { return 3; } | ||
15 | |||
16 | int KDialog::spacingHintSmall() { if (QApplication::desktop()->width() < 700 ) return 1;else return 3; } | ||
17 | int KDialog::marginHintSmall() { if (QApplication::desktop()->width() < 700 ) return 1;else return 3; } | ||