]> git.lyx.org Git - lyx.git/blob - src/frontends/kde/kdeBC.h
implement getLabelList
[lyx.git] / src / frontends / kde / kdeBC.h
1 /**
2  * \file kdeBC.h
3  * Copyright 2001 the LyX Team
4  * Read the file COPYING
5  *
6  * \author Angus Leeming, <a.leeming@ic.ac.uk>
7  */
8
9 #ifndef KDEBC_H
10 #define KDEBC_H
11
12 #ifdef __GNUG__
13 #pragma interface
14 #endif
15
16 #include "ButtonControllerBase.h"
17 #include "ButtonController.h"
18
19 class QWidget;
20 class QPushButton;
21
22 class kdeBC : public GuiBC<QPushButton, QWidget>
23 {
24 public:
25         ///
26         kdeBC(string const & cancel, string const & close);
27
28 private:
29         /// enable or disable button
30         void setButtonEnabled(QPushButton * btn, bool enabled);
31
32         /// enable or disable button
33         void setWidgetEnabled(QWidget * obj, bool enabled);
34
35         /// set the label on the button
36         void setButtonLabel(QPushButton * btn, string const & label);
37 };
38
39 #endif // KDEBC_H