]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt2/QThesaurus.h
better selection and scrolling behaviour
[lyx.git] / src / frontends / qt2 / QThesaurus.h
index e47a5f5530b78109dad977902827ea36cafa4443..4e355c0ace2fcbe8e7d6c159992a573a4f944280 100644 (file)
@@ -1,38 +1,45 @@
 // -*- C++ -*-
 /**
  * \file QThesaurus.h
- * 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
  */
 
 #ifndef QTHESAURUS_H
 #define QTHESAURUS_H
 
+#ifdef __GNUG__
+#pragma interface
+#endif
+
 #include "Qt2Base.h"
 
 class ControlThesaurus;
 class QThesaurusDialog;
 
-class QThesaurus :
-       public Qt2CB<ControlThesaurus, Qt2DB<QThesaurusDialog> > 
+///
+class QThesaurus
+       : public Qt2CB<ControlThesaurus, Qt2DB<QThesaurusDialog> >
 {
+public:
+       ///
        friend class QThesaurusDialog;
-public: 
-       QThesaurus(ControlThesaurus &);
-
+       ///
+       QThesaurus();
 private:
        /// Apply changes
-       virtual void apply();
+       virtual void apply() {}
        /// update
        virtual void update_contents();
        /// build the dialog
        virtual void build_dialog();
 
        /// replace the word
-       void replace(); 
+       void replace();
 };
 
 #endif // QTHESAURUS_H