|
|
@ -236,7 +236,7 @@ KLed::paintEvent(TQPaintEvent *)
|
|
|
|
paintRect();
|
|
|
|
paintRect();
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
default :
|
|
|
|
default :
|
|
|
|
qWarning("%s: in class KLed: no KLed::Look set", tqApp->argv()[0]);
|
|
|
|
tqWarning("%s: in class KLed: no KLed::Look set", tqApp->argv()[0]);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
case Circular:
|
|
|
|
case Circular:
|
|
|
@ -251,18 +251,18 @@ KLed::paintEvent(TQPaintEvent *)
|
|
|
|
paintSunken();
|
|
|
|
paintSunken();
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
default:
|
|
|
|
default:
|
|
|
|
qWarning("%s: in class KLed: no KLed::Look set", tqApp->argv()[0]);
|
|
|
|
tqWarning("%s: in class KLed: no KLed::Look set", tqApp->argv()[0]);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
default:
|
|
|
|
default:
|
|
|
|
qWarning("%s: in class KLed: no KLed::Shape set", tqApp->argv()[0]);
|
|
|
|
tqWarning("%s: in class KLed: no KLed::Shape set", tqApp->argv()[0]);
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#ifdef PAINT_BENCH
|
|
|
|
#ifdef PAINT_BENCH
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
int ready = t.elapsed();
|
|
|
|
int ready = t.elapsed();
|
|
|
|
qWarning("elapsed: %d msec. for %d rounds", ready, rounds);
|
|
|
|
tqWarning("elapsed: %d msec. for %d rounds", ready, rounds);
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|