]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt2/QError.C
Some string(widget->text()) fixes. Weirdness
[lyx.git] / src / frontends / qt2 / QError.C
index 4053e2be2f44d23c80201e58c913eb37f8c63695..6adab2d68171f466d4e78c74a84d299e8f10ccd4 100644 (file)
@@ -1,26 +1,34 @@
 /**
  * \file QError.C
- * Copyright 2001 the LyX Team
- * Read the file COPYING
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- * \author John Levon <moz@compsoc.man.ac.uk>
+ * \author John Levon
+ *
+ * Full author contact details are available in file CREDITS
  */
 
 #include <config.h>
 
-#include "QErrorDialog.h"
+#ifdef __GNUG__
+#pragma implementation
+#endif
+
 #include "ControlError.h"
-#include "QError.h"
-#include "Qt2BC.h"
 #include "gettext.h"
 
 #include <qtextview.h>
 #include <qpushbutton.h>
 
+#include "QErrorDialog.h"
+#include "QError.h"
+#include "Qt2BC.h"
+
 typedef Qt2CB<ControlError, Qt2DB<QErrorDialog> > base_class;
-QError::QError(ControlError & c)
-       : base_class(c, _("LaTeX Error"))
+
+
+QError::QError()
+       : base_class(_("LaTeX Error"))
 {
 }
 
@@ -32,7 +40,7 @@ void QError::build_dialog()
        bc().setCancel(dialog_->closePB);
 }
 
+
 void QError::update_contents()
 {
        dialog_->errorTV->setText(controller().params().c_str());