Fix akonadimodel.cpp:1: warning: unterminated character constant
[kdepim.git] / incidenceeditor-ng / incidencerecurrenceeditor.h
blob2d7baf844a93290b48e91d37bd1ae4bbecdd88eb
1 /*
2 <one line to give the program's name and a brief idea of what it does.>
3 Copyright (C) <year> <name of author>
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version.
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
15 You should have received a copy of the GNU General Public License along
16 with this program; if not, write to the Free Software Foundation, Inc.,
17 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
21 #ifndef INCIDENCERECURRENCEEDITOR_H
22 #define INCIDENCERECURRENCEEDITOR_H
24 #include "incidenceeditor-ng.h"
26 namespace Ui {
27 class IncidenceRecurrenceEditor;
30 namespace IncidenceEditorsNG {
32 class IncidenceRecurrenceEditor : public IncidenceEditor
34 Q_OBJECT
35 public:
36 IncidenceRecurrenceEditor( QWidget *parent = 0 );
38 virtual void load( KCal::Incidence::ConstPtr incidence );
39 virtual void save( KCal::Incidence::Ptr incidence );
40 virtual bool isDirty() const;
42 private slots:
43 void updateRecerrenceLabel( int recurrenceRadioIndex );
45 private:
46 Ui::IncidenceRecurrenceEditor *mUi;
49 } // IncidenceEditorsNG
51 #endif // INCIDENCERECURRENCEEDITOR_H