diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2019-09-21 14:52:17 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2019-09-21 14:57:24 (GMT) |
commit | 4a9541d1605333e70b5ab9193d65cb300d8ef18e (patch) | |
tree | 2281e5242581485a4b3d61a8f0b3079f5dd30758 /qtools/qdatetime.h | |
parent | c35960af3b0b867cbcd31141e94fe1573ad2bcc0 (diff) | |
download | Doxygen-4a9541d1605333e70b5ab9193d65cb300d8ef18e.zip Doxygen-4a9541d1605333e70b5ab9193d65cb300d8ef18e.tar.gz Doxygen-4a9541d1605333e70b5ab9193d65cb300d8ef18e.tar.bz2 |
Reduce the use of QString in favor of the more efficient QCString
Diffstat (limited to 'qtools/qdatetime.h')
-rw-r--r-- | qtools/qdatetime.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/qtools/qdatetime.h b/qtools/qdatetime.h index 010ae73..63007f3 100644 --- a/qtools/qdatetime.h +++ b/qtools/qdatetime.h @@ -39,7 +39,7 @@ #define QDATETIME_H #ifndef QT_H -#include "qstring.h" +#include "qcstring.h" #endif // QT_H @@ -65,10 +65,10 @@ public: int daysInMonth() const; // 28..31 int daysInYear() const; // 365 or 366 - virtual QString monthName( int month ) const; - virtual QString dayName( int weekday ) const; + virtual QCString monthName( int month ) const; + virtual QCString dayName( int weekday ) const; - QString toString() const; + QCString toString() const; bool setYMD( int y, int m, int d ); @@ -119,7 +119,7 @@ public: int second() const; // 0..59 int msec() const; // 0..999 - QString toString() const; + QCString toString() const; bool setHMS( int h, int m, int s, int ms=0 ); @@ -175,7 +175,7 @@ public: void setTime_t( uint secsSince1Jan1970UTC ); void setTimeUtc_t( uint secsSince1Jan1970UTC ); - QString toString() const; + QCString toString() const; QDateTime addDays( int days ) const; QDateTime addSecs( int secs ) const; |