blob: 05f322b915bd7404a7ae583b0321da6c8b1bbea3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
|
/***************************************************************************
setpageengines.h - description
-------------------
begin : Thu Aug 16 2001
copyright : (C) 2003 by Troy Corbin Jr.
email : tcorbin@users.sourceforge.net
***************************************************************************/
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
#ifndef SETPAGEENGINES_H
#define SETPAGEENGINES_H
#include <kbuttonbox.h>
#include <klistview.h>
#include <kcombobox.h>
#include <tqstringlist.h>
#include <tqcheckbox.h>
#include <tqwidget.h>
#include <tqgroupbox.h>
#include <tqptrlist.h>
#include <tqhbox.h>
#include <tqlayout.h>
#include "resource.h"
#include "dlg_engine.h"
/**
*@author Troy Corbin Jr.
*/
class setPageEngines : public TQVBoxLayout
{
Q_OBJECT
public:
setPageEngines(TQWidget *parent=0, resource *Rsrc=0);
~setPageEngines();
public slots:
void slotEngine_Add( void );
void slotEngine_Modify( void );
void slotEngine_Delete( void );
void slotCurrent_White( int );
void slotCurrent_White_Book( int );
void slotCurrent_Black( int );
void slotCurrent_Black_Book( int );
void slotToggle_White_Book( bool );
void slotToggle_Black_Book( bool );
signals:
void enableApply( void );
protected slots:
void BuildEngineData( void );
void selectionChanged( void );
private:
TQWidget *Parent;
resource *Resource;
TQHBox *BOX_Current;
TQGroupBox *GROUP_White_Current;
KComboBox *Engines_White;
TQCheckBox *White_Use_Book;
KComboBox *Engines_White_Book;
TQGroupBox *GROUP_Black_Current;
KComboBox *Engines_Black;
TQCheckBox *Black_Use_Book;
KComboBox *Engines_Black_Book;
TQGroupBox *GROUP_Engines;
KListView *Engines_ListView;
KButtonBox *Engines_ButtonBox;
TQPushButton *Engines_Button_Add;
TQPushButton *Engines_Button_Change;
TQPushButton *Engines_Button_Delete;
dlg_engine *Engine_Dialog;
};
#endif
|