use const on method

wilder-portage
Kurt Hindenburg 8 years ago
parent bed548e85a
commit 06b13420bf
  1. 2
      src/KeyboardTranslator.cpp
  2. 2
      src/KeyboardTranslator.h

@ -317,7 +317,7 @@ QString KeyboardTranslatorReader::description() const
return _description;
}
bool KeyboardTranslatorReader::hasNextEntry()
bool KeyboardTranslatorReader::hasNextEntry() const
{
return _hasNext;
}

@ -363,7 +363,7 @@ public:
QString description() const;
/** Returns true if there is another entry in the source stream */
bool hasNextEntry();
bool hasNextEntry() const;
/** Returns the next entry found in the source stream */
KeyboardTranslator::Entry nextEntry();

Loading…
Cancel
Save