konsolekalendar

konsolekalendarchange.h
Go to the documentation of this file.
1 /*******************************************************************************
2  * konsolekalendarchange.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 _KONSOLEKALENDARCHANGE_H_
29 #define _KONSOLEKALENDARCHANGE_H_
30 
32 
38 namespace KCal
39 {
46  {
47  public:
48 
58 
62  bool changeEvent();
63 
64  private:
65 
70  void printSpecs( Event *event );
71  /*
72  * Print Event specs as provided from the command line arguments.
73  */
74  void printSpecs();
75 
79  KonsoleKalendarVariables *m_variables;
80  };
81 
82 }
83 #endif
Class to manage the Event modification capability.
KonsoleKalendarChange(KonsoleKalendarVariables *vars)
Constructs a KonsoleKalendarChange object from command line arguments.
bool changeEvent()
Modify the Event.
This class provides all the variables for the program.
Provides the KonsoleKalendarVariables class definition.