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
|
/***************************************************************************
* Copyright (C) 2005 by Danny Kukawka *
* danny.kukawka@web.de, dkukawka@suse.de *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of version 2 of the GNU General Public License *
* as published by the Free Software Foundation. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
/*!
* \file blacklisteditdialog.h
* \brief Headerfile for blacklisteditdialog.cpp and the class \ref
* blacklistEditDialog .
*/
/*!
* \class blacklistEditDialog
* \brief class for dialog to edit the blacklist related funtionality
* \author Danny Kukawka, <dkukawka@suse.de>, <danny.kukawka@web.de>
* \date 2005
*/
#ifndef BLACKLISTEDITDIALOG_H
#define BLACKLISTEDITDIALOG_H
#include "blacklistedit_Dialog.h"
class blacklistEditDialog: public blacklistedit_Dialog {
TQ_OBJECT
public:
//! default constructor
blacklistEditDialog(TQStringList blacklisted, TQString captionName, bool initImport = false,
TQWidget *parent = 0, const char *name = 0);
//! default destructor
~blacklistEditDialog();
private:
//! TQStringList with the blacklisted processes
/*!
* This TQStringList contains the given blacklisted processes
* for edit. If the dialog changed, we change also this list.
*/
TQStringList blacklist;
//! to tell if the blacklist was changed
/*!
* This boolean value tells if the current blacklist was changed.
* \li true: if the blacklist changed
* \li false: if the blacklist isn't changed
*/
bool changed;
private slots:
//! called if the 'ok' button clicked
void buttonOk_released();
//! called if the 'cancel' button clicked
void buttonCancel_released();
//! called if the 'remove' button clicked
void pB_remove_released();
//! called if the 'add' button clicked
void pB_add_released();
//! called if a item of the listbox selected
void lB_blacklist_currentChanged();
//! called if something input in the TQLineEdit
void lE_blacklist_textChanged();
signals:
//! signal emited if the configuration finished
/*!
* This signal is emited if the configuration is finished
* and the blacklist was modified-
* \return TQStringList (the modified blacklist)
*/
void config_finished( TQStringList );
};
#endif
|