[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdenonbeta/krecipes/src/dialogs
From:       Unai Garro <Unai.Garro () ee ! ed ! ac ! uk>
Date:       2003-10-31 12:48:08
[Download RAW message or body]

CVS commit by uga: 

Check all the categories for the search by default


  M +6 -1      dietwizarddialog.cpp   1.32


--- kdenonbeta/krecipes/src/dialogs/dietwizarddialog.cpp  #1.31:1.32
@@ -247,5 +247,10 @@ public:
 class CategoriesListItem:public QCheckListItem{
 public:
-        CategoriesListItem(QListView* klv, const Element &category \
):QCheckListItem(klv,QString::null,QCheckListItem::CheckBox){ctyStored.id=category.id; \
ctyStored.name=category.name;} +        CategoriesListItem(QListView* klv, const \
Element &category ):QCheckListItem(klv,QString::null,QCheckListItem::CheckBox) +      \
{ +        ctyStored.id=category.id;
+        ctyStored.name=category.name;
+        setOn(true); // Set checked by default
+        }
         ~CategoriesListItem(void){}
         virtual QString text(int column) const


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic