test fcts

Signed-off-by: Mirko Lindner <mirko@sharism.cc>
This commit is contained in:
Mirko Lindner 2010-04-07 21:24:50 +02:00
parent c4feb4a5b3
commit 647931addb
1 changed files with 4 additions and 0 deletions

View File

@ -333,6 +333,10 @@ void HtmlArea::keyPressEvent(QKeyEvent *e){
switch (e->key()) {
case Qt::Key_Right:
{
// QPoint pos = qobject_cast<QMain *>(this->parentWidget())->cursor().pos();
// qobject_cast<QMain *>(this->parentWidget())->cursor().setPos(pos.x() + 5, pos.y());
// QPoint pos2 = qobject_cast<QMain *>(this->parentWidget())->cursor().pos();
// log_debug("y: " << pos2.y() << " x: " << pos2.x());
QPoint pos = qApp->overrideCursor()->pos();
qApp->overrideCursor()->setPos(pos.x() + 5, pos.y());
}