]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/QThesaurus.h
Thesaurus dialog. Untested, as it won't build for me. I get undefined
[lyx.git] / src / frontends / qt2 / QThesaurus.h
1 // -*- C++ -*-
2 /**
3  * \file QThesaurus.h
4  * Copyright 2001 the LyX Team
5  * Read the file COPYING
6  *
7  * \author John Levon <moz@compsoc.man.ac.uk>
8  */
9
10 #ifndef QTHESAURUS_H
11 #define QTHESAURUS_H
12
13 #include "Qt2Base.h"
14
15 class ControlThesaurus;
16 class QThesaurusDialog;
17
18 class QThesaurus :
19         public Qt2CB<ControlThesaurus, Qt2DB<QThesaurusDialog> > 
20 {
21         friend class QThesaurusDialog;
22  
23 public: 
24         QThesaurus(ControlThesaurus &);
25
26 private:
27         /// Apply changes
28         virtual void apply();
29         /// update
30         virtual void update_contents();
31         /// build the dialog
32         virtual void build_dialog();
33
34         /// replace the word
35         void replace(); 
36 };
37
38 #endif // QTHESAURUS_H