user Class Reference

Class of user items. More...

List of all members.

Public Member Functions

bool append_lockedfile (const QString &PID, const QString &File, const QString &DenyMode, const QString &RW, const QString &Oplock, const QString &DateOpen)
bool append_share (const QString &PID, const QString &Share, const QString &DateOpen)
void mark_childs ()
void refresh_childs ()
 user (Q3ListViewItem *parent, const QString &PID, const QString &Username, const QString &Group)
virtual ~user ()

Public Attributes

QString group
bool mark
QString pid
QString username

Static Public Attributes

static int compteur_objet = 0


Detailed Description

Class of user items.

Date:
2007-07-05
Version:
1.1
Author:
Daniel Rocher
See also:
server machine service
'user' is parent of 'service' and child of 'machine'

Constructor & Destructor Documentation

user::user ( Q3ListViewItem *  parent,
const QString &  PID,
const QString &  Username,
const QString &  Group 
)

user::~user (  )  [virtual]


Member Function Documentation

bool user::append_lockedfile ( const QString &  PID,
const QString &  File,
const QString &  DenyMode,
const QString &  RW,
const QString &  Oplock,
const QString &  DateOpen 
)

add lockedfile if not exist

Return values:
true already exist
false is new

bool user::append_share ( const QString &  PID,
const QString &  Share,
const QString &  DateOpen 
)

add share if not exist

Return values:
true already exist
false is new

void user::mark_childs (  ) 

Mark all children.

void user::refresh_childs (  ) 

Refresh view. Delete obsolete objects (mark = false).

See also:
mark_childs


Member Data Documentation

int user::compteur_objet = 0 [static]

QString user::group

bool user::mark

QString user::pid

QString user::username


The documentation for this class was generated from the following files:
Generated on Fri Nov 2 21:45:00 2007 for qtsmbstatus.kdevelop by  doxygen 1.5.3