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