#include <QtGui/qcalendarwidget.h>
#ifndef QCALENDARWIDGET_H
#ifndef QT_NO_CALENDARWIDGET
class QCalendarWidget: public QWidget{
   /* Some contents are skipped to improve readability */
   protected: void currentPageChanged(int year, int month);
   /* ... */
};
#endif // QT_NO_CALENDARWIDGET
#endif // QCALENDARWIDGET_H