X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fqt2%2FQIndex.h;h=ecd3885e99898257d4b1c9536d66be8381c6e515;hb=1229a2712d3f4fe1392616a6973e1830cf3124ef;hp=f0f71d2871b2207e3889dcd833fb840c0cebccdf;hpb=b30963b60eb81fb64ffe25648eb912f1c179452b;p=lyx.git diff --git a/src/frontends/qt2/QIndex.h b/src/frontends/qt2/QIndex.h index f0f71d2871..ecd3885e99 100644 --- a/src/frontends/qt2/QIndex.h +++ b/src/frontends/qt2/QIndex.h @@ -12,37 +12,29 @@ #define QINDEX_H #include "Qt2Base.h" -#include "ControlIndex.h" -#include "LString.h" -#include "boost/utility.hpp" -class Dialogs; -class LyXView; +class ControlIndex; class QIndexDialog; -class QIndex : - public Qt2CB > { +class QIndex : + public Qt2CB > +{ friend class QIndexDialog; - -public: - QIndex(ControlIndex &); - ~QIndex(); -private: + +public: + QIndex(); + +protected: + virtual bool isValid(); + +private: /// Apply changes virtual void apply(); /// update - virtual void update(); + virtual void update_contents(); /// build the dialog - virtual void build(); - - /// create an Index inset - void createIndex(string const &); - /// edit an Index inset - void showIndex(InsetCommand * const); - - /// is the inset we are reading from a readonly buffer ? - bool readonly; + virtual void build_dialog(); }; #endif // QINDEX_H