File indexing completed on 2024-11-24 04:42:30
0001 /* 0002 * fileresourcecreator.h - interactively create a file system resource 0003 * Program: kalarm 0004 * SPDX-FileCopyrightText: 2020-2022 David Jarvie <djarvie@kde.org> 0005 * 0006 * SPDX-License-Identifier: GPL-2.0-or-later 0007 */ 0008 0009 #pragma once 0010 0011 #include "resourcecreator.h" 0012 #include "kalarmcalendar/kacalendar.h" 0013 0014 class FileResourceCreator : public ResourceCreator 0015 { 0016 Q_OBJECT 0017 public: 0018 FileResourceCreator(KAlarmCal::CalEvent::Type defaultType, QWidget* parent); 0019 0020 protected Q_SLOTS: 0021 void doCreateResource() override; 0022 0023 private: 0024 bool createSingleFileResource(); 0025 }; 0026 0027 // vim: et sw=4: