Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qstringlistmodel.cpp File Reference

(91d341e560e9a54d201279d53701ff071256ad6c)

#include "qstringlistmodel.h"
#include <QtCore/qlist.h>
#include <QtCore/qmap.h>
#include <algorithm>
#include "moc_qstringlistmodel.cpp"
+ Include dependency graph for qstringlistmodel.cpp:

Go to the source code of this file.

Functions

static bool ascendingLessThan (const std::pair< QString, int > &s1, const std::pair< QString, int > &s2)
 
static bool decendingLessThan (const std::pair< QString, int > &s1, const std::pair< QString, int > &s2)
 

Function Documentation

◆ ascendingLessThan()

static bool ascendingLessThan ( const std::pair< QString, int > & s1,
const std::pair< QString, int > & s2 )
static

Definition at line 295 of file qstringlistmodel.cpp.

References s2.

Referenced by QStringListModel::sort().

+ Here is the caller graph for this function:

◆ decendingLessThan()

static bool decendingLessThan ( const std::pair< QString, int > & s1,
const std::pair< QString, int > & s2 )
static

Definition at line 300 of file qstringlistmodel.cpp.

References s2.

Referenced by QStringListModel::sort().

+ Here is the caller graph for this function: