Subversion Repositories svn1-original

Rev

Rev 317 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 317 Rev 328
Line 57... Line 57...
57
bool qmTwiNumber::operator< ( const QTableWidgetItem & other ) const
57
bool qmTwiNumber::operator< ( const QTableWidgetItem & other ) const
58
{
58
{
59
    if (sort)
59
    if (sort)
60
        return true;
60
        return true;
61
 
61
 
62
    const qmTwiNumber *other_widget = dynamic_cast<const qmTwiNumber *>(&other); 
62
    const qmTwiNumber *other_widget = dynamic_cast<const qmTwiNumber *>(&other);
-
 
63
    if (other_widget)
-
 
64
    {
63
    return number < other_widget->number;
65
        return number < other_widget->number;
-
 
66
    }
-
 
67
    return false;
64
}
68
}
65
 
69
 
66
/*----------------------------------------------------------------------------
70
/*----------------------------------------------------------------------------
67
** FUNCTION           : 
71
** FUNCTION           : 
68
**
72
**