LLWearableSaveAsDialog Class Reference

Inheritance diagram for LLWearableSaveAsDialog:

Inheritance graph
Collaboration diagram for LLWearableSaveAsDialog:

Collaboration graph
List of all members.

Public Member Functions

 LLWearableSaveAsDialog (const LLString &desc, void(*commit_cb)(LLWearableSaveAsDialog *, void *), void *userdata)
virtual void startModal ()
const LLStringgetItemName ()

Static Public Member Functions

static void onSave (void *userdata)
static void onCancel (void *userdata)

Private Attributes

LLString mItemName
void(* mCommitCallback )(LLWearableSaveAsDialog *, void *)

Detailed Description

Definition at line 131 of file llfloatercustomize.cpp.

Constructor & Destructor Documentation

LLWearableSaveAsDialog::LLWearableSaveAsDialog ( const LLString desc,
void(*)(LLWearableSaveAsDialog *, void *)  commit_cb,
void userdata 
) [inline]

Definition at line 139 of file llfloatercustomize.cpp.

References LLUICtrlFactory::buildFloater(), LLPanel::childSetAction(), LLPanel::childSetTextArg(), gUICtrlFactory, onCancel(), and onSave().

Member Function Documentation

const LLString& LLWearableSaveAsDialog::getItemName (  )  [inline]

Definition at line 160 of file llfloatercustomize.cpp.

References mItemName.

Referenced by LLPanelEditWearable::onSaveAsCommit().

static void LLWearableSaveAsDialog::onCancel ( void userdata  )  [inline, static]

Definition at line 177 of file llfloatercustomize.cpp.

Referenced by LLWearableSaveAsDialog().

static void LLWearableSaveAsDialog::onSave ( void userdata  )  [inline, static]

Definition at line 162 of file llfloatercustomize.cpp.

References LLStringBase< char >::trim().

Referenced by LLWearableSaveAsDialog().

virtual void LLWearableSaveAsDialog::startModal (  )  [inline, virtual]

Reimplemented from LLModalDialog.

Definition at line 151 of file llfloatercustomize.cpp.

References LLUICtrlFactory::getLineEditorByName(), LLLineEditor::selectAll(), LLLineEditor::setFocus(), LLModalDialog::startModal(), and TRUE.

Referenced by LLPanelEditWearable::onBtnSaveAs().

Member Data Documentation

void* LLWearableSaveAsDialog::mCallbackUserData [private]

Reimplemented from LLUICtrl.

Definition at line 136 of file llfloatercustomize.cpp.

void(* LLWearableSaveAsDialog::mCommitCallback)(LLWearableSaveAsDialog *, void *) [private]

Reimplemented from LLUICtrl.

LLString LLWearableSaveAsDialog::mItemName [private]

Definition at line 134 of file llfloatercustomize.cpp.

Referenced by getItemName().

The documentation for this class was generated from the following file:
Generated on Thu Jul 1 06:12:03 2010 for Second Life Viewer by  doxygen 1.4.7