2002-09-24 13:57:09 +00:00
|
|
|
// -*- C++ -*-
|
2001-08-27 02:54:27 +00:00
|
|
|
/**
|
|
|
|
* \file QThesaurusDialog.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-27 02:54:27 +00:00
|
|
|
*
|
2002-09-24 13:57:09 +00:00
|
|
|
* \author John Levon
|
|
|
|
*
|
2003-08-23 00:17:00 +00:00
|
|
|
* Full author contact details are available in file CREDITS.
|
2001-08-27 02:54:27 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef QTHESAURUSDIALOG_H
|
|
|
|
#define QTHESAURUSDIALOG_H
|
2002-03-21 21:21:28 +00:00
|
|
|
|
2001-08-27 02:54:27 +00:00
|
|
|
#include "ui/QThesaurusDialogBase.h"
|
|
|
|
|
2002-01-16 23:56:25 +00:00
|
|
|
class QListViewItem;
|
2001-08-27 02:54:27 +00:00
|
|
|
|
2004-05-19 15:11:37 +00:00
|
|
|
namespace lyx {
|
|
|
|
namespace frontend {
|
|
|
|
|
|
|
|
class QThesaurus;
|
|
|
|
|
2002-10-20 01:48:28 +00:00
|
|
|
class QThesaurusDialog : public QThesaurusDialogBase {
|
|
|
|
Q_OBJECT
|
2001-08-27 02:54:27 +00:00
|
|
|
public:
|
|
|
|
QThesaurusDialog(QThesaurus * form);
|
|
|
|
|
|
|
|
void updateLists();
|
|
|
|
protected slots:
|
|
|
|
virtual void change_adaptor();
|
|
|
|
virtual void entryChanged();
|
|
|
|
virtual void replaceClicked();
|
2002-01-16 23:56:25 +00:00
|
|
|
virtual void selectionChanged(QListViewItem *);
|
|
|
|
virtual void selectionClicked(QListViewItem *);
|
2001-08-27 02:54:27 +00:00
|
|
|
protected:
|
|
|
|
virtual void closeEvent(QCloseEvent * e);
|
|
|
|
private:
|
|
|
|
QThesaurus * form_;
|
|
|
|
};
|
|
|
|
|
2004-05-19 15:11:37 +00:00
|
|
|
} // namespace frontend
|
|
|
|
} // namespace lyx
|
|
|
|
|
2001-08-27 02:54:27 +00:00
|
|
|
#endif // QTHESAURUSDIALOG_H
|