]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/checkedwidgets.h
Rename .C ==> .cpp for files in src/frontends/qt4, part one
[lyx.git] / src / frontends / qt4 / checkedwidgets.h
1 // -*- C++ -*-
2 /**
3  * \file qt4/CheckedLineEdit.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Angus Leeming
8  *
9  * Full author contact details are available in file CREDITS.
10  */
11
12 #ifndef CHECKEDLINEEDIT_H
13 #define CHECKEDLINEEDIT_H
14
15 #include "BCView.h"
16
17 class QWidget;
18 class QLineEdit;
19
20 namespace lyx {
21 namespace frontend {
22
23 void addCheckedLineEdit(BCView & bcview,
24         QLineEdit * input, QWidget * label = 0);
25
26 class CheckedLineEdit : public CheckedWidget {
27 public:
28         CheckedLineEdit(QLineEdit * input, QWidget * label = 0);
29
30 private:
31         ///
32         virtual bool check() const;
33
34         ///
35         QLineEdit * input_;
36         QWidget * label_;
37 };
38
39 } // namespace frontend
40 } // namespace lyx
41
42 #endif // CHECKEDLINEEDIT_H