Added spanish translation
[timedsilencer] / qmaemo5weekdayspickselector.h
1 /*
2  * This file is part of TimedSilencer.
3  *
4  *  TimedSilencer is free software: you can redistribute it and/or modify
5  *  it under the terms of the GNU General Public License as published by
6  *  the Free Software Foundation, either version 3 of the License, or
7  *  (at your option) any later version.
8  *
9  *  TimedSilencer is distributed in the hope that it will be useful,
10  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
11  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12  *  GNU General Public License for more details.
13  *
14  *  You should have received a copy of the GNU General Public License
15  *  along with TimedSilencer.  If not, see <http://www.gnu.org/licenses/>.
16  */
17
18 #ifndef QMAEMO5WEEKDAYSPICKSELECTOR_H
19 #define QMAEMO5WEEKDAYSPICKSELECTOR_H
20
21 #include <QMaemo5AbstractPickSelector>
22 #include <QList>
23
24 struct QMaemo5WeekDaysPickWidget;
25
26 class QMaemo5WeekDaysPickSelector : public QMaemo5AbstractPickSelector
27 {
28   Q_OBJECT
29
30 public:
31     QMaemo5WeekDaysPickSelector(QObject *parent=0);
32     QWidget* widget(QWidget* parent);
33     QString currentValueText() const;
34     QList<int> selectedDays();
35
36 public slots:
37     void updateSelection(QList<int> new_sel);
38
39 private:
40     QList<int> selection;
41 };
42
43 #endif // QMAEMO5WEEKDAYSPICKSELECTOR_H