blob: 3e9ccad0a0fd555ce3f0bac8c2671687af0e4b04 (
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
|
/***************************************************************************
setpageservers.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 SETPAGESERVERS_H
#define SETPAGESERVERS_H
#include <tqtabwidget.h>
#include <kbuttonbox.h>
#include <tdelistview.h>
#include <klineedit.h>
#include <kcombobox.h>
#include <tqlabel.h>
#include <tqhbox.h>
#include <tqstringlist.h>
#include <tqcheckbox.h>
#include <tqwidget.h>
#include <tqgroupbox.h>
#include <tqpushbutton.h>
#include <tqcheckbox.h>
#include <tqspinbox.h>
#include <tqptrlist.h>
#include <tqlayout.h>
#include "resource.h"
#include "dlg_server.h"
/**
*@author Troy Corbin Jr.
*/
class setPageServers : public TQVBoxLayout
{
Q_OBJECT
public:
setPageServers(TQWidget *parent=0, resource *Rsrc=0);
~setPageServers();
bool resetServer;
public slots:
void slotServer_Add( void );
void slotServer_Modify( void );
void slotServer_Delete( void );
void slotCurrent( int );
void slot_Premove( bool );
void slot_Private( bool );
void slot_Profanity( int );
void slot_Kibitz( bool );
void slot_Tell( bool );
void slot_Shout( bool );
void slot_Seek( bool );
void slot_SeekTimer( int value );
void slot_Auto_Close_ICS( bool state );
signals:
void enableApply( void );
protected slots:
void BuildServerData( void );
void selectionChanged( void );
protected:
void initTab1( void );
void initTab2( void );
private:
resource *Resource;
int margin;
TQTabWidget *TabParent;
/* Tab 1 : Servers */
TQVBox *Tab1;
TQGroupBox *GROUP_Current;
TQGroupBox *GROUP_Servers;
KComboBox *Servers;
TDEListView *Servers_ListView;
KButtonBox *Servers_ButtonBox;
TQPushButton *Servers_Button_Add;
TQPushButton *Servers_Button_Change;
TQPushButton *Servers_Button_Delete;
dlg_server *Server_Dialog;
/* Tab 2 : Options */
TQVBox *Tab2;
TQGroupBox *BOX_Profanity;
KComboBox *COMBO_Profanity;
TQCheckBox *BUTTON_Premove;
TQCheckBox *BUTTON_Private;
TQCheckBox *BUTTON_Kibitz;
TQCheckBox *BUTTON_Tell;
TQCheckBox *BUTTON_Shout;
TQCheckBox *BUTTON_Seek;
TQCheckBox *BUTTON_Auto_Close_ICS;
TQHBox *BOX_SeekTimer;
TQSpinBox *BUTTON_SeekTimer;
TQLabel *LABEL_SeekTimer;
};
#endif
|