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

#ifndef UI_USERSELECTDLG_H
#define UI_USERSELECTDLG_H

#include <ntqvariant.h>
#include <ntqdialog.h>
#include "sambashare.h"

class TQVBoxLayout;
class TQHBoxLayout;
class TQGridLayout;
class TQSpacerItem;
class TQGroupBox;
class TQListView;
class TQListViewItem;
class TQButtonGroup;
class TQRadioButton;
class TQFrame;
class TQPushButton;

class UserSelectDlg : public TQDialog
{
    TQ_OBJECT

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

    TQGroupBox* groupBox87;
    TQListView* userListView;
    TQButtonGroup* accessBtnGrp;
    TQRadioButton* defaultRadio;
    TQRadioButton* readRadio;
    TQRadioButton* writeRadio;
    TQRadioButton* adminRadio;
    TQRadioButton* noAccessRadio;
    TQFrame* frame16;
    TQPushButton* buttonOk;
    TQPushButton* buttonCancel;

public slots:
    virtual void init( const TQStringList & specifiedUsers, SambaShare * share );
    TQStringList getSelectedUsers();
    int getAccess();

protected:
    TQStringList selectedUsers;
    int access;

    TQGridLayout* UserSelectDlgLayout;
    TQSpacerItem* spacer90;
    TQVBoxLayout* groupBox87Layout;
    TQVBoxLayout* accessBtnGrpLayout;
    TQHBoxLayout* Layout1;
    TQSpacerItem* Horizontal_Spacing2;

protected slots:
    virtual void languageChange();

    virtual void accept();


};

#endif // USERSELECTDLG_H
