-/*
+/**
* \file Tooltips.C
- * Copyright 2002 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 Angus Leeming, a.leeming@ic.ac.uk
+ * \author Angus Leeming
+ *
+ * Full author contact details are available in file CREDITS
*/
/* Tooltips for xforms. xforms 0.89 supports them directly, but 0.88 needs
}
-Tooltips::Tooltips(Dialogs & d)
+Tooltips::Tooltips()
: tooltip_timer_(0)
{
- static bool first = true;
- if (first) {
- first = false;
- d.toggleTooltips.connect(boost::bind(&Tooltips::toggleEnabled));
- }
toggled.connect(boost::bind(&Tooltips::set, this));
}