• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

UNNAMED_READER/corelibrary

UNNAMED_READER::presentationWidget

UNNAMED_READER::presentationWidget Class Reference

#include <presentationWidget.h>

Inheritance diagram for UNNAMED_READER::presentationWidget:

Inheritance graph
[legend]

List of all members.


Detailed Description

UNNAMED_READER Full Screen Widget.

Note:
At times, presentationWidgets delete themselves by using the method "deleteLater()", e.g. when a document is corruped, or when the user asks to close the document. This has a few consequences:
  • since deletion takes place in the event loop of the render thread, only the render thread may use pointers to presentationWidgets

  • even in the render thread, never store a pointer to a render class; the pointer may become invalid next time control is given to the event loop. Use a QPointer instead, and make sure to check its validity before use.

Author:
Stefan Kebekus <kebekus@kde.org>

Definition at line 51 of file presentationWidget.h.


Public Member Functions

 presentationWidget (QWidget *parent)
virtual ~presentationWidget ()

Protected Member Functions

virtual void keyPressEvent (QKeyEvent *event)

Protected Attributes

Ui_presentationWidget * dlg

Constructor & Destructor Documentation

UNNAMED_READER::presentationWidget::presentationWidget ( QWidget *  parent  ) 

Default Constructor.

This method constructs a new presentation widget.

Definition at line 32 of file presentationWidget.cpp.

UNNAMED_READER::presentationWidget::~presentationWidget (  )  [virtual]

Default Destructor.

Definition at line 53 of file presentationWidget.cpp.


Member Function Documentation

void UNNAMED_READER::presentationWidget::keyPressEvent ( QKeyEvent *  event  )  [protected, virtual]

Closes the widget when 'ESC' is pressed.

Reimplemented from QWidget.

Definition at line 58 of file presentationWidget.cpp.


Member Data Documentation

Ui_presentationWidget* UNNAMED_READER::presentationWidget::dlg [protected]

Pointer to the class created by the Qt designer this sets up the GUI.

Definition at line 74 of file presentationWidget.h.


The documentation for this class was generated from the following files:
  • presentationWidget.h
  • presentationWidget.cpp

UNNAMED_READER/corelibrary

Skip menu "UNNAMED_READER/corelibrary"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

API Reference

Skip menu "API Reference"
  •   corelibrary
Generated for API Reference by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal