HAL
empty_string_validator.cpp
Go to the documentation of this file.
2 
3 namespace hal
4 {
6  {
7  setFailText("Chosen input can't be empty.");
8  }
9 
11  {
12  return !input.trimmed().isEmpty();
13  }
14 }
bool validate(const QString &input)
void setFailText(const QString &text)
Definition: validator.cpp:5