/****************************************************************************
** Form interface generated from reading ui file 'share.ui'
**
** Created by: The TQt user interface compiler (TQt 3.5.0)
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/

#ifndef UI_KCMSHAREDLG_H
#define UI_KCMSHAREDLG_H

#include <ntqvariant.h>
#include <ntqdialog.h>
#include <klineedit.h>
#include <knuminput.h>
#include <krestrictedline.h>
#include <kurlrequester.h>
#include <tdelistview.h>

class TQVBoxLayout;
class TQHBoxLayout;
class TQGridLayout;
class TQSpacerItem;
class TQTabWidget;
class TQWidget;
class TQFrame;
class TQLabel;
class TQGroupBox;
class KURLRequester;
class TQCheckBox;
class KLineEdit;
class TQComboBox;
class TQLineEdit;
class TDEListView;
class TQToolButton;
class KRestrictedLine;
class KIntSpinBox;
class TQPushButton;

class KcmShareDlg : public TQDialog
{
    TQ_OBJECT

public:
    KcmShareDlg( TQWidget* parent = 0, const char* name = 0, bool modal = false, WFlags fl = 0 );
    ~KcmShareDlg();

    TQTabWidget* _tabs;
    TQWidget* baseTab;
    TQFrame* pixmapFrame;
    TQLabel* directoryPixLbl;
    TQGroupBox* directoryGrp;
    TQLabel* TextLabel1;
    KURLRequester* pathUrlRq;
    TQCheckBox* homeChk;
    TQGroupBox* identifierGrp;
    TQLabel* Lbl_shareName;
    TQLabel* TextLabel3;
    KLineEdit* commentEdit;
    KLineEdit* shareNameEdit;
    TQGroupBox* GroupBox4;
    TQCheckBox* readOnlyBaseChk;
    TQCheckBox* publicBaseChk;
    TQCheckBox* browseableBaseChk;
    TQCheckBox* availableBaseChk;
    TQWidget* securityTab;
    TQGroupBox* groupBox19;
    TQComboBox* guestAccountCombo;
    TQLabel* guestAccountLbl;
    TQCheckBox* guestOnlyChk;
    TQGroupBox* groupBox18;
    TQLineEdit* hostsDenyEdit;
    TQLabel* TextLabel5;
    TQLabel* TextLabel6;
    TQLineEdit* hostsAllowEdit;
    TQGroupBox* groupBox17;
    TQCheckBox* followSymlinksChk;
    TQCheckBox* wideLinksChk;
    TQLabel* TextLabel2_4_2;
    TQLineEdit* userNameEdit;
    TQCheckBox* onlyUserChk;
    TQWidget* hiddenFilesTab;
    TDEListView* hiddenListView;
    TQGroupBox* selGrpBx;
    TQCheckBox* hiddenChk;
    TQCheckBox* vetoChk;
    TQCheckBox* vetoOplockChk;
    TQGroupBox* GroupBox13_2;
    TQLabel* TextLabel2_2;
    TQLabel* TextLabel2_2_2;
    TQLineEdit* hiddenEdit;
    TQLineEdit* vetoOplockEdit;
    TQLineEdit* vetoEdit;
    TQLabel* TextLabel1_3;
    TQCheckBox* hideUnwriteableFilesChk;
    TQCheckBox* hideSpecialFilesChk;
    TQCheckBox* hideDotFilesChk;
    TQCheckBox* hideUnreadableChk;
    TQWidget* advancedTab;
    TQFrame* advancedFrame;
    TQFrame* Frame26;
    TQLabel* PixmapLabel1;
    TQLabel* TextLabel1_4;
    TQWidget* advancedDumpTabPage;
    TQTabWidget* advancedDumpTab;
    TQWidget* tab;
    TQGroupBox* GroupBox11_2;
    TQLabel* TextLabel5_2_3_2_2_2_2;
    TQLabel* TextLabel5_2_3_2_3;
    TQLabel* TextLabel5_2_3_2_2_3;
    TQLabel* TextLabel5_2_3_3;
    TQToolButton* forceDirectoryModeBtn;
    TQToolButton* forceDirectorySecurityModeBtn;
    KRestrictedLine* forceCreateModeEdit;
    KRestrictedLine* forceSecurityModeEdit;
    KRestrictedLine* forceDirectoryModeEdit;
    KRestrictedLine* forceDirectorySecurityModeEdit;
    TQToolButton* forceSecurityModeBtn;
    TQToolButton* forceCreateModeBtn;
    TQGroupBox* GroupBox10_2;
    TQLabel* TextLabel5_2_4_2_2_2;
    TQLabel* TextLabel5_2_4_3;
    TQLabel* TextLabel5_2_4_2_3;
    TQToolButton* securityMaskBtn;
    TQToolButton* directoryMaskBtn;
    TQToolButton* directorySecurityMaskBtn;
    KRestrictedLine* securityMaskEdit;
    KRestrictedLine* directoryMaskEdit;
    KRestrictedLine* directorySecurityMaskEdit;
    TQLabel* TextLabel5_2_2;
    KRestrictedLine* createMaskEdit;
    TQToolButton* createMaskBtn;
    TQGroupBox* groupBox56;
    TQCheckBox* profileAclsChk;
    TQCheckBox* inheritAclsChk;
    TQCheckBox* ntAclSupportChk;
    TQLabel* TextLabel5_2_2_2;
    TQCheckBox* mapAclInheritChk;
    KRestrictedLine* forceUnknownAclUserEdit;
    TQGroupBox* groupBox58;
    TQCheckBox* inheritPermissionsChk;
    TQCheckBox* deleteReadonlyChk;
    TQGroupBox* groupBox57;
    TQCheckBox* mapArchiveChk;
    TQCheckBox* mapHiddenChk;
    TQCheckBox* mapSystemChk;
    TQCheckBox* storeDosAttributesChk;
    TQGroupBox* groupBox76;
    TQCheckBox* eaSupportChk;
    TQWidget* tab_2;
    TQCheckBox* syncAlwaysChk;
    TQCheckBox* strictSyncChk;
    TQCheckBox* strictAllocateChk;
    TQCheckBox* useSendfileChk;
    TQLabel* textLabel1;
    TQLabel* textLabel3;
    TQLabel* TextLabel1_7_2;
    TQLabel* TextLabel5_3_2_2;
    TQComboBox* cscPolicyCombo;
    TQLabel* TextLabel1_7;
    KIntSpinBox* maxConnectionsSpin;
    KIntSpinBox* blockSizeSpin;
    TQLabel* TextLabel5_3_4;
    KIntSpinBox* writeCacheSizeSpin;
    TQWidget* tab_3;
    TQGroupBox* GroupBox9;
    TQCheckBox* hideTrailingDotChk;
    TQGroupBox* GroupBox15;
    TQCheckBox* dosFilemodeChk;
    TQCheckBox* dosFiletimesChk;
    TQCheckBox* dosFiletimeResolutionChk;
    TQGroupBox* GroupBox5;
    TQLabel* TextLabel3_2_2;
    TQLineEdit* manglingCharEdit;
    TQLabel* TextLabel1_5;
    TQLineEdit* mangledMapEdit;
    TQCheckBox* mangledNamesChk;
    TQCheckBox* mangleCaseChk;
    TQLabel* textLabel2;
    TQComboBox* manglingMethodCombo;
    TQCheckBox* preserveCaseChk;
    TQCheckBox* shortPreserveCaseChk;
    TQLabel* TextLabel2_3;
    TQComboBox* defaultCaseCombo;
    TQComboBox* caseSensitiveCombo;
    TQLabel* TextLabel2_3_3;
    TQWidget* tab_4;
    TQGroupBox* groupBox47;
    TQCheckBox* oplocksChk;
    TQGroupBox* groupBox59;
    KIntSpinBox* oplockContentionLimitSpin;
    TQLabel* TextLabel5_3_3_2_2;
    TQCheckBox* level2OplocksChk;
    TQCheckBox* fakeOplocksChk;
    TQCheckBox* shareModesChk;
    TQCheckBox* posixLockingChk;
    TQLabel* TextLabel2_3_2;
    TQComboBox* strictLockingCombo;
    TQCheckBox* blockingLocksChk;
    TQCheckBox* lockingChk;
    TQWidget* tab_5;
    TQLineEdit* vfsObjectsEdit;
    TQLabel* TextLabel1_6;
    TQLabel* TextLabel1_6_2;
    TQLineEdit* vfsOptionsEdit;
    TQWidget* tab_6;
    TQCheckBox* preexecCloseChk;
    TQCheckBox* rootPreexecCloseChk;
    TQLabel* TextLabel4;
    TQLabel* TextLabel5_2;
    TQLabel* TextLabel2;
    TQLineEdit* preexecEdit;
    TQLabel* TextLabel5_2_4;
    TQLineEdit* postexecEdit;
    TQLineEdit* rootPreexecEdit;
    TQLineEdit* rootPostexecEdit;
    TQWidget* tab_7;
    TQLabel* TextLabel6_2_2;
    TQLineEdit* fstypeEdit;
    TQLineEdit* magicScriptEdit;
    TQLabel* TextLabel6_2_3;
    TQLabel* TextLabel6_2;
    TQLineEdit* magicOutputEdit;
    TQLabel* TextLabel6_2_2_2;
    TQCheckBox* fakeDirectoryCreateTimesChk;
    TQCheckBox* msdfsRootChk;
    TQCheckBox* setDirectoryChk;
    TQLabel* TextLabel6_2_3_2;
    TQLineEdit* dontDescendEdit;
    TQLabel* TextLabel6_2_3_2_2;
    TQLineEdit* msdfsProxyEdit;
    TQLineEdit* volumeEdit;
    TQPushButton* buttonHelp;
    TQPushButton* buttonOk;
    TQPushButton* buttonCancel;

public slots:
    virtual void trytoAccept();
    virtual void homeChkToggled( bool );
    virtual void addAllowedUserBtnClicked();
    virtual void removeAllowedUserBtnClicked();
    virtual void guestOnlyChk_toggled( bool b );
    virtual void userOnlyChk_toggled( bool b );
    virtual void publicBaseChk_toggled( bool b );
    virtual void pathUrlRq_textChanged( const TQString & );
    virtual void oplocksChk_toggled( bool b );
    virtual void lockingChk_toggled( bool b );
    virtual void fakeOplocksChk_toggled( bool b );
    virtual void oplockContentionLimitSpin_valueChanged( int i );
    virtual void storeDosAttributesChk_toggled( bool b );
    virtual void buttonHelp_clicked();

protected:
    TQVBoxLayout* KcmShareDlgLayout;
    TQVBoxLayout* baseTabLayout;
    TQSpacerItem* Spacer42;
    TQHBoxLayout* Layout52;
    TQVBoxLayout* pixmapFrameLayout;
    TQVBoxLayout* directoryGrpLayout;
    TQHBoxLayout* Layout2;
    TQGridLayout* identifierGrpLayout;
    TQVBoxLayout* GroupBox4Layout;
    TQVBoxLayout* securityTabLayout;
    TQSpacerItem* Spacer31;
    TQGridLayout* groupBox19Layout;
    TQSpacerItem* Spacer27;
    TQGridLayout* groupBox18Layout;
    TQVBoxLayout* groupBox17Layout;
    TQVBoxLayout* hiddenFilesTabLayout;
    TQHBoxLayout* selGrpBxLayout;
    TQVBoxLayout* GroupBox13_2Layout;
    TQGridLayout* layout18;
    TQGridLayout* layout52;
    TQVBoxLayout* advancedTabLayout;
    TQHBoxLayout* Layout92;
    TQVBoxLayout* advancedDumpTabPageLayout;
    TQGridLayout* tabLayout;
    TQSpacerItem* Spacer62;
    TQGridLayout* GroupBox11_2Layout;
    TQGridLayout* GroupBox10_2Layout;
    TQGridLayout* groupBox56Layout;
    TQVBoxLayout* groupBox58Layout;
    TQVBoxLayout* groupBox57Layout;
    TQVBoxLayout* groupBox76Layout;
    TQGridLayout* tabLayout_2;
    TQSpacerItem* Spacer53;
    TQSpacerItem* Spacer55;
    TQVBoxLayout* Layout54;
    TQVBoxLayout* GroupBox9Layout;
    TQVBoxLayout* GroupBox15Layout;
    TQHBoxLayout* Layout14;
    TQSpacerItem* Spacer40_2;
    TQGridLayout* tabLayout_3;
    TQSpacerItem* Spacer51;
    TQGridLayout* groupBox47Layout;
    TQGridLayout* groupBox59Layout;
    TQSpacerItem* spacer23;
    TQHBoxLayout* layout9;
    TQSpacerItem* spacer15;
    TQGridLayout* tabLayout_4;
    TQSpacerItem* Spacer14;
    TQGridLayout* tabLayout_5;
    TQSpacerItem* Spacer16;
    TQGridLayout* tabLayout_6;
    TQSpacerItem* Spacer15;
    TQHBoxLayout* Layout1;
    TQSpacerItem* Horizontal_Spacing2;

protected slots:
    virtual void languageChange();

    virtual void accessModifierBtnClicked();
    virtual void changedSlot();


private slots:
    virtual void checkValues();
    void init();

};

#endif // KCMSHAREDLG_H
