Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qstringlistmodel.cpp File Reference
#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 QPair< QString, int > &s1, const QPair< QString, int > &s2)
 
static bool decendingLessThan (const QPair< QString, int > &s1, const QPair< QString, int > &s2)
 

Function Documentation

◆ ascendingLessThan()

static bool ascendingLessThan ( const QPair< QString, int > &  s1,
const QPair< 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 QPair< QString, int > &  s1,
const QPair< 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: