|
|
|
@ -51,8 +51,8 @@ class TQStringList;
|
|
|
|
|
* ListCategorizer *lc = new ListCategorizer(this,colors);
|
|
|
|
|
* lc->setColumnText(0,i18n("Color"));
|
|
|
|
|
* lc->setColumnText(1,i18n("HTML"));
|
|
|
|
|
* TQListViewItem *stdKDE = lc->addCategory(i18n("Standard KDE"));
|
|
|
|
|
* (void) new TQListViewItem(stdKDE,i18n("red"),"#FF0000");
|
|
|
|
|
* TQListViewItem *stdTDE = lc->addCategory(i18n("Standard TDE"));
|
|
|
|
|
* (void) new TQListViewItem(stdTDE,i18n("red"),"#FF0000");
|
|
|
|
|
* @endcode
|
|
|
|
|
* to set sensible column headers for a list of colors
|
|
|
|
|
* and their HTML equivalents (although why you would want
|
|
|
|
@ -150,7 +150,7 @@ public:
|
|
|
|
|
* of the given item @p p. If you remembered a pointer to a
|
|
|
|
|
* category, you can use
|
|
|
|
|
* @code
|
|
|
|
|
* TQStringList l = lc->listSiblings(stdKDE->firstChild(),2);
|
|
|
|
|
* TQStringList l = lc->listSiblings(stdTDE->firstChild(),2);
|
|
|
|
|
* @endcode
|
|
|
|
|
* to get the list of strings in hidden column 2 under
|
|
|
|
|
* the category you remembered.
|
|
|
|
|