lyx_mirror/src/frontends/qt2/QCitationDialog.h
Angus Leeming 2a31934f38 Wrap most of the frontend code up inside namespace lyx::frontend.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8766 a592a061-630c-0410-9148-cb99ea01b6c8
2004-05-19 15:11:37 +00:00

62 lines
1.1 KiB
C++

// -*- C++ -*-
/**
* \file QCitationDialog.h
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author Kalle Dalheimer
*
* Full author contact details are available in file CREDITS.
*/
#ifndef QCITATIONDIALOG_H
#define QCITATIONDIALOG_H
#include "ui/QCitationDialogBase.h"
#include "controllers/biblio.h"
class QCitationFindDialogBase;
namespace lyx {
namespace frontend {
class QCitation;
class QCitationDialog : public QCitationDialogBase {
Q_OBJECT
public:
QCitationDialog(QCitation * form);
~QCitationDialog();
void setButtons();
/// open the find dialog if nothing selected
void openFind();
QCitationFindDialogBase * add_;
protected slots:
virtual void availableChanged();
virtual void selectedChanged();
virtual void up();
virtual void down();
virtual void del();
virtual void addCitation();
virtual void add();
virtual void previous();
virtual void next();
virtual void changed_adaptor();
private:
void find(biblio::Direction dir);
QCitation * form_;
};
} // namespace frontend
} // namespace lyx
#endif // QCITATIOINDIALOG_H