]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/QIndex.h
No longer pass Controller & or Dialogs & to the View c-tors.
[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
20 class QIndex :
21         public Qt2CB<ControlIndex, Qt2DB<QIndexDialog> >
22 {
23         friend class QIndexDialog;
24
25 public:
26         QIndex();
27
28 protected:
29         virtual bool isValid();
30
31 private:
32         /// Apply changes
33         virtual void apply();
34         /// update
35         virtual void update_contents();
36         /// build the dialog
37         virtual void build_dialog();
38 };
39
40 #endif // QINDEX_H