connectiondata.cpp 271 B

123456789101112
  1. #include "connectiondata.h"
  2. ConnectionData::ConnectionData() : port(0) {}
  3. bool ConnectionData::isOk()
  4. {
  5. return (not address.isEmpty() and
  6. port != 0 and
  7. not displayName.isEmpty() and
  8. not channels.isEmpty());
  9. }