EmbeddedTextObjectCopyingCallbackAPI Class Reference

Callback API for handling copying files with class EmbeddedTextObjectCopyingProgressWidget. More...

#include <embeddedtextobjectcopyingprogresswidget.h>

Inheritance diagram for EmbeddedTextObjectCopyingCallbackAPI:

EmbeddedEntryVideoPlayer

List of all members.

Public Member Functions

virtual void finishedCopying ()=0
 Gets called by EmbeddedTextObjectCopyingProgressWidget when copying file is complete.
virtual void canceledCopying ()=0
 Gets called by EmbeddedTextObjectCopyingProgressWidget if user clicks Cancel.
virtual void setCopyProgressWidgetPtr (EmbeddedTextObjectCopyingProgressWidget *widgetPtr)
 Gets called by DiaryEntryCreator when it creates new EmbeddedTextObjectCopyingProgressWidget object.

Protected Attributes

EmbeddedTextObjectCopyingProgressWidgetiCopyWidget


Detailed Description

Callback API for handling copying files with class EmbeddedTextObjectCopyingProgressWidget.

Implement this in the client that is waiting for the file to finish copying.


Member Function Documentation

void EmbeddedTextObjectCopyingCallbackAPI::canceledCopying (  )  [pure virtual]

Gets called by EmbeddedTextObjectCopyingProgressWidget if user clicks Cancel.

Note:
Remeber to take care of deleting the EmbeddedTextObjectCopyingProgressWidget object (by calling deletelater() in this function for example)

Implemented in EmbeddedEntryVideoPlayer.

void EmbeddedTextObjectCopyingCallbackAPI::finishedCopying (  )  [pure virtual]

Gets called by EmbeddedTextObjectCopyingProgressWidget when copying file is complete.

Note:
Remeber to take care of deleting the EmbeddedTextObjectCopyingProgressWidget object (by calling deletelater() in this function for example)

Implemented in EmbeddedEntryVideoPlayer.

void EmbeddedTextObjectCopyingCallbackAPI::setCopyProgressWidgetPtr ( EmbeddedTextObjectCopyingProgressWidget widgetPtr  )  [inline, virtual]

Gets called by DiaryEntryCreator when it creates new EmbeddedTextObjectCopyingProgressWidget object.

The pointer can be used to insert the progressbar widget within a layout of the client widget for example.

Note:
Attleast store the pointer so you can delete the object when it's no longer needed. ( in finishedCopying() or canceledCopying() )

Reimplemented in EmbeddedEntryVideoPlayer.


The documentation for this class was generated from the following file:

Generated on Thu Mar 3 17:42:04 2011 for Xiaoning's Diary by  doxygen 1.5.9