1
/***************************************************************************
2
smb4kcustomoptionsmanager_p - Private helper classes for
3
Smb4KCustomOptionsManager class
6
copyright : (C) 2011 by Alexander Reinholdt
7
email : alexander.reinholdt@kdemail.net
8
***************************************************************************/
10
/***************************************************************************
11
* This program is free software; you can redistribute it and/or modify *
12
* it under the terms of the GNU General Public License as published by *
13
* the Free Software Foundation; either version 2 of the License, or *
14
* (at your option) any later version. *
16
* This program is distributed in the hope that it will be useful, but *
17
* WITHOUT ANY WARRANTY; without even the implied warranty of *
18
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
19
* General Public License for more details. *
21
* You should have received a copy of the GNU General Public License *
22
* along with this program; if not, write to the *
23
* Free Software Foundation, 51 Franklin Street, Suite 500, Boston, *
24
* MA 02110-1335, USA *
25
***************************************************************************/
27
#ifndef SMB4KCUSTOMOPTIONSMANAGER_P_H
28
#define SMB4KCUSTOMOPTIONSMANAGER_P_H
39
#include <klineedit.h>
40
#include <knuminput.h>
41
#include <kcombobox.h>
43
// application specific includes
44
#include <smb4kcustomoptionsmanager.h>
45
#include <smb4kcustomoptions.h>
47
class Smb4KCustomOptionsDialog : public KDialog
55
Smb4KCustomOptionsDialog( Smb4KCustomOptions *options,
56
QWidget *parent = 0 );
61
~Smb4KCustomOptionsDialog();
64
void slotSetDefaultValues();
65
void slotCheckValues();
71
Smb4KCustomOptions *m_options;
72
KIntNumInput *m_smb_port;
74
KIntNumInput *m_fs_port;
75
KComboBox *m_write_access;
77
KComboBox *m_protocol_hint;
79
KComboBox *m_group_id;
80
QCheckBox *m_kerberos;
84
class Smb4KCustomOptionsManagerPrivate
87
Smb4KCustomOptionsManagerPrivate();
88
~Smb4KCustomOptionsManagerPrivate();
89
Smb4KCustomOptionsManager instance;