1 /*************************************************************************** 2 object.h: abstract base class for all Kst objects 3 ------------------- 4 copyright : (C) 2013 The University of Toronto 5 email : netterfield@astro.utoronto.ca 6 ***************************************************************************/ 7 8 /*************************************************************************** 9 * * 10 * This program is free software; you can redistribute it and/or modify * 11 * it under the terms of the GNU General Public License as published by * 12 * the Free Software Foundation; either version 2 of the License, or * 13 * (at your option) any later version. * 14 * * 15 ***************************************************************************/ 16 17 #ifndef SETTINGS_H 18 #define SETTINGS_H 19 20 #include "kst_export.h" 21 22 #include <QSettings> 23 24 25 namespace Kst { 26 27 28 // QSettings objects should only be instantiated with this function 29 KSTCORE_EXPORT QSettings& createSettings(const QString& scope); 30 31 KSTCORE_EXPORT void deleteAllSettings(); 32 33 34 } 35 36 #endif 37 38 // vim: ts=2 sw=2 et 39