Edric Milaret | b25af97 | 2015-06-17 16:55:45 -0400 | [diff] [blame] | 1 | /*************************************************************************** |
Anthony LĂ©onard | 2fde81d | 2017-04-17 10:06:55 -0400 | [diff] [blame] | 2 | * Copyright (C) 2015-2017 by Savoir-faire Linux * |
Edric Milaret | b25af97 | 2015-06-17 16:55:45 -0400 | [diff] [blame] | 3 | * Author: Edric Ladent Milaret <edric.ladent-milaret@savoirfairelinux.com>* |
| 4 | * * |
| 5 | * This program is free software; you can redistribute it and/or modify * |
| 6 | * it under the terms of the GNU General Public License as published by * |
| 7 | * the Free Software Foundation; either version 3 of the License, or * |
| 8 | * (at your option) any later version. * |
| 9 | * * |
| 10 | * This program is distributed in the hope that it will be useful, * |
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of * |
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * |
| 13 | * GNU General Public License for more details. * |
| 14 | * * |
| 15 | * You should have received a copy of the GNU General Public License * |
| 16 | * along with this program. If not, see <http://www.gnu.org/licenses/>. * |
| 17 | **************************************************************************/ |
| 18 | |
Edric Milaret | 5f316da | 2015-09-28 11:57:42 -0400 | [diff] [blame] | 19 | #pragma once |
Edric Milaret | b25af97 | 2015-06-17 16:55:45 -0400 | [diff] [blame] | 20 | |
| 21 | namespace SettingsKey { |
| 22 | |
| 23 | constexpr static char closeOrMinimized[] = "closeOrMin"; |
| 24 | constexpr static char autoAnswer[] = "autoAnswer"; |
Andreas Traczyk | d063d5a | 2018-08-10 12:56:23 -0400 | [diff] [blame] | 25 | constexpr static char geometry[] = "geometry"; |
| 26 | constexpr static char windowState[] = "windowState"; |
Edric Milaret | 568a0e5 | 2016-09-02 16:26:58 -0400 | [diff] [blame] | 27 | constexpr static char enableNotifications[] = "enableNotifications"; |
Andreas Traczyk | b8b13ba | 2018-08-21 16:30:16 -0400 | [diff] [blame] | 28 | constexpr static char selectedAccount[] = "selectedAccount"; |
Andreas Traczyk | 43c0823 | 2018-10-31 13:42:09 -0400 | [diff] [blame] | 29 | constexpr static char mainSplitterState[] = "mainSplitterState"; |
Isa Nanic | 7a3dfa4 | 2018-12-12 12:34:42 -0500 | [diff] [blame] | 30 | constexpr static char downloadPath[] = "downloadPath"; |
Edric Milaret | b25af97 | 2015-06-17 16:55:45 -0400 | [diff] [blame] | 31 | } |
| 32 | |
| 33 | #define accountAutoAnswer(A) (A+SettingsKey::autoAnswer) |
| 34 | |
Edric Milaret | b25af97 | 2015-06-17 16:55:45 -0400 | [diff] [blame] | 35 | |