Qt 4.8
Classes | Functions
qitemselectionmodel.h File Reference
#include <QtCore/qset.h>
#include <QtCore/qvector.h>
#include <QtCore/qlist.h>
#include <QtCore/qabstractitemmodel.h>

Go to the source code of this file.

Classes

class  QItemSelection
 The QItemSelection class manages information about selected items in a model. More...
 
class  QItemSelectionModel
 The QItemSelectionModel class keeps track of a view's selected items. More...
 
class  QItemSelectionRange
 The QItemSelectionRange class manages information about a range of selected items in a model. More...
 

Functions

Q_GUI_EXPORT QDebug operator<< (QDebug, const QItemSelectionRange &)
 
 Q_DECLARE_TYPEINFO (QItemSelectionRange, Q_MOVABLE_TYPE)
 
uint qHash (const QItemSelectionRange &)
 

Function Documentation

◆ operator<<()

Q_GUI_EXPORT QDebug operator<< ( QDebug  ,
const QItemSelectionRange  
)

Definition at line 1721 of file qitemselectionmodel.cpp.

1722 {
1723 #ifndef Q_BROKEN_DEBUG_STREAM
1724  dbg.nospace() << "QItemSelectionRange(" << range.topLeft()
1725  << ',' << range.bottomRight() << ')';
1726  return dbg.space();
1727 #else
1728  qWarning("This compiler doesn't support streaming QItemSelectionRange to QDebug");
1729  return dbg;
1730  Q_UNUSED(range);
1731 #endif
1732 }
Q_CORE_EXPORT void qWarning(const char *,...)
#define Q_UNUSED(x)
Indicates to the compiler that the parameter with the specified name is not used in the body of a fun...
Definition: qglobal.h:1729

◆ Q_DECLARE_TYPEINFO()

Q_DECLARE_TYPEINFO ( QItemSelectionRange  ,
Q_MOVABLE_TYPE   
)

◆ qHash()

uint qHash ( const QItemSelectionRange )
inline

Definition at line 229 of file qitemselectionmodel.h.

229 { return 0; }