umbrello API Documentation

UMLRoleDialog Class Reference

#include <umlroledialog.h>

List of all members.

Public Slots

void slotApply ()
 I don't think this is used, but if we had an apply button it would slot into here.
void slotOk ()
 Used when the OK button is clicked.

Public Member Functions

 UMLRoleDialog (QWidget *parent, UMLRole *pRole)
 Constructor.
 ~UMLRoleDialog ()
 Deconstructor.

Protected Member Functions

void setupDialog ()
 Sets up the dialog.
bool apply ()
 Checks if changes are valid and applies them if they are, else returns false.

Protected Attributes

UMLRolem_pRole
 The role to represent.


Detailed Description

Author:
Paul Hensgen

Definition at line 26 of file umlroledialog.h.


Constructor & Destructor Documentation

UMLRoleDialog::UMLRoleDialog QWidget *  parent,
UMLRole pRole
 

Constructor.

Definition at line 24 of file umlroledialog.cpp.

References m_pRole, and setupDialog().

UMLRoleDialog::~UMLRoleDialog  ) 
 

Deconstructor.

Definition at line 31 of file umlroledialog.cpp.


Member Function Documentation

void UMLRoleDialog::setupDialog  )  [protected]
 

Sets up the dialog.

Definition at line 33 of file umlroledialog.cpp.

References m_pRole.

Referenced by UMLRoleDialog().

bool UMLRoleDialog::apply  )  [protected]
 

Checks if changes are valid and applies them if they are, else returns false.

Definition at line 44 of file umlroledialog.cpp.

References UMLRoleProperties::updateObject().

Referenced by slotApply(), and slotOk().

void UMLRoleDialog::slotApply  )  [slot]
 

I don't think this is used, but if we had an apply button it would slot into here.

Definition at line 52 of file umlroledialog.cpp.

References apply().

void UMLRoleDialog::slotOk  )  [slot]
 

Used when the OK button is clicked.

Calls apply()

Definition at line 56 of file umlroledialog.cpp.

References apply().


Member Data Documentation

UMLRole* UMLRoleDialog::m_pRole [protected]
 

The role to represent.

Definition at line 55 of file umlroledialog.h.

Referenced by setupDialog(), and UMLRoleDialog().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for umbrello Version 3.1.0.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Jun 26 08:08:08 2007 by doxygen 1.4.1 written by Dimitri van Heesch, © 1997-2003