Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions codeless banner

QDocumentPropertiesWidget Class Reference
[QtBaseModule]

The QDocumentPropertiesWidget class provides controls for viewing and modifying the properties of a document. More...

    #include <QDocumentPropertiesWidget>

Inherits QWidget.

Public Functions

Public Slots

Signals

Protected Slots

Additional Inherited Members


Detailed Description

The QDocumentPropertiesWidget class provides controls for viewing and modifying the properties of a document.

The QDocumentPropertiesWidget allows modification of the name, location, and category of a document.

In addition, the following operations are available:

OperationSlot
BeamingbeamLnk()
Duplicating or copyingduplicateLnk()
DeletingunlinkLnk()

On the phone edition of Qtopia, the slots would typically be invoked through the context menu.

If phone edition is not used, buttons to facilitate these operations will appear on the QDocumentPropertiesWidget, however the slots are still available for use if required.

See also QDocumentPropertiesDialog.


Member Function Documentation

QDocumentPropertiesWidget::QDocumentPropertiesWidget ( const QContent & doc, QWidget * parent = 0 )

Constructs a QDocumentPropertiesWidget with a QContent,doc, representing the document, and a parent widget.

Ensure that doc refers to a document as opposed to an application.

QDocumentPropertiesWidget::~QDocumentPropertiesWidget ()

Destroys the widget.

void QDocumentPropertiesWidget::applyChanges ()   [slot]

Applies any changes made on the QDocumentPropertiesWidget

void QDocumentPropertiesWidget::beamLnk ()   [protected slot]

Beams the document.

QContent QDocumentPropertiesWidget::document () const

Returns the document the widget displays the properties of.

void QDocumentPropertiesWidget::done ()   [signal]

This signal is emitted when a file is deleted, duplicated or beamed from the QDocumentPropertiesWidget.

void QDocumentPropertiesWidget::duplicateLnk ()   [protected slot]

Create a duplicate of the document in the document system.

void QDocumentPropertiesWidget::showLicenses ()   [protected slot]

Show licenses in a new QDialog.

void QDocumentPropertiesWidget::unlinkLnk ()   [protected slot]

Deletes the document.


Copyright © 2009 Trolltech Trademarks
Qt Extended 4.4.3