-rw-r--r-- | libopie2/opieui/odialog.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libopie2/opieui/odialog.h b/libopie2/opieui/odialog.h index 38f25e8..7947dfb 100644 --- a/libopie2/opieui/odialog.h +++ b/libopie2/opieui/odialog.h | |||
@@ -42,48 +42,47 @@ class QLayoutItem; | |||
42 | * | 42 | * |
43 | * The @ref marginHint() and @ref spacingHint() sizes shall be used | 43 | * The @ref marginHint() and @ref spacingHint() sizes shall be used |
44 | * whenever you layout the interior of a dialog. One special note. If | 44 | * whenever you layout the interior of a dialog. One special note. If |
45 | * you make your own action buttons (OK, Cancel etc), the space | 45 | * you make your own action buttons (OK, Cancel etc), the space |
46 | * beteween the buttons shall be @ref spacingHint(), whereas the space | 46 | * beteween the buttons shall be @ref spacingHint(), whereas the space |
47 | * above, below, to the right and to the left shall be @ref marginHint(). | 47 | * above, below, to the right and to the left shall be @ref marginHint(). |
48 | * If you add a separator line above the buttons, there shall be a | 48 | * If you add a separator line above the buttons, there shall be a |
49 | * @ref marginHint() between the buttons and the separator and a | 49 | * @ref marginHint() between the buttons and the separator and a |
50 | * @ref marginHint() above the separator as well. | 50 | * @ref marginHint() above the separator as well. |
51 | * | 51 | * |
52 | * @author Michael 'Mickey' Lauer <mickey@tm.informatik.uni-frankfurt.de> | 52 | * @author Michael 'Mickey' Lauer <mickey@tm.informatik.uni-frankfurt.de> |
53 | */ | 53 | */ |
54 | 54 | ||
55 | class ODialog : public QDialog | 55 | class ODialog : public QDialog |
56 | { | 56 | { |
57 | Q_OBJECT | 57 | Q_OBJECT |
58 | 58 | ||
59 | public: | 59 | public: |
60 | 60 | ||
61 | /** | 61 | /** |
62 | * Constructor. | 62 | * Constructor. |
63 | * | 63 | * |
64 | * Takes the same arguments as @ref QDialog. | 64 | * Takes the same arguments as @ref QDialog. |
65 | */ | 65 | */ |
66 | ODialog(QWidget *parent = 0, const char *name = 0, | 66 | ODialog(QWidget *parent = 0, const char *name = 0, bool modal = false, WFlags f = 0); |
67 | bool modal = false, WFlags f = 0); | ||
68 | 67 | ||
69 | /** | 68 | /** |
70 | * Return the number of pixels you shall use between a | 69 | * Return the number of pixels you shall use between a |
71 | * dialog edge and the outermost widget(s) according to the KDE standard. | 70 | * dialog edge and the outermost widget(s) according to the KDE standard. |
72 | **/ | 71 | **/ |
73 | static int marginHint(); | 72 | static int marginHint(); |
74 | 73 | ||
75 | /** | 74 | /** |
76 | * Return the number of pixels you shall use between | 75 | * Return the number of pixels you shall use between |
77 | * widgets inside a dialog according to the KDE standard. | 76 | * widgets inside a dialog according to the KDE standard. |
78 | */ | 77 | */ |
79 | static int spacingHint(); | 78 | static int spacingHint(); |
80 | 79 | ||
81 | private: | 80 | private: |
82 | static int mMarginSize; | 81 | static int mMarginSize; |
83 | static int mSpacingSize; | 82 | static int mSpacingSize; |
84 | 83 | ||
85 | //class ODialogPrivate; | 84 | //class ODialogPrivate; |
86 | //ODialogPrivate *d; | 85 | //ODialogPrivate *d; |
87 | 86 | ||
88 | }; | 87 | }; |
89 | #endif // ODIALOG_H | 88 | #endif // ODIALOG_H |