diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 17:25:33 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 17:25:33 -0600 |
commit | 480b2ec3207b367dc7323cfbdda69da451320908 (patch) | |
tree | 1b08a7b96dabb61a756d16931120ade2e0187a3d /src/blactdelisteditdialog.h | |
parent | 838c12479705e754efacfa4ffc2f919af2570f5e (diff) | |
download | kpowersave-480b2ec3207b367dc7323cfbdda69da451320908.tar.gz kpowersave-480b2ec3207b367dc7323cfbdda69da451320908.zip |
Fix FTBFS
Diffstat (limited to 'src/blactdelisteditdialog.h')
-rw-r--r-- | src/blactdelisteditdialog.h | 95 |
1 files changed, 95 insertions, 0 deletions
diff --git a/src/blactdelisteditdialog.h b/src/blactdelisteditdialog.h new file mode 100644 index 0000000..8ae17db --- /dev/null +++ b/src/blactdelisteditdialog.h @@ -0,0 +1,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 { + + Q_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 |