Qt 4.8
Classes | Functions
qfilesystemmodel.cpp File Reference
#include "qfilesystemmodel_p.h"
#include "qfilesystemmodel.h"
#include <qlocale.h>
#include <qmime.h>
#include <qurl.h>
#include <qdebug.h>
#include <qmessagebox.h>
#include <qapplication.h>
#include <qt_windows.h>
#include "moc_qfilesystemmodel.cpp"

Go to the source code of this file.

Classes

class  QFileSystemModelSorter
 
class  QFileSystemModelVisibleFinder
 

Functions

static QChar getNextChar (const QString &s, int location)
 

Function Documentation

◆ getNextChar()

static QChar getNextChar ( const QString s,
int  location 
)
inlinestatic

Definition at line 1017 of file qfilesystemmodel.cpp.

Referenced by QFileSystemModelPrivate::naturalCompare().

1018 {
1019  return (location < s.length()) ? s.at(location) : QChar();
1020 }
const QChar at(int i) const
Returns the character at the given index position in the string.
Definition: qstring.h:698
int length() const
Returns the number of characters in this string.
Definition: qstring.h:696
The QChar class provides a 16-bit Unicode character.
Definition: qchar.h:72
static QTestResult::TestLocation location
Definition: qtestresult.cpp:63