Classes | Public Types | Public Member Functions | Private Member Functions | Private Attributes

UT_runDialog_AskForPathname Class Reference

#include <GTKCommon.h>

List of all members.

Classes

struct  Filetype

Public Types

typedef std::list< FiletypeFiletypeList_t

Public Member Functions

 UT_runDialog_AskForPathname (XAP_Dialog_Id id, const std::string &suggestedName="")
int appendFiletype (const std::string desc, const std::string ext, UT_sint32 n=0)
void setDefaultFiletype (const std::string desc, const std::string ext="")
bool run (XAP_Frame *pFrame=0)
const std::string & getPath () const
IEFileType getType ()

Private Member Functions

std::string appendDefaultSuffixFunctor (std::string dialogFilename, UT_sint32 n)

Private Attributes

std::string m_pathname
IEFileType m_ieft
XAP_Dialog_Id m_dialogId
bool m_saveAs
std::string m_suggestedName
FiletypeList_t m_filetypes
UT_sint32 m_defaultFiletype

Member Typedef Documentation


Constructor & Destructor Documentation

UT_runDialog_AskForPathname::UT_runDialog_AskForPathname ( XAP_Dialog_Id  id,
const std::string &  suggestedName = "" 
)

Member Function Documentation

std::string UT_runDialog_AskForPathname::appendDefaultSuffixFunctor ( std::string  dialogFilename,
UT_sint32  n 
) [private]

Referenced by run().

int UT_runDialog_AskForPathname::appendFiletype ( const std::string  desc,
const std::string  ext,
UT_sint32  n = 0 
)
const std::string & UT_runDialog_AskForPathname::getPath (  )  const
IEFileType UT_runDialog_AskForPathname::getType ( void   ) 

References m_ieft.

bool UT_runDialog_AskForPathname::run ( XAP_Frame pFrame = 0  ) 
void UT_runDialog_AskForPathname::setDefaultFiletype ( const std::string  desc,
const std::string  ext = "" 
)

Member Data Documentation

Referenced by run(), and setDefaultFiletype().

Referenced by run().

Referenced by getType(), and run().

Referenced by getPath(), and run().

Referenced by run(), and UT_runDialog_AskForPathname().

Referenced by run().


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