1
/***************************************************************************
2
sharedlgimpl.h - description
4
begin : Tue June 6 2002
5
copyright : (C) 2002 by Jan Schäfer
6
email : janschaefer@users.sourceforge.net
7
***************************************************************************/
9
/******************************************************************************
11
* This file is part of KSambaPlugin. *
13
* KSambaPlugin is free software; you can redistribute it and/or modify *
14
* it under the terms of the GNU General Public License as published by *
15
* the Free Software Foundation; either version 2 of the License, or *
16
* (at your option) any later version. *
18
* KSambaPlugin is distributed in the hope that it will be useful, *
19
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
20
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
21
* GNU General Public License for more details. *
23
* You should have received a copy of the GNU General Public License *
24
* along with KSambaPlugin; if not, write to the Free Software *
25
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA *
27
******************************************************************************/
29
#ifndef SHAREDLGIMPL_H
30
#define SHAREDLGIMPL_H
37
#include <q3ptrlist.h>
51
* This class implements the share.ui interface
53
class ShareDlgImpl : public QDialog, public Ui::KcmShareDlg
59
ShareDlgImpl(QWidget* parent, SambaShare* share);
62
bool hasChanged() { return m_changed; }
67
* Fills all dialog fields with the values
68
* of the SambaShare object
73
* The share object to change with this dialog
77
HiddenFileView* _fileView;
78
UserTabImpl* _userTab;
81
DictManager* _dictMngr;
83
void loadHiddenFilesView();
84
void initAdvancedTab();
87
virtual void accept();
88
virtual void homeChkToggled(bool);
89
virtual void accessModifierBtnClicked();
90
virtual void changedSlot();
91
virtual void pathUrlRq_textChanged( const QString & );
92
void buttonHelp_clicked();
93
void oplocksChk_toggled( bool b);
94
void tabChangedSlot(QWidget* w);
95
void publicBaseChk_toggled( bool b);
96
void lockingChk_toggled( bool b);
97
void oplockContentionLimitSpin_valueChanged( int i);
98
void fakeOplocksChk_toggled( bool b);
99
void storeDosAttributesChk_toggled( bool b);
101
void userOnlyChk_toggled( bool b);
102
void guestOnlyChk_toggled( bool b);