Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qvalidator.cpp File Reference
#include <qdebug.h>
#include "qvalidator.h"
#include "private/qobject_p.h"
#include "private/qlocale_p.h"
#include "private/qnumeric_p.h"
#include <limits.h>
#include <cmath>
#include "moc_qvalidator.cpp"
+ Include dependency graph for qvalidator.cpp:

Go to the source code of this file.

Classes

class  QValidatorPrivate
 
class  QDoubleValidatorPrivate
 

Macros

#define LLONG_MAX   Q_INT64_C(0x7fffffffffffffff)
 

Functions

static int numDigits (qlonglong n)
 
static qlonglong pow10 (int exp)
 

Macro Definition Documentation

◆ LLONG_MAX

#define LLONG_MAX   Q_INT64_C(0x7fffffffffffffff)

Definition at line 626 of file qvalidator.cpp.

Function Documentation

◆ numDigits()

static int numDigits ( qlonglong  n)
static

Definition at line 350 of file qvalidator.cpp.

Referenced by QLCDNumber::QLCDNumber(), QSettingsPrivate::iniUnescapedKey(), QTextList::itemText(), QLCDNumber::setDigitCount(), QQuickStyledTextPrivate::toRoman(), and QDoubleValidatorPrivate::validateWithLocale().

+ Here is the caller graph for this function:

◆ pow10()

static qlonglong pow10 ( int  exp)
static

Definition at line 357 of file qvalidator.cpp.

References i.

Referenced by QDoubleValidatorPrivate::validateWithLocale().

+ Here is the caller graph for this function: