bool operator =(const ShutcutSetWidget& other)const; bool ShutcutSetWidget::operator =(const ShutcutSetWidget& other)const { if (keyMode==other.keyMode && keyNum==other.keyNum) { return true; } else { return false; } }