summaryrefslogtreecommitdiffstats
path: root/smb4k/configdlg/smb4ksuperuseroptions.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-03-01 18:55:11 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-03-01 18:55:11 +0000
commit854bf52eebd2da47ff45f6ae85f4cb89bae89876 (patch)
tree24fa0a7eabb9c300a1655d665f72327fe5ab3464 /smb4k/configdlg/smb4ksuperuseroptions.h
downloadsmb4k-854bf52eebd2da47ff45f6ae85f4cb89bae89876.tar.gz
smb4k-854bf52eebd2da47ff45f6ae85f4cb89bae89876.zip
Added old KDE3 version of SMB4K
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/smb4k@1097609 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'smb4k/configdlg/smb4ksuperuseroptions.h')
-rw-r--r--smb4k/configdlg/smb4ksuperuseroptions.h79
1 files changed, 79 insertions, 0 deletions
diff --git a/smb4k/configdlg/smb4ksuperuseroptions.h b/smb4k/configdlg/smb4ksuperuseroptions.h
new file mode 100644
index 0000000..86c705e
--- /dev/null
+++ b/smb4k/configdlg/smb4ksuperuseroptions.h
@@ -0,0 +1,79 @@
+/***************************************************************************
+ smb4ksuperuseroptions - The configuration page for the super user
+ settings of Smb4K
+ -------------------
+ begin : Sa Okt 30 2004
+ copyright : (C) 2004-2007 by Alexander Reinholdt
+ email : dustpuppy@users.berlios.de
+ ***************************************************************************/
+
+/***************************************************************************
+ * 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. *
+ * *
+ * 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 *
+ ***************************************************************************/
+
+#ifndef SMB4KSUPERUSEROPTIONS_H
+#define SMB4KSUPERUSEROPTIONS_H
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+// Qt includes
+#include <qwidget.h>
+
+/**
+ * This is the configuration tab where the user can determine
+ * whether he/she wants to use the program super or sudo to
+ * gain super user privileges.
+ *
+ * @author Alexander Reinholdt <dustpuppy@users.berlios.de>
+ */
+
+class Smb4KSuperUserOptions : public QWidget
+{
+ Q_OBJECT
+
+ public:
+ /**
+ * The constructor
+ *
+ * @param parent The parent widget
+ *
+ * @param name The name of this widget
+ */
+ Smb4KSuperUserOptions( QWidget *parent = 0, const char *name = 0 );
+ /**
+ * The destructor
+ */
+ ~Smb4KSuperUserOptions();
+
+ signals:
+ /**
+ * This signal is emitted when the "Remove Entries" button has been
+ * clicked. It is provided for convenience. You could also connect
+ * to the clicked() signal.
+ */
+ void removeEntries();
+
+ protected slots:
+ /**
+ * This slot is activated when the "Remove Entries" button has been
+ * clicked.
+ */
+ void slotRemoveClicked();
+};
+
+#endif