kstars
sessionsortfilterproxymodel.cpp
Go to the documentation of this file.
28 bool SessionSortFilterProxyModel::lessThan( const QModelIndex &left, const QModelIndex &right ) const {
33 return( leftData.toTime().addSecs( 12 * 3600 ) < rightData.toTime().addSecs( 12 * 3600 ) ); // Note that QTime wraps, so this should work.
bool lessThan(const QModelIndex &left, const QModelIndex &right) const
Definition: sessionsortfilterproxymodel.cpp:28
SessionSortFilterProxyModel(QObject *parent=0)
Definition: sessionsortfilterproxymodel.cpp:24
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:36:20 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:36:20 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.