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, ...

Parameters:
msg label of dialogbox
Returns:
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