lyx_mirror/src/frontends/qt2/QCitation.h
Lars Gullik Bjønnes 814b819451 the qtclean-2 patch with some very small changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5447 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-20 01:48:28 +00:00

71 lines
1.2 KiB
C++

// -*- C++ -*-
/**
* \file QCitation.h
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author Angus Leeming
* \author Kalle Dalheimer
*
* Full author contact details are available in file CREDITS
*/
#ifndef QCITATION_H
#define QCITATION_H
#ifdef __GNUG__
#pragma interface
#endif
#include "Qt2Base.h"
class QListBox;
class ControlCitation;
class QCitationDialog;
class QCitation
: public Qt2CB<ControlCitation, Qt2DB<QCitationDialog> >
{
public:
friend class QCitationDialog;
///
QCitation();
private:
///
enum State {
///
ON,
///
OFF
};
/// Set the Params variable for the Controller.
virtual void apply();
/// Build the dialog.
virtual void build_dialog();
/// Hide the dialog.
virtual void hide();
/// Update dialog before/whilst showing it.
virtual void update_contents();
/// fill the styles combo
void fillStyles();
/// set the styles combo
void updateStyle();
void updateBrowser(QListBox *, std::vector<string> const &) const;
///
void setBibButtons(State) const;
///
void setCiteButtons(State) const;
///
std::vector<string> citekeys;
///
std::vector<string> bibkeys;
};
#endif // QCITATION_H