changeset 27614:8437248a4b17

* gui-preferences-nr.h: add file missing in cset deb8877f2c34
author Torsten Lilge <ttl-octave@mailbox.org>
date Sat, 02 Nov 2019 08:25:17 +0100
parents deb8877f2c34
children 83c1d4f75a36
files libgui/src/gui-preferences-nr.h
diffstat 1 files changed, 40 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/libgui/src/gui-preferences-nr.h	Sat Nov 02 08:25:17 2019 +0100
@@ -0,0 +1,40 @@
+/*
+
+Copyright (C) 2017-2019 Torsten Lilge <ttl-octave@mailbox.de>
+
+This file is part of Octave.
+
+Octave is free software: you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+Octave is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with Octave; see the file COPYING.  If not, see
+<https://www.gnu.org/licenses/>.
+
+*/
+
+#if ! defined (octave_gui_preferences_nr_h)
+#define octave_gui_preferences_nr_h 1
+
+#include "gui-preferences.h"
+#include <QDateTime>
+
+// News Reader properties
+
+const gui_pref
+nr_last_time ("news/last_time_checked", QVariant (QDateTime ()));
+
+const gui_pref
+nr_last_news ("news/last_news_item", QVariant (0));
+
+const gui_pref
+nr_allow_connection ("news/allow_web_connection", QVariant (false));
+
+#endif