lyx_mirror/src/frontends/qt4/QThesaurusDialog.h
Lars Gullik Bjønnes 12e5a52b92 Added initial qt4 work by Abdelrazak Younes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13294 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-05 17:24:44 +00:00

49 lines
973 B
C++

// -*- C++ -*-
/**
* \file QThesaurusDialog.h
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author John Levon
*
* Full author contact details are available in file CREDITS.
*/
#ifndef QTHESAURUSDIALOG_H
#define QTHESAURUSDIALOG_H
#include "ui/QThesaurusUi.h"
#include <QDialog>
#include <QCloseEvent>
class Q3ListViewItem;
namespace lyx {
namespace frontend {
class QThesaurus;
class QThesaurusDialog : public QDialog, public Ui::QThesaurusUi {
Q_OBJECT
public:
QThesaurusDialog(QThesaurus * form);
void updateLists();
protected slots:
virtual void change_adaptor();
virtual void entryChanged();
virtual void replaceClicked();
virtual void selectionChanged(Q3ListViewItem *);
virtual void selectionClicked(Q3ListViewItem *);
protected:
virtual void closeEvent(QCloseEvent * e);
private:
QThesaurus * form_;
};
} // namespace frontend
} // namespace lyx
#endif // QTHESAURUSDIALOG_H