[Uml-devel] kdesdk/umbrello/umbrello/dialogs

Oliver Kellogg okellogg at users.sourceforge.net
Sat Aug 21 18:09:14 UTC 2004


CVS commit by okellogg: 

Move to namespace Umbrello. Document.


  M +9 -1      dialog_utils.cpp   1.2
  M +17 -1     dialog_utils.h   1.2


--- kdesdk/umbrello/umbrello/dialogs/dialog_utils.h  #1.1:1.2
@@ -18,6 +18,22 @@ class QLabel;
 class QLineEdit;
 
-namespace Dialog_Utils {
+/**
+ * Dialog utilities.
+ * @author Oliver Kellogg
+ * Bugs and comments to uml-devel at lists.sf.net or http://bugs.kde.org
+ */
+namespace Umbrello {
 
+        /**
+         * Create a labeled text lineedit widget.
+         *
+         * @param containingBox         The containing QGroupBox.
+         * @param layout                The QGridLayout to use.
+         * @param row                   The row number within the QGridLayout.
+         * @param label                 The QLabel object allocated (return value)
+         * @param labelText             The label text.
+         * @param editField             The QLineEdit object allocated (return value)
+         * @param editFieldText         Initialization text in the editField (optional.)
+         */
         void makeLabeledEditField(QGroupBox *containingBox, QGridLayout *layout, int row,
                                   QLabel * &label, QString labelText, 

--- kdesdk/umbrello/umbrello/dialogs/dialog_utils.cpp  #1.1:1.2
@@ -1,2 +1,10 @@
+/***************************************************************************
+ *                                                                         *
+ *   This program is free software; you can redistribute it and/or modify  *
+ *   it under the terms of the GNU General Public License as published by  *
+ *   the Free Software Foundation; either version 2 of the License, or     *
+ *   (at your option) any later version.                                   *
+ *                                                                         *
+ ***************************************************************************/
 #include "dialog_utils.h"
 
@@ -6,5 +14,5 @@
 #include <qlineedit.h>
 
-namespace Dialog_Utils {
+namespace Umbrello {
 
 void makeLabeledEditField(QGroupBox *containingBox, QGridLayout *layout, int row,






More information about the umbrello-devel mailing list