void KURLBarItem::init(const QString &icon, KIcon::Group group, const QString &description, bool persistent) { d = new KURLBarItemPrivate; d->isPersistent = persistent; setCustomHighlighting(true); setIcon(icon, group); setDescription(description); }
ProcessListBoxItem::ProcessListBoxItem(const QString &s, Type type) : QListBoxText(s), t(type) { QString clean = s; clean.replace( QChar('\t'), QString(" ") ); clean.replace( QChar('\n'), QString() ); clean.replace( QChar('\r'), QString() ); setText( clean ); setCustomHighlighting(true); }
ListBoxIDItem::ListBoxIDItem() : QListBoxItem() { m_rtti = 0; setCustomHighlighting(false); }
MyListBoxItem() : QListBoxItem() { setCustomHighlighting( TRUE ); }