lyx_mirror/src/frontends/qt4/QIndex.h
Abdelrazak Younes e6fea4b844 Patch 1 Log:
* controllers/Dialog.[Ch]
  - View::title_ is now a docstring (ctor and access functions changed)

* controllers/ControlLog.[Ch]
  - title() now returns a docstring

* controllers/ControlLog.[Ch]
  - title() now returns a docstring

* qt4/*: adapted to above changes.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15283 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-09 10:35:14 +00:00

50 lines
872 B
C++

// -*- C++ -*-
/**
* \file QIndex.h
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author John Levon
* \author Kalle Dalheimer
*
* Full author contact details are available in file CREDITS.
*/
#ifndef QINDEX_H
#define QINDEX_H
#include "QDialogView.h"
namespace lyx {
namespace frontend {
class ControlCommand;
class QIndexDialog;
class QIndex :
public QController<ControlCommand, QView<QIndexDialog> >
{
public:
friend class QIndexDialog;
QIndex(Dialog &, lyx::docstring const & title, QString const & label);
protected:
virtual bool isValid();
private:
/// Apply changes
virtual void apply();
/// update
virtual void update_contents();
/// build the dialog
virtual void build_dialog();
///
QString const label_;
};
} // namespace frontend
} // namespace lyx
#endif // QINDEX_H