/**
* \file QIndex.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>
+#ifdef __GNUG__
+#pragma implementation
+#endif
+
#include "ControlIndex.h"
#include "gettext.h"
typedef Qt2CB<ControlIndex, Qt2DB<QIndexDialog> > base_class;
-QIndex::QIndex(ControlIndex & c, Dialogs &)
- : base_class(c, _("Index"))
+
+QIndex::QIndex()
+ : base_class(_("Index"))
{
}
bool QIndex::isValid()
{
- return !string(dialog_->keywordED->text()).empty();
+ return !dialog_->keywordED->text().isEmpty();
}