]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/QRefDialog.h
renaming in frontends/qt4/ui: s/Q//g
[lyx.git] / src / frontends / qt4 / QRefDialog.h
1 // -*- C++ -*-
2 /**
3  * \file QRefDialog.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Kalle Dalheimer
8  * \author John Levon
9  *
10  * Full author contact details are available in file CREDITS.
11  */
12
13 #ifndef QREFDIALOG_H
14 #define QREFDIALOG_H
15
16 #include "ui/RefUi.h"
17
18 #include <QDialog>
19 #include <QCloseEvent>
20
21 class QListWidgetItem;
22
23 namespace lyx {
24 namespace frontend {
25
26 class QRef;
27
28 class QRefDialog : public QDialog, public Ui::QRefUi {
29         Q_OBJECT
30 public:
31         QRefDialog(QRef * form);
32
33         virtual void show();
34
35 public Q_SLOTS:
36         void changed_adaptor();
37         void gotoClicked();
38         void refHighlighted(QListWidgetItem *);
39         void selectionChanged();
40         void refSelected(QListWidgetItem *);
41         void sortToggled(bool);
42         void updateClicked();
43
44 protected Q_SLOTS:
45         void reset_dialog();
46 protected:
47         void closeEvent(QCloseEvent * e);
48 private:
49         QRef * form_;
50 };
51
52 } // namespace frontend
53 } // namespace lyx
54
55 #endif // QREFDIALOG_H