kspread Library API Documentation

kspread_plugininsertcalendar.h

00001 /***************************************************************************
00002  *   Copyright (C) 2005 by Raphael Langerhorst                             *
00003  *   raphael-langerhorst@gmx.at                                            *
00004  *                                                                         *
00005  *   Permission is hereby granted, free of charge, to any person obtaining *
00006  *   a copy of this software and associated documentation files (the       *
00007  *   "Software"), to deal in the Software without restriction, including   *
00008  *   without limitation the rights to use, copy, modify, merge, publish,   *
00009  *   distribute, sublicense, and/or sell copies of the Software, and to    *
00010  *   permit persons to whom the Software is furnished to do so, subject to *
00011  *   the following conditions:                                             *
00012  *                                                                         *
00013  *   The above copyright notice and this permission notice shall be        *
00014  *   included in all copies or substantial portions of the Software.       *
00015  *                                                                         *
00016  *   THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,       *
00017  *   EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF    *
00018  *   MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*
00019  *   IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR     *
00020  *   OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, *
00021  *   ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR *
00022  *   OTHER DEALINGS IN THE SOFTWARE.                                       *
00023  ***************************************************************************/
00024 
00025 #ifndef KSPREAD_PLUGININSERTCALENDAR_H
00026 #define KSPREAD_PLUGININSERTCALENDAR_H
00027 
00028 #include <kparts/plugin.h>
00029 
00030 #include <koffice_export.h>
00031 
00032 #include <qdatetime.h>
00033 
00034 class KAboutData;
00035 
00036 //@todo as soon as KSpread gets the KSpread namespce move this below...
00037 class KSpreadView;
00038 
00039 namespace KSpread
00040 {
00041 
00042 class InsertCalendarDialog;
00043 
00054 class KSPREAD_EXPORT PluginInsertCalendar : public KParts::Plugin
00055 {
00056   Q_OBJECT
00057 
00058   protected:
00059 
00067     KSpreadView* m_kspreadView;
00068 
00075     InsertCalendarDialog* m_dialog;
00076 
00077   public:
00078 
00082     PluginInsertCalendar( QObject *parent, const char *name, const QStringList& args );
00083 
00087     virtual ~PluginInsertCalendar();
00088 
00089   public:
00090 
00094     static KAboutData* createAboutData();
00095 
00096   public slots:
00097 
00103      void slotShowDialog();
00104 
00110      void slotInsertCalendar(const QDate &start, const QDate &end);
00111 };
00112 
00113 }
00114 
00115 #endif
KDE Logo
This file is part of the documentation for kspread Library Version 1.4.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Mon Feb 13 09:43:13 2006 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003