1 /***************************************************************************
2     The configuration page for the network settings of Smb4K
3                              -------------------
4     begin                : Sa Nov 15 2003
5     copyright            : (C) 2003-2020 by Alexander Reinholdt
6     email                : alexander.reinholdt@kdemail.net
7  ***************************************************************************/
8 
9 /***************************************************************************
10  *   This program is free software; you can redistribute it and/or modify  *
11  *   it under the terms of the GNU General Public License as published by  *
12  *   the Free Software Foundation; either version 2 of the License, or     *
13  *   (at your option) any later version.                                   *
14  *                                                                         *
15  *   This program is distributed in the hope that it will be useful, but   *
16  *   WITHOUT ANY WARRANTY; without even the implied warranty of            *
17  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU     *
18  *   General Public License for more details.                              *
19  *                                                                         *
20  *   You should have received a copy of the GNU General Public License     *
21  *   along with this program; if not, write to the                         *
22  *   Free Software Foundation, Inc., 51 Franklin Street, Suite 500, Boston,*
23  *   MA 02110-1335, USA                                                    *
24  ***************************************************************************/
25 
26 #ifndef SMB4KCONFIGPAGENETWORK_H
27 #define SMB4KCONFIGPAGENETWORK_H
28 
29 // Qt includes
30 #include <QTabWidget>
31 
32 /**
33  * This is the configuration tab for the network settings
34  * of Smb4K.
35  *
36  * @author Alexander Reinholdt <alexander.reinholdt@kdemail.net>
37  */
38 
39 class Smb4KConfigPageNetwork : public QTabWidget
40 {
41   Q_OBJECT
42 
43   public:
44     /**
45      * The constructor
46      *
47      * @param parent        The parent widget
48      */
49     explicit Smb4KConfigPageNetwork(QWidget *parent = 0);
50 
51     /**
52      * The destructor
53      */
54     ~Smb4KConfigPageNetwork();
55 
56   protected Q_SLOTS:
57 #ifdef USE_SMBC_PROTOCOL
58     /**
59      * This slot is called when the button for setting the SMB protocol
60      * versions is toggled.
61      */
62     void slotSetProtocolVersionsToggled(bool on);
63 #endif
64 
65     /**
66      * This slot is called when the button for setting the Wake-On-LAN
67      * feature is toggled.
68      */
69     void slotEnableWakeOnLanFeatureToggled(bool on);
70 };
71 #endif
72