#include "extdatepicker.h"
#include <QApplication>
-#include <QComboBox>
+#include <KComboBox>
#include <QKeyEvent>
#include <QLayout>
#include <QStyle>
ExtDatePicker *q;
QToolButton *closeButton;
- QComboBox *selectWeek;
+ KComboBox *selectWeek;
QToolButton *todayButton;
QBoxLayout *navigationLayout;
ExtCalendarSystem *calendar;
++d->fontsize; // Make a little bigger
- d->selectWeek = new QComboBox(this);
+ d->selectWeek = new KComboBox(this);
d->selectWeek->setEditable(false); // read only week selection
d->todayButton = new QToolButton(this);
d->todayButton->setIcon(KIcon("calendar-today"));
{
return (d->closeButton != 0L);
}
-
#include "extdatewidget.h"
-#include <QComboBox>
+#include <KComboBox>
#include <QHBoxLayout>
#include <QSpinBox>
ExtDateWidget *q;
ExtDateWidgetSpinBox *m_day;
- QComboBox *m_month;
+ KComboBox *m_month;
ExtDateWidgetSpinBox *m_year;
ExtDate m_dat;
ExtCalendarSystemGregorian *calendar;
layout->setSpacing(KDialog::spacingHint());
d->m_day = new ExtDateWidgetSpinBox(1, 1, this);
layout->addWidget(d->m_day);
- d->m_month = new QComboBox(this);
+ d->m_month = new KComboBox(this);
layout->addWidget(d->m_month);
d->m_month->setEditable(false);
for (int i = 1; ; ++i)