KDevelop API Documentation

FileCreate::FileType Class Reference

#include <filecreate_filetype.h>

List of all members.

Public Member Functions

 FileType ()
void setName (const QString &name)
QString name () const
void setExt (const QString &ext)
QString ext () const
void setCreateMethod (const QString &createMethod)
QString createMethod () const
void setSubtypeRef (const QString &subtypeRef)
QString subtypeRef () const
void setIcon (const QString &iconName)
QString icon () const
void setDescr (const QString &descr)
QString descr () const
void setEnabled (bool on)
bool enabled () const
void setSubtypesEnabled (bool enabled=true)
void addSubtype (const FileType *subtype)
QPtrList< FileTypesubtypes () const

Private Attributes

QString m_name
QString m_ext
QString m_createMethod
QString m_subtypeRef
QString m_iconName
QString m_descr
bool m_enabled
QPtrList< FileTypem_subtypes


Constructor & Destructor Documentation

FileCreate::FileType::FileType  )  [inline]
 

Definition at line 23 of file filecreate_filetype.h.

References m_enabled, and m_subtypes.


Member Function Documentation

void FileCreate::FileType::addSubtype const FileType subtype  )  [inline]
 

Definition at line 44 of file filecreate_filetype.h.

References addSubtype(), and m_subtypes.

Referenced by addSubtype(), and FileCreatePart::readTypes().

QString FileCreate::FileType::createMethod  )  const [inline]
 

Definition at line 32 of file filecreate_filetype.h.

References m_createMethod.

Referenced by FileCreatePart::readTypes().

QString FileCreate::FileType::descr  )  const [inline]
 

Definition at line 38 of file filecreate_filetype.h.

References m_descr.

Referenced by FileCreate::ListItem::init(), FCConfigWidget::loadFileTypes(), FileCreate::FriendlyWidget::setCurrent(), FileCreate::FriendlyWidget::setRow(), and FileCreate::FileDialog::slotActionTextChanged().

bool FileCreate::FileType::enabled  )  const [inline]
 

Definition at line 40 of file filecreate_filetype.h.

References m_enabled.

Referenced by FileCreatePart::getEnabledType(), FileCreate::ListWidget::refresh(), FileCreate::FriendlyWidget::refresh(), and FileCreate::NewFileChooser::setFileTypes().

QString FileCreate::FileType::ext  )  const [inline]
 

Definition at line 30 of file filecreate_filetype.h.

References m_ext.

Referenced by FileCreatePart::createNewFile(), FileCreatePart::getEnabledType(), FileCreatePart::getType(), FileCreate::ListItem::init(), FCConfigWidget::loadFileTypes(), FileCreatePart::readTypes(), FileCreate::FriendlyWidget::setCurrent(), FileCreate::FriendlyWidget::setRow(), FileCreatePart::slotFiletypeSelected(), and FileCreatePart::slotNoteFiletype().

QString FileCreate::FileType::icon  )  const [inline]
 

Definition at line 36 of file filecreate_filetype.h.

References m_iconName.

Referenced by FileCreate::ListItem::init(), FCConfigWidget::loadFileTypes(), and FileCreate::FriendlyWidget::setRow().

QString FileCreate::FileType::name  )  const [inline]
 

Definition at line 28 of file filecreate_filetype.h.

References m_name.

Referenced by FileCreate::ListItem::init(), FCConfigWidget::loadFileTypes(), FileCreatePart::readTypes(), and FileCreate::FriendlyWidget::setRow().

void FileCreate::FileType::setCreateMethod const QString createMethod  )  [inline]
 

Definition at line 31 of file filecreate_filetype.h.

References m_createMethod, and setCreateMethod().

Referenced by FileCreatePart::addFileType(), FileCreatePart::readTypes(), and setCreateMethod().

void FileCreate::FileType::setDescr const QString descr  )  [inline]
 

Definition at line 37 of file filecreate_filetype.h.

References m_descr, and setDescr().

Referenced by FileCreatePart::readTypes(), and setDescr().

void FileCreate::FileType::setEnabled bool  on  )  [inline]
 

Definition at line 39 of file filecreate_filetype.h.

References m_enabled, and setEnabled().

Referenced by FileCreatePart::addFileType(), FCConfigWidget::loadProjectTemplates(), FileCreatePart::readTypes(), setEnabled(), setSubtypesEnabled(), and FileCreatePart::slotInitialize().

void FileCreate::FileType::setExt const QString ext  )  [inline]
 

Definition at line 29 of file filecreate_filetype.h.

References m_ext, and setExt().

Referenced by FileCreatePart::addFileType(), FCConfigWidget::loadProjectTemplates(), FileCreatePart::readTypes(), and setExt().

void FileCreate::FileType::setIcon const QString iconName  )  [inline]
 

Definition at line 35 of file filecreate_filetype.h.

References m_iconName, and setIcon().

Referenced by FileCreatePart::readTypes(), and setIcon().

void FileCreate::FileType::setName const QString name  )  [inline]
 

Definition at line 27 of file filecreate_filetype.h.

References m_name, and setName().

Referenced by FileCreatePart::addFileType(), FCConfigWidget::loadProjectTemplates(), FileCreatePart::readTypes(), and setName().

void FileCreate::FileType::setSubtypeRef const QString subtypeRef  )  [inline]
 

Definition at line 33 of file filecreate_filetype.h.

References m_subtypeRef, and setSubtypeRef().

Referenced by FileCreatePart::readTypes(), and setSubtypeRef().

void FileCreate::FileType::setSubtypesEnabled bool  enabled = true  ) 
 

Definition at line 15 of file filecreate_filetype.cpp.

References m_subtypes, and setEnabled().

Referenced by FileCreatePart::slotInitialize().

QString FileCreate::FileType::subtypeRef  )  const [inline]
 

Definition at line 34 of file filecreate_filetype.h.

References m_subtypeRef.

Referenced by FileCreatePart::createNewFile(), FileCreatePart::getEnabledType(), FileCreatePart::getType(), FCConfigWidget::loadFileTypes(), and FileCreatePart::slotFiletypeSelected().

QPtrList<FileType> FileCreate::FileType::subtypes  )  const [inline]
 

Definition at line 45 of file filecreate_filetype.h.

References m_subtypes.

Referenced by FileCreatePart::getEnabledType(), FileCreatePart::getType(), FCConfigWidget::loadFileTypes(), FileCreate::ListWidget::refresh(), FileCreate::FriendlyWidget::refresh(), FileCreate::NewFileChooser::setFileTypes(), and FileCreatePart::slotInitialize().


Member Data Documentation

QString FileCreate::FileType::m_createMethod [private]
 

Definition at line 50 of file filecreate_filetype.h.

Referenced by createMethod(), and setCreateMethod().

QString FileCreate::FileType::m_descr [private]
 

Definition at line 53 of file filecreate_filetype.h.

Referenced by descr(), and setDescr().

bool FileCreate::FileType::m_enabled [private]
 

Definition at line 55 of file filecreate_filetype.h.

Referenced by enabled(), FileType(), and setEnabled().

QString FileCreate::FileType::m_ext [private]
 

Definition at line 49 of file filecreate_filetype.h.

Referenced by ext(), and setExt().

QString FileCreate::FileType::m_iconName [private]
 

Definition at line 52 of file filecreate_filetype.h.

Referenced by icon(), and setIcon().

QString FileCreate::FileType::m_name [private]
 

Definition at line 48 of file filecreate_filetype.h.

Referenced by name(), and setName().

QString FileCreate::FileType::m_subtypeRef [private]
 

Definition at line 51 of file filecreate_filetype.h.

Referenced by setSubtypeRef(), and subtypeRef().

QPtrList<FileType> FileCreate::FileType::m_subtypes [private]
 

Definition at line 57 of file filecreate_filetype.h.

Referenced by addSubtype(), FileType(), setSubtypesEnabled(), and subtypes().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for KDevelop Version 3.0.4.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Oct 6 17:39:32 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003