File indexing completed on 2024-06-23 05:14:15
0001 /* utils/applicationstate.h 0002 0003 This file is part of Kleopatra, the KDE keymanager 0004 SPDX-FileCopyrightText: 2022 g10 Code GmbH 0005 SPDX-FileContributor: Ingo Klöcker <dev@ingo-kloecker.de> 0006 0007 SPDX-License-Identifier: GPL-2.0-or-later 0008 */ 0009 0010 #pragma once 0011 0012 class QString; 0013 0014 namespace ApplicationState 0015 { 0016 0017 /** 0018 * Reads the last used export directory from the application state config file. 0019 */ 0020 QString lastUsedExportDirectory(); 0021 0022 /** 0023 * Writes the last used export directory to the application state config file. 0024 * If \p path references a file, then the file name is stripped. The path is 0025 * written as absolute path. 0026 */ 0027 void setLastUsedExportDirectory(const QString &path); 0028 0029 }