예제 #1
0
파일: qbfrac.cpp 프로젝트: hpfn/webcamoid
bool QbFrac::operator ==(const QbFrac &other) const
{
    if (this->toString() == other.toString())
        return true;

    return false;
}
예제 #2
0
파일: qbfrac.cpp 프로젝트: hpfn/webcamoid
QDebug operator <<(QDebug debug, const QbFrac &frac)
{
    debug.nospace() << frac.toString();

    return debug.space();
}