1 /**************************************************************************
5 Copyright (C) 2010-2011 Heli Hyvättinen
7 This file is part of KitchenAlert.
9 Kitchen Alert is free software: you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation, either version 3 of the License, or
12 (at your option) any later version.
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
19 You should have received a copy of the GNU General Public License
20 along with this program. If not, see <http://www.gnu.org/licenses/>.
22 **************************************************************************/
24 #ifndef STICKYDIALOG_H
25 #define STICKYDIALOG_H
29 #include <QStringListModel>
31 class StickyDialog : public QDialog
34 /*! The class for dialog for selecting sticky timers of KitchenAlert'
36 @author Heli Hyvättinen
40 The class for dialog for selecting sticky timers of KitchenAlert.
46 explicit StickyDialog(QString defaultDirectory, QWidget *parent = 0);
48 QStringList getStickyList();
60 QListView * pStickiesView_;
61 QStringListModel * pStickiesModel_;
63 QString defaultDirectory_;
69 #endif // STICKYDIALOG_H