Logo Search packages:      
Sourcecode: qtodo version File versions  Download package

QCalendarBase::QCalendarBase ( QWidget *  parent = 0,
const char *  name = 0,
WFlags  f = 0 
)

Standard constructor

Definition at line 40 of file qcalendarbase.cpp.

References backwardClicked(), forwardClicked(), m_bAppsRounded, m_bBaseDraggingEnabled, and m_bShowCursor.

    : QWidget(parent, name, f)
{
    m_bShowCursor          = true;
    m_bAppsRounded         = true;
    m_bBaseDraggingEnabled = true;
    m_pBackButton          = new QPushButton(QIconSet(calGetPixmap("back")), "", this);
    m_pForwButton          = new QPushButton(QIconSet(calGetPixmap("forward")), "", this);

    m_pBackButton->setFlat(true);
    m_pForwButton->setFlat(true);

    QObject::connect(m_pBackButton, SIGNAL(clicked()),
                 this, SLOT(backwardClicked()));
    QObject::connect(m_pForwButton, SIGNAL(clicked()),
                 this, SLOT(forwardClicked()));
} // !QCalendarBase()


Generated by  Doxygen 1.6.0   Back to index