2001-08-26 03:20:52 +00:00
|
|
|
// -*- C++ -*-
|
|
|
|
/**
|
|
|
|
* \file QBibtex.h
|
2002-09-24 13:57:09 +00:00
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
* Licence details can be found in the file COPYING.
|
2001-08-26 03:20:52 +00:00
|
|
|
*
|
2002-09-24 13:57:09 +00:00
|
|
|
* \author John Levon
|
|
|
|
*
|
|
|
|
* Full author contact details are available in file CREDITS
|
2001-08-26 03:20:52 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef QBIBTEX_H
|
|
|
|
#define QBIBTEX_H
|
|
|
|
|
2002-09-24 13:57:09 +00:00
|
|
|
#ifdef __GNUG__
|
|
|
|
#pragma interface
|
|
|
|
#endif
|
|
|
|
|
2001-08-26 03:20:52 +00:00
|
|
|
#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-08-12 14:28:43 +00:00
|
|
|
QBibtex();
|
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
|