##// END OF EJS Templates
Revert "Remove worse commit"...
Revert "Remove worse commit" This reverts commit a6522680236132283b040266dfb186fb73be0d8f.

File last commit:

r254:42bd65f9354a
r254:42bd65f9354a
Show More
SqpDateTime.h
23 lines | 515 B | text/x-c | CLexer
Add SqpDateTime struct
r191 #ifndef SCIQLOP_SQPDATETIME_H
#define SCIQLOP_SQPDATETIME_H
SqpDateTime is now declared as meta type
r234 #include <QObject>
Add SqpDateTime struct
r191 /**
* @brief The SqpDateTime struct holds the information of time parameters
*/
struct SqpDateTime {
/// Start time
double m_TStart;
/// End time
double m_TEnd;
A variable is now created with its dateTime too....
r228
bool contains(const SqpDateTime &dateTime)
{
return (m_TStart <= dateTime.m_TStart && m_TEnd >= dateTime.m_TEnd);
}
Add SqpDateTime struct
r191 };
SqpDateTime is now declared as meta type
r234 // Required for using shared_ptr in signals/slots
Q_DECLARE_METATYPE(SqpDateTime)
Add SqpDateTime struct
r191 #endif // SCIQLOP_SQPDATETIME_H