KDevelop API Documentation

ArgumentModel Class Reference

#include <codemodel.h>

Inheritance diagram for ArgumentModel:

Inheritance graph
[legend]
Collaboration diagram for ArgumentModel:

Collaboration graph
[legend]
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

Friends

class CodeModel

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.

ArgumentModel::ArgumentModel const ArgumentModel source  )  [private]
 


Member Function Documentation

QString ArgumentModel::defaultValue  )  const
 

Definition at line 714 of file codemodel.cpp.

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_type, and CodeModelItem::read().

void ArgumentModel::setDefaultValue const QString defaultValue  ) 
 

Definition at line 719 of file codemodel.cpp.

References m_defaultValue.

void ArgumentModel::setType const QString type  ) 
 

Definition at line 709 of file codemodel.cpp.

References m_type.

QString ArgumentModel::type  )  const
 

Definition at line 704 of file codemodel.cpp.

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_type, and CodeModelItem::write().


Friends And Related Function Documentation

friend class CodeModel [friend]
 

Definition at line 382 of file codemodel.h.


Member Data Documentation

QString ArgumentModel::m_defaultValue [private]
 

Definition at line 377 of file codemodel.h.

Referenced by setDefaultValue().

QString ArgumentModel::m_type [private]
 

Definition at line 376 of file codemodel.h.

Referenced by read(), setType(), 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.1.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Mar 23 00:19:04 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003