QString PersistentBroker::quoteString( QString s ) { if( s == QString::null ) return "";  if( d->sqlite ) return s.replace( "'", "''" ).utf8().data(); else return s.replace( "'", "\\'" ).utf8().data(); }
QString quoteString( QString d ) { if( sqlite ) return d.replace( QRegExp("'"), "''" ); else return d.replace( QRegExp("'"), "\\'" ); }
QString PersistentBroker::quoteString( QString s ){	if( s == QString::null )		return "";		if( d->sqlite )		return s.replace( "'", "''" ).utf8().data();	else		return s.replace( "'", "\\'" ).utf8().data();}