-Editor::Editor( char *hdir,QWidget * parent , const char * name)
- : QWidget( parent, name )
+/**
+ * Editor constructor. Initializes and sets variables of Loglan Editor.
+ * @param hdir Home directory of program (specified in configuration file)
+ * @param parent Parent widget of this widget. If set, this widget becomes a
+ * child window inside parent. If not set this widget becomes a
+ * top level window. Default: NULL
+ * @param name If set, name is sent to the Qobject constructor, so widget is
+ * identifiable (e.g. in Qt Designer)
+ */
+Editor::Editor(char *hdir,QWidget * parent , const char * name)
+ : QWidget(parent, name)