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
|
|
|
|
*
|
|
|
|
* 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
|
|
|
|
2002-09-24 13:57:09 +00:00
|
|
|
#ifdef __GNUG__
|
|
|
|
#pragma interface
|
|
|
|
#endif
|
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
|