[Uml-devel] branches/KDE/3.5/kdesdk/umbrello/umbrello/dialogs

Oliver Kellogg okellogg at users.sourceforge.net
Sat Apr 14 21:02:41 UTC 2007


SVN commit 654021 by okellogg:

moc warns about "Unexpected enum declaration."

 M  +10 -8     activitydialog.h  


--- branches/KDE/3.5/kdesdk/umbrello/umbrello/dialogs/activitydialog.h #654020:654021
@@ -54,13 +54,6 @@
 
 protected slots:
 
-    enum Page
-    {
-        GeneralPage = 0,
-        ColorPage,
-        FontPage
-    };
-
     /**
     *   Entered when OK button pressed.
     */
@@ -70,7 +63,16 @@
     *   Entered when Apply button pressed.
     */
     void slotApply();
+
 protected:
+
+    enum Page
+    {
+        GeneralPage = 0,
+        ColorPage,
+        FontPage
+    };
+
     /**
     *   Sets up the pages of the dialog.
     */
@@ -82,7 +84,7 @@
     void setupGeneralPage();
 
     /**
-    *           Sets up the color page.
+    *   Sets up the color page.
     */
     void setupColorPage();
 




More information about the umbrello-devel mailing list