[Kst] extragear/graphics/kst/kst/extdate

George Staikos staikos at kde.org
Mon Jan 23 05:08:39 CET 2006


SVN commit 501483 by staikos:

merge fix from kdeedu


 M  +1 -0      kstextdatepicker.cpp  
 M  +2 -2      kstextdatepicker.h  


--- trunk/extragear/graphics/kst/kst/extdate/kstextdatepicker.cpp #501482:501483
@@ -164,6 +164,7 @@
   setFontSize(fontsize);
   line->setValidator(val);
   line->installEventFilter( this );
+  line->setReadOnly( true );
   if (  QApplication::reverseLayout() )
   {
       yearForward->setIconSet(BarIconSet(QString::fromLatin1("2leftarrow")));
--- trunk/extragear/graphics/kst/kst/extdate/kstextdatepicker.h #501482:501483
@@ -29,7 +29,7 @@
 #define KDE_DEPRECATED
 #endif
 
-class QLineEdit;
+class KLineEdit;
 class QToolButton;
 
 namespace KST {
@@ -176,7 +176,7 @@
   /// the button for selecting the year directly
   QToolButton *selectYear;
   /// the line edit to enter the date directly
-  QLineEdit *line;
+  KLineEdit *line;
   /// the validator for the line edit:
   ExtDateValidator *val;
   /// the date table


More information about the Kst mailing list