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

void ClientSocket::slotSendMessageAllUsers (  )  [private, slot]

send out messages (popupwindows) to all users

See also:

Definition at line 495 of file clientsocket.cpp.

References machine::machine_name, and sendToServer().

Referenced by slotPopupMenu().

      machine* Item;
      bool ok;
      QString message = QInputDialog::getText(
            "QtSmbstatus", tr("Message to send")+":", QLineEdit::Normal,
            QString::null, &ok, 0 );

      if ( !ok || message.isEmpty() ) return;
      if (!ssl_connected) return;
      Item=dynamic_cast<machine *>(item_server->firstChild ());

      while( Item ) // all machines
            if (!ssl_connected) return;
            Item=dynamic_cast<machine *>(Item->nextSibling ()); // next

Generated by  Doxygen 1.6.0   Back to index