konsolekalendar

konsolekalendardelete.h
Go to the documentation of this file.
1 /*******************************************************************************
2  * konsolekalendardelete.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 _KONSOLEKALENDARDELETE_H_
29 #define _KONSOLEKALENDARDELETE_H_
30 
32 
38 namespace KCal
39 {
46  {
47  public:
48 
57 
61  bool deleteEvent();
62 
63  private:
64 
68  void printSpecs( Event *event );
69 
73  KonsoleKalendarVariables *m_variables;
74  };
75 
76 }
77 #endif
Class to manage the Event removal capability.
bool deleteEvent()
Delete the Event.
KonsoleKalendarDelete(KonsoleKalendarVariables *vars)
Constructs a KonsoleKalendarDelete object from command line arguments.
This class provides all the variables for the program.
Provides the KonsoleKalendarVariables class definition.