void KSimBaseIntSpinBox::setValue(const KSimBaseInt & newValue)
{
	KSimBaseInt myNew(newValue);
//	KSIMDEBUG(QString::fromLatin1(">>> KSimBaseIntSpinBox::setValue() this=%1 newValue=%2").arg((unsigned int)this,0, 16).arg(newValue.text()));
	if (myNew != value())
	{
		int res = setValueInternal(myNew);
		KSimSpinBox::setValue(res);
	}
	else
	{
//		KSIMDEBUG("skipped");
	}
//	KSIMDEBUG("<<< KSimBaseIntSpinBox::setValue()");
}
示例#2
0
void* operator new[](size_t size)
{
  return myNew(size, "", -1);
}
示例#3
0
void* operator new[](size_t size, const char* file, int line)
{
  return myNew(size, file, line);
}