CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
CFxUITime Class Reference

#include <FxUITime.h>

Public Member Functions

 CFxUITime ()
 
 CFxUITime (int h, int m, int s=0, int ms=0)
 
 CFxUITime (const CFxUITime &time)
 
 CFxUITime (const QTime &time)
 
 ~CFxUITime ()
 
CFxUITimeoperator= (const CFxUITime &time)
 
 operator const QTime & () const
 
int hour () const
 
int minute () const
 
int second () const
 
int msec () const
 

Protected Attributes

CFxUITimeImpl * m_pImpl = nullptr
 

Detailed Description

Definition at line 28 of file FxUITime.h.

Constructor & Destructor Documentation

◆ CFxUITime() [1/4]

CFxUITime::CFxUITime ( )

Constructor

◆ CFxUITime() [2/4]

CFxUITime::CFxUITime ( int h,
int m,
int s = 0,
int ms = 0 )

Parameterized Constructor

◆ CFxUITime() [3/4]

CFxUITime::CFxUITime ( const CFxUITime & time)

Copy Constructor

◆ CFxUITime() [4/4]

CFxUITime::CFxUITime ( const QTime & time)

◆ ~CFxUITime()

CFxUITime::~CFxUITime ( )

Destructor

Member Function Documentation

◆ hour()

int CFxUITime::hour ( ) const

Returns the hour part (0 to 23) of the time. Returns -1 if the time is invalid.

Returns
int

◆ minute()

int CFxUITime::minute ( ) const

Returns the minute part (0 to 59) of the time. Returns -1 if the time is invalid.

Returns
int

◆ msec()

int CFxUITime::msec ( ) const

Returns the millisecond part (0 to 999) of the time. Returns -1 if the time is invalid.

Returns
int

◆ operator const QTime &()

CFxUITime::operator const QTime & ( ) const

◆ operator=()

CFxUITime & CFxUITime::operator= ( const CFxUITime & time)

Assignment operator

◆ second()

int CFxUITime::second ( ) const

Returns the second part (0 to 59) of the time. Returns -1 if the time is invalid.

Returns
int

Member Data Documentation

◆ m_pImpl

CFxUITimeImpl* CFxUITime::m_pImpl = nullptr
protected

Definition at line 79 of file FxUITime.h.


The documentation for this class was generated from the following file: