]> Git trees. - libqmvoc.git/commitdiff
fix krazy issue QComboBox -> KComboBox, thanks Kris Thomsen
authorJeremy Paul Whiting <jpwhiting@kde.org>
Fri, 17 Aug 2007 23:06:47 +0000 (23:06 +0000)
committerJeremy Paul Whiting <jpwhiting@kde.org>
Fri, 17 Aug 2007 23:06:47 +0000 (23:06 +0000)
svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=701291

extdate/extdatepicker.cpp
extdate/extdatewidget.cpp

index ee5da8adbf69a459ea114d5354a5848b053af7d8..0a101f86db4cf2d4f5fdf5ded05b840d29f780f4 100644 (file)
@@ -23,7 +23,7 @@
 #include "extdatepicker.h"
 
 #include <QApplication>
-#include <QComboBox>
+#include <KComboBox>
 #include <QKeyEvent>
 #include <QLayout>
 #include <QStyle>
@@ -53,7 +53,7 @@ public:
     ExtDatePicker *q;
 
     QToolButton *closeButton;
-    QComboBox *selectWeek;
+    KComboBox *selectWeek;
     QToolButton *todayButton;
     QBoxLayout *navigationLayout;
     ExtCalendarSystem *calendar;
@@ -143,7 +143,7 @@ void ExtDatePicker::init( const ExtDate &dt )
 
   ++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"));
@@ -533,4 +533,3 @@ bool ExtDatePicker::hasCloseButton() const
 {
     return (d->closeButton != 0L);
 }
-
index 55470ebef16382a017f9806b04cbed7d4b400a97..c465fc8c2a488cbeac0e0654a2302365ed8918de 100644 (file)
@@ -21,7 +21,7 @@
 
 #include "extdatewidget.h"
 
-#include <QComboBox>
+#include <KComboBox>
 #include <QHBoxLayout>
 #include <QSpinBox>
 
@@ -60,7 +60,7 @@ public:
 
    ExtDateWidget *q;
    ExtDateWidgetSpinBox *m_day;
-   QComboBox *m_month;
+   KComboBox *m_month;
    ExtDateWidgetSpinBox *m_year;
    ExtDate m_dat;
    ExtCalendarSystemGregorian *calendar;
@@ -89,7 +89,7 @@ void ExtDateWidget::init(const ExtDate& date)
   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)