lyx_mirror/src/frontends/qt4/QThesaurusDialog.h
Lars Gullik Bjønnes d2b2aa8124 Make signals and slots to not be defined, and replace them with Q_SIGNALS and Q_SLOTS
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14277 a592a061-630c-0410-9148-cb99ea01b6c8
2006-06-30 14:37:33 +00:00

50 lines
1017 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 QTreeWidgetItem;
namespace lyx {
namespace frontend {
class QThesaurus;
class QThesaurusDialog : public QDialog, public Ui::QThesaurusUi {
Q_OBJECT
public:
QThesaurusDialog(QThesaurus * form);
void updateLists();
protected Q_SLOTS:
virtual void change_adaptor();
virtual void entryChanged();
virtual void replaceClicked();
virtual void selectionChanged();
virtual void selectionClicked(QTreeWidgetItem *, int);
virtual void itemClicked(QTreeWidgetItem *, int);
protected:
virtual void closeEvent(QCloseEvent * e);
private:
QThesaurus * form_;
};
} // namespace frontend
} // namespace lyx
#endif // QTHESAURUSDIALOG_H