]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt2/QCharacterDialog.C
Some string(widget->text()) fixes. Weirdness
[lyx.git] / src / frontends / qt2 / QCharacterDialog.C
index 254c48d3d71cca175295d0c8f7e42bf344c4c021..620caa42f0137780d2feead20907e2446b2ec115 100644 (file)
@@ -1,11 +1,19 @@
 /**
  * \file QCharacterDialog.C
- * Copyright 2001 the LyX Team
- * See the file COPYING.
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- * \author Edwin Leuven, leuven@fee.uva.nl
+ * \author Edwin Leuven
+ *
+ * Full author contact details are available in file CREDITS
  */
 
+#include <config.h>
+
+#ifdef __GNUG__
+#pragma implementation
+#endif
+
 #include "QCharacterDialog.h"
 
 #include <qcombobox.h>
@@ -13,8 +21,9 @@
 #include <qpushbutton.h>
 #include <qgroupbox.h>
 
+
 QCharacterDialog::QCharacterDialog(QCharacter * form)
-       : QCharacterDialogBase(0, 0, false, 0), 
+       : QCharacterDialogBase(0, 0, false, 0),
        form_(form)
 {
        connect(okPB, SIGNAL(clicked()),
@@ -24,12 +33,12 @@ QCharacterDialog::QCharacterDialog(QCharacter * form)
        connect(closePB, SIGNAL(clicked()),
                form_, SLOT(slotClose()));
 }
+
 
 void QCharacterDialog::change_adaptor()
 {
        form_->changed();
+
        if (!autoapplyCB->isChecked())
                return;
 
@@ -44,10 +53,10 @@ void QCharacterDialog::change_adaptor()
        shapeCO->setCurrentItem(0);
        miscCO->setCurrentItem(0);
        langCO->setCurrentItem(0);
-       colorCO->setCurrentItem(0); 
+       colorCO->setCurrentItem(0);
 }
 
+
 void QCharacterDialog::closeEvent(QCloseEvent * e)
 {
        form_->slotWMHide();