qdate-helpers.h

来自「QT4的utils库源码包.解压后运行./configure配置,然后make.」· C头文件 代码 · 共 23 行

H
23
字号
#ifndef _QDATE_HELPERS_H#define _QDATE_HELPERS_H#include <QDate>#include <QTextStream>/**  These are global operator functions for QDate.  This is how one can add interface to a class without  actually modifying the class itself.  */QTextStream &operator>>(QTextStream& is, QDate& qd);QTextStream &operator<<(QTextStream& os, const QDate& qd) ;void cinReadDate(QDate& wd);QDate& operator+=(QDate& qd, int numDays) ;QDate operator+(const QDate& qd, int numDays);int operator-(const QDate& qd1, const QDate& qd2);#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?