konsolekalendar

konsolekalendaradd.h
Go to the documentation of this file.
1 /*******************************************************************************
2  * konsolekalendaradd.h *
3  * *
4  * KonsoleKalendar is a command line interface to KDE calendars *
5  * Copyright (C) 2002-2004 Tuukka Pasanen <illuusio@mailcity.com> *
6  * Copyright (C) 2003-2005 Allen Winter <winter@kde.org> *
7  * *
8  * This program is free software; you can redistribute it and/or modify *
9  * it under the terms of the GNU General Public License as published by *
10  * the Free Software Foundation; either version 2 of the License, or *
11  * (at your option) any later version. *
12  * *
13  * This program is distributed in the hope that it will be useful, *
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
16  * GNU General Public License for more details. *
17  * *
18  * You should have received a copy of the GNU General Public License *
19  * along with this program; if not, write to the Free Software *
20  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
21  * *
22  * As a special exception, permission is given to link this program *
23  * with any edition of TQt, and distribute the resulting executable, *
24  * without including the source code for TQt in the source distribution. *
25  * *
26  ******************************************************************************/
27 
28 #ifndef _KONSOLEKALENDARADD_H_
29 #define _KONSOLEKALENDARADD_H_
30 
32 
38 namespace KCal
39 {
46  {
47  public:
57 
61  bool addEvent();
62 
66  bool addImportedCalendar();
67 
68  private:
69 
73  void printSpecs();
74 
78  KonsoleKalendarVariables *m_variables;
79 
80  };
81 
82 }
83 #endif
Class to manage the Event insertion capability.
bool addEvent()
Add the Event.
KonsoleKalendarAdd(KonsoleKalendarVariables *vars)
Constructs a KonsoleKalendarAdd object from command line arguments.
bool addImportedCalendar()
Imports calendar file to current Calendar.
This class provides all the variables for the program.
Provides the KonsoleKalendarVariables class definition.