summaryrefslogtreecommitdiffstats
path: root/src/blacklisteditdialog.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 23:14:17 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 23:14:17 -0600
commit50b2bf536162a595896d2c25b45bc73193f4cabb (patch)
tree5f1d2886fdee88567f5b1f27614ea74a80b2a128 /src/blacklisteditdialog.h
parent0ea447b797dbc97f06ac4035147df34a12a54017 (diff)
downloadtdepowersave-50b2bf536162a595896d2c25b45bc73193f4cabb.tar.gz
tdepowersave-50b2bf536162a595896d2c25b45bc73193f4cabb.zip
Rename many classes and header files to avoid conflicts with KDE4
Diffstat (limited to 'src/blacklisteditdialog.h')
-rw-r--r--src/blacklisteditdialog.h95
1 files changed, 95 insertions, 0 deletions
diff --git a/src/blacklisteditdialog.h b/src/blacklisteditdialog.h
new file mode 100644
index 0000000..8ae17db
--- /dev/null
+++ b/src/blacklisteditdialog.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