X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fclient%2Fmessagemodel.h;h=e26455d551b7a59a2a8175b91dd19c567c5dc4f0;hb=78b9ceaa30c504f2a606eaa4502f1d4cff556d31;hp=dba767d84290800715881efd278f4e4a1e2ba09d;hpb=694f9bfbf7f1af19108461c7e00d133e55082bce;p=quassel.git diff --git a/src/client/messagemodel.h b/src/client/messagemodel.h index dba767d8..e26455d5 100644 --- a/src/client/messagemodel.h +++ b/src/client/messagemodel.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-09 by the Quassel Project * + * Copyright (C) 2005-2018 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -15,7 +15,7 @@ * You should have received a copy of the GNU General Public License * * along with this program; if not, write to the * * Free Software Foundation, Inc., * - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ #ifndef MESSAGEMODEL_H_ @@ -114,6 +114,10 @@ private: QTimer _dayChangeTimer; QDateTime _nextDayChange; QHash _messagesWaiting; + + /// Period of time for one day in milliseconds + /// 24 hours * 60 minutes * 60 seconds * 1000 milliseconds + const qint64 DAY_IN_MSECS = 24 * 60 * 60 * 1000; };