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

QString main_windows::getSearchStr ( const QString &  msg  )  [private]

input dialogbox. Find a machine, an user, ...

msg label of dialogbox
criteria of search
See also:
AllSearchSlot MachineSearchSlot UserSearchSlot ShareSearchSlot FileSearchSlot

Definition at line 515 of file main_windows.cpp.

Referenced by AllSearchSlot(), FileSearchSlot(), MachineSearchSlot(), ShareSearchSlot(), and UserSearchSlot().

      bool ok;
      QString text = QInputDialog::getText(
      "Search", msg+":", QLineEdit::Normal,QString::null, &ok, this );
      if ( ok && !text.isEmpty() )
            // user entered something and pressed OK
            return text;
        return "";

Generated by  Doxygen 1.6.0   Back to index