[Uml-devel] kdesdk/umbrello/umbrello

Sebastian Stein seb.kde at hpfsc.de
Thu Jul 31 09:26:02 UTC 2003


CVS commit by sstein: 

added some comments


  M +21 -0     umldoc.h   1.24


--- kdesdk/umbrello/umbrello/umldoc.h  #1.23:1.24
@@ -396,8 +396,29 @@ public:
         void showProperties(UMLObject *o, int page = 0, bool assoc = false);
 
+        /**
+         * This method is called for saving the given modell as a XMI file. It is
+         * virtual and calls the corresponding saveToXMI() functions of the derived
+         * classes
+         *
+         * @param file The file to be saved to.
+         */
         virtual bool saveToXMI(QIODevice& file);
 
+        /**
+         * Checks the given XMI file if it was saved with correct Unicode encoding
+         * set or not
+         *
+         * @param file The file to be checked.
+         */
         short getEncoding(QIODevice & file);
 
+        /**
+         * Load a given XMI modell from a file. If the encoding of the file is
+         * already known it can be passed to the function. If this information isn't
+         * given, loadFromXMI will check which encoding was used
+         *
+         * @param file The file to be loaded.
+         * @param encode The used encoding.
+         */
         virtual bool loadFromXMI(QIODevice& file, short encode = ENC_UNKNOWN);
 






More information about the umbrello-devel mailing list