2001-08-27 02:54:27 +00:00
|
|
|
/**
|
|
|
|
* \file QThesaurusDialog.h
|
|
|
|
* Copyright 2001 the LyX Team
|
|
|
|
* Read the file COPYING
|
|
|
|
*
|
|
|
|
* \author John Levon <moz@compsoc.man.ac.uk>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef QTHESAURUSDIALOG_H
|
|
|
|
#define QTHESAURUSDIALOG_H
|
2002-03-21 21:21:28 +00:00
|
|
|
|
2001-08-27 02:54:27 +00:00
|
|
|
#include <config.h>
|
2002-03-21 21:21:28 +00:00
|
|
|
|
2001-08-27 02:54:27 +00:00
|
|
|
#include "ui/QThesaurusDialogBase.h"
|
|
|
|
|
|
|
|
class QThesaurus;
|
2002-01-16 23:56:25 +00:00
|
|
|
class QListViewItem;
|
2001-08-27 02:54:27 +00:00
|
|
|
|
|
|
|
class QThesaurusDialog : public QThesaurusDialogBase
|
|
|
|
{ Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
QThesaurusDialog(QThesaurus * form);
|
|
|
|
|
|
|
|
void updateLists();
|
2002-03-21 21:21:28 +00:00
|
|
|
|
2001-08-27 02:54:27 +00:00
|
|
|
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_;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // QTHESAURUSDIALOG_H
|