View | Details | Raw Unified
Collapse All | Expand All

(-) code/boson/qlistviewitemnumber.cpp (-3 / +3 lines)
 Lines 35-45    Link Here 
	BoUfoRealProfiling()
	BoUfoRealProfiling()
	{
	{
	}
	}
	void BoUfoRealProfiling::push(const QString& name)
	void push(const QString& name)
	{
	{
		boProfiling->push(name);
		boProfiling->push(name);
	}
	}
	void BoUfoRealProfiling::pop()
	void pop()
	{
	{
		boProfiling->pop();
		boProfiling->pop();
	}
	}
 Lines 51-57    Link Here 
QString QListViewItemNumberPrefix::key(int column, bool ascending) const
QString QListViewItemNumberPrefix::key(int column, bool ascending) const
{
{
 QString k = QListViewItemNumber::key(column, ascending);
 QString k = QListViewItemNumber::key(column, ascending);
 QRegExp r("^[0-9]+(\.[0-9]+)?");
 QRegExp r("^[0-9]+(\\.[0-9]+)?");
 if (r.search(k) >= 0) {
 if (r.search(k) >= 0) {
	return r.cap(0);
	return r.cap(0);
 }
 }