lib Library API Documentation

KoPartSelectDia Class Reference

This dialog presents the user all available KOffice components ( KSpread, KWord etc ) with name and mini icon. More...

#include <koPartSelectDia.h>

Collaboration diagram for KoPartSelectDia:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 KoPartSelectDia (QWidget *parent=0, const char *name=0)
KoDocumentEntry entry ()

Static Public Member Functions

KoDocumentEntry selectPart (QWidget *parent=0L)

Detailed Description

This dialog presents the user all available KOffice components ( KSpread, KWord etc ) with name and mini icon.

The user may select one and the corresponding KoDocumentEntry is returned.

Definition at line 36 of file koPartSelectDia.h.


Constructor & Destructor Documentation

KoPartSelectDia::KoPartSelectDia QWidget parent = 0,
const char *  name = 0
 

Constructor.

Definition at line 32 of file koPartSelectDia.cc.

References KoDocumentEntry::query().

Referenced by selectPart().


Member Function Documentation

KoDocumentEntry KoPartSelectDia::entry  ) 
 

Retrieves the result of the part selection.

Returns:
A document entry.

Definition at line 67 of file koPartSelectDia.cc.

Referenced by selectPart().

KoDocumentEntry KoPartSelectDia::selectPart QWidget parent = 0L  )  [static]
 

Convenience function for using the dialog.

Returns:
the KoDocumentEntry of the selected KOffice components or an empty entry.

Definition at line 79 of file koPartSelectDia.cc.

References entry(), and KoPartSelectDia().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for lib Library Version 1.3.5.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Fri Mar 11 11:49:22 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003