2001-08-26 15:34:36 +00:00
|
|
|
// -*- C++ -*-
|
|
|
|
/**
|
|
|
|
* \file QBibitem.h
|
|
|
|
* Copyright 2001 the LyX Team
|
|
|
|
* Read the file COPYING
|
|
|
|
*
|
|
|
|
* \author John Levon <moz@compsoc.man.ac.uk>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef QBIBITEM_H
|
|
|
|
#define QBIBITEM_H
|
|
|
|
|
|
|
|
#include "Qt2Base.h"
|
|
|
|
|
|
|
|
class ControlBibitem;
|
|
|
|
class QBibitemDialog;
|
|
|
|
|
|
|
|
class QBibitem :
|
2002-03-21 21:21:28 +00:00
|
|
|
public Qt2CB<ControlBibitem, Qt2DB<QBibitemDialog> >
|
2001-08-26 15:34:36 +00:00
|
|
|
{
|
|
|
|
friend class QBibitemDialog;
|
2002-03-21 21:21:28 +00:00
|
|
|
|
|
|
|
public:
|
2002-07-11 01:01:38 +00:00
|
|
|
QBibitem(ControlBibitem &, Dialogs &);
|
2001-08-26 15:34:36 +00:00
|
|
|
|
|
|
|
protected:
|
|
|
|
virtual bool isValid();
|
2002-03-21 21:21:28 +00:00
|
|
|
|
|
|
|
private:
|
2001-08-26 15:34:36 +00:00
|
|
|
/// Apply changes
|
|
|
|
virtual void apply();
|
|
|
|
/// update
|
|
|
|
virtual void update_contents();
|
|
|
|
/// build the dialog
|
|
|
|
virtual void build_dialog();
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // QBIBITEM_H
|