KDevelop API Documentation

ArgumentModel Class Reference

#include <codemodel.h>

Inheritance diagram for ArgumentModel:

CodeModelItem KShared List of all members.

Public Types

typedef ArgumentDom Ptr

Public Member Functions

virtual bool isArgument () const
QString type () const
void setType (const QString &type)
QString defaultValue () const
void setDefaultValue (const QString &defaultValue)
virtual void read (QDataStream &stream)
virtual void write (QDataStream &stream) const

Protected Member Functions

 ArgumentModel (CodeModel *model)

Private Member Functions

 ArgumentModel (const ArgumentModel &source)
void operator= (const ArgumentModel &source)

Private Attributes

QString m_type
QString m_defaultValue

Member Typedef Documentation

typedef ArgumentDom ArgumentModel::Ptr
 

Reimplemented from CodeModelItem.

Definition at line 362 of file codemodel.h.


Constructor & Destructor Documentation

ArgumentModel::ArgumentModel CodeModel model  )  [protected]
 

Definition at line 699 of file codemodel.cpp.

References ArgumentModel().

Referenced by ArgumentModel().

ArgumentModel::ArgumentModel const ArgumentModel source  )  [private]
 


Member Function Documentation

QString ArgumentModel::defaultValue  )  const
 

Definition at line 714 of file codemodel.cpp.

References m_defaultValue.

Referenced by PascalSupportPart::formatModelItem(), JavaSupportPart::formatModelItem(), and CppSupportPart::formatModelItem().

virtual bool ArgumentModel::isArgument  )  const [inline, virtual]
 

Reimplemented from CodeModelItem.

Definition at line 364 of file codemodel.h.

void ArgumentModel::operator= const ArgumentModel source  )  [private]
 

void ArgumentModel::read QDataStream stream  )  [virtual]
 

Reimplemented from CodeModelItem.

Definition at line 1051 of file codemodel.cpp.

References m_defaultValue, m_type, and read().

Referenced by read().

void ArgumentModel::setDefaultValue const QString defaultValue  ) 
 

Definition at line 719 of file codemodel.cpp.

References m_defaultValue, and setDefaultValue().

Referenced by setDefaultValue().

void ArgumentModel::setType const QString type  ) 
 

Definition at line 709 of file codemodel.cpp.

References m_type, and setType().

Referenced by setType().

QString ArgumentModel::type  )  const
 

Definition at line 704 of file codemodel.cpp.

References m_type.

Referenced by PascalSupportPart::formatModelItem(), JavaSupportPart::formatModelItem(), and CppSupportPart::formatModelItem().

void ArgumentModel::write QDataStream stream  )  const [virtual]
 

Reimplemented from CodeModelItem.

Definition at line 1058 of file codemodel.cpp.

References m_defaultValue, m_type, and write().

Referenced by write().


Member Data Documentation

QString ArgumentModel::m_defaultValue [private]
 

Definition at line 377 of file codemodel.h.

Referenced by defaultValue(), read(), setDefaultValue(), and write().

QString ArgumentModel::m_type [private]
 

Definition at line 376 of file codemodel.h.

Referenced by read(), setType(), type(), and write().


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 Tue Oct 19 08:01:58 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003