📄 qdate-helpers.h
字号:
#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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -