Commit 6a3c3d6c authored by Tobias Koenig's avatar Tobias Koenig

Hide cursor in presentation mode after 3 seconds

svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=374489
parent 2cd31678
......@@ -13,6 +13,7 @@
#include <qpainter.h>
#include <qapplication.h>
#include <qdesktopwidget.h>
#include <kcursor.h>
#include <ktoolbar.h>
#include <kdebug.h>
#include <klocale.h>
......@@ -87,6 +88,9 @@ PresentationWidget::PresentationWidget( KPDFDocument * doc )
generatePage();
else
slotNextPage();
KCursor::setAutoHideCursor( this, true );
KCursor::setHideCursorDelay( 3000 );
}
PresentationWidget::~PresentationWidget()
......@@ -495,6 +499,8 @@ void PresentationWidget::slotNextPage()
m_transitionTimer->stop();
update();
}
setFocus();
}
void PresentationWidget::slotPrevPage()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment