/***************************************************************************
                            kde_KDateInternalMonthPicker.h -  description
                             -------------------
    begin                : Wed Feb  6 15:12:26 2002
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Wed Feb  6 15:12:26 2002, using kalyptus 0.9.
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This library is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU Library General Public License as       *
 *   published by the Free Software Foundation; either version 2 of the    *
 *   License, or (at your option) any later version.                       *
 *                                                                         *
 ***************************************************************************/

#ifndef KDE_KDATEINTERNALMONTHPICKER
#define KDE_KDATEINTERNALMONTHPICKER

#include <qtc/qtc_types.h>

#include <kdec/kde_types.h>

/**

 A table containing month names. It is used to pick a month directly.

 @author Tim Gilman, Mirko Boehm

 @version $Id: kde_KDateInternalMonthPicker.h,v 1.3 2002/02/21 00:43:09 rdale Exp $

 @short 
 A table containing month names.
*/

/**  The constructor. 
*/
kde_KDateInternalMonthPicker * kde_new_KDateInternalMonthPicker(int fontsize, qt_QWidget * parent, char* name);

/**  The size hint. 
*/
qt_QSize * kde_KDateInternalMonthPicker_sizeHint(kde_KDateInternalMonthPicker* instPointer);

/**  Return the result. 0 means no selection (reject()), 1..12 are the
      months. 
*/
int kde_KDateInternalMonthPicker_getResult(kde_KDateInternalMonthPicker* instPointer);

/**  Set up the painter. 
*/
void kde_KDateInternalMonthPicker_setupPainter(kde_KDateInternalMonthPicker* instPointer,qt_QPainter * p);

/**  The resize event. 
*/

/**  Paint a cell. This simply draws the month names in it. 
*/
void kde_KDateInternalMonthPicker_paintCell(kde_KDateInternalMonthPicker* instPointer,qt_QPainter * painter, int row, int col);

/**  Catch mouse click and move events to paint a rectangle around the item.
*/

/**  Emit monthSelected(int) when a cell has been released. 
*/

#endif
