kspread
KSpread::PluginInsertCalendar Class Reference
List of all members.Detailed Description
Definition at line 52 of file kspread_plugininsertcalendar.h.
Public Slots | |
void | slotShowDialog () |
void | slotInsertCalendar (const QDate &start, const QDate &end) |
Public Member Functions | |
PluginInsertCalendar (QObject *parent, const char *name, const QStringList &args) | |
virtual | ~PluginInsertCalendar () |
Static Public Member Functions | |
static KAboutData * | createAboutData () |
Protected Attributes | |
View * | m_kspreadView |
InsertCalendarDialog * | m_dialog |
Constructor & Destructor Documentation
KSpread::PluginInsertCalendar::PluginInsertCalendar | ( | QObject * | parent, | |
const char * | name, | |||
const QStringList & | args | |||
) |
Constructor.
This constructor is usable with KGenericFactory.
KSpread::PluginInsertCalendar::~PluginInsertCalendar | ( | ) | [virtual] |
Member Function Documentation
KAboutData * KSpread::PluginInsertCalendar::createAboutData | ( | ) | [static] |
Creates about data for the Insert Calendar plugin.
Definition at line 84 of file kspread_plugininsertcalendar.cc.
void KSpread::PluginInsertCalendar::slotShowDialog | ( | ) | [slot] |
This is called from the plugin action, it shows a dialog that allows start and end date selection and various other options.
The calendar can then be inserted into a spreadsheet.
Definition at line 100 of file kspread_plugininsertcalendar.cc.
void KSpread::PluginInsertCalendar::slotInsertCalendar | ( | const QDate & | start, | |
const QDate & | end | |||
) | [slot] |
This actually inserts the calendar.
It reads the configuration from the insert calendar dialog and builds an calendar in the spreadsheet accordingly.
Definition at line 120 of file kspread_plugininsertcalendar.cc.
Member Data Documentation
View* KSpread::PluginInsertCalendar::m_kspreadView [protected] |
This is the parent part of the plugin.
It is used to access the spreadsheet and actually insert the calendar.
It is set in the constructor.
Definition at line 65 of file kspread_plugininsertcalendar.h.
This is the dialog used to select the start/end dates of the calendar.
It is the user interface of this plugin.
- See also:
- InsertCalendarDialog, slotShowDialog, slotInsertCalendar
Definition at line 73 of file kspread_plugininsertcalendar.h.
The documentation for this class was generated from the following files: