Logo Search packages:      
Sourcecode: qtsmbstatus version File versions  Download package

void ClientSocket::AnalysisSmbstatus (  )  [private]

Interpret smbstatus reply.

See also:
smbstatus

Definition at line 285 of file clientsocket.cpp.

References add_lockedfile(), add_share(), add_user(), AnalysisSmbDestroyed(), server::mark_childs(), smbstatus::RQ_smbstatus(), and setSambaVersion().

Referenced by core().

{
      debugQt("ClientSocket::AnalysisSmbstatus()");
      // mark items of listview first
      item_server->mark_childs();
      InstanceSmbstatus = new smbstatus(ListSmbstatus,this);

      // InstanceSmbstatus sends samba version
      connect (InstanceSmbstatus,SIGNAL(setSambaVersion (const QString &)),this,SLOT(setSambaVersion (const QString &)));
      // InstanceSmbstatus has found a share
      connect (InstanceSmbstatus,SIGNAL(add_share(const QString &,const QString &,const QString &)),this,SLOT(add_share(const QString &,const QString &,const QString &)));
      // InstanceSmbstatus has found an user
      connect (InstanceSmbstatus,SIGNAL(add_user (const QString &,const QString &,const QString &,const QString &,const QString &)),this,SLOT(add_user (const QString &,const QString &,const QString &,const QString &,const QString &)));
      // InstanceSmbstatus has found a file opened (locked file)
      connect (InstanceSmbstatus,SIGNAL(add_lockedfile(const QString &,const QString &,const QString &,const QString &,const QString &,const QString &)),this,SLOT(add_lockedfile(const QString &,const QString &,const QString &,const QString &,const QString &,const QString &)));
      //  InstanceSmbstatus has finished his work
      connect (InstanceSmbstatus,SIGNAL(destroyed ()),this,SLOT(AnalysisSmbDestroyed()));
      // Start analysis
      InstanceSmbstatus->RQ_smbstatus();
}


Generated by  Doxygen 1.6.0   Back to index