]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/QIndex.h
various fixes
[lyx.git] / src / frontends / qt2 / QIndex.h
1 // -*- C++ -*-
2 /**
3  * \file QIndex.h
4  * Copyright 2001 the LyX Team
5  * Read the file COPYING
6  *
7  * \author John Levon <moz@compsoc.man.ac.uk>
8  * \author Kalle Dalheimer <kalle@klaralvdalens-datakonsult.se>
9  */
10
11 #ifndef QINDEX_H
12 #define QINDEX_H
13
14 #include "Qt2Base.h"
15
16 class ControlIndex;
17 class QIndexDialog;
18
19 class QIndex :
20         public Qt2CB<ControlIndex, Qt2DB<QIndexDialog> > 
21 {
22         friend class QIndexDialog;
23  
24 public: 
25         QIndex(ControlIndex &);
26
27 protected:
28         virtual bool isValid();
29  
30 private: 
31         /// Apply changes
32         virtual void apply();
33         /// update
34         virtual void update_contents();
35         /// build the dialog
36         virtual void build();
37 };
38
39 #endif // QINDEX_H