Qt 4.8
Public Functions | Properties | List of all members
QScriptDebuggerConsoleCommandGroupData Class Reference

The QScriptDebuggerConsoleCommandGroupData class holds data associated with a console command group. More...

#include <qscriptdebuggerconsolecommandgroupdata_p.h>

Public Functions

bool isValid () const
 
QString longDescription () const
 
QScriptDebuggerConsoleCommandGroupDataoperator= (const QScriptDebuggerConsoleCommandGroupData &other)
 
 QScriptDebuggerConsoleCommandGroupData ()
 
 QScriptDebuggerConsoleCommandGroupData (const QString &shortDescription, const QString &longDescription)
 
 QScriptDebuggerConsoleCommandGroupData (const QScriptDebuggerConsoleCommandGroupData &other)
 
QString shortDescription () const
 
 ~QScriptDebuggerConsoleCommandGroupData ()
 

Properties

QScopedSharedPointer< QScriptDebuggerConsoleCommandGroupDataPrivated_ptr
 

Detailed Description

The QScriptDebuggerConsoleCommandGroupData class holds data associated with a console command group.

Since
4.5
Warning
This function is not part of the public interface.

Definition at line 65 of file qscriptdebuggerconsolecommandgroupdata_p.h.

Constructors and Destructors

◆ QScriptDebuggerConsoleCommandGroupData() [1/3]

QScriptDebuggerConsoleCommandGroupData::QScriptDebuggerConsoleCommandGroupData ( )

Definition at line 80 of file qscriptdebuggerconsolecommandgroupdata.cpp.

81  : d_ptr(0)
82 {
83 }
QScopedSharedPointer< QScriptDebuggerConsoleCommandGroupDataPrivate > d_ptr

◆ QScriptDebuggerConsoleCommandGroupData() [2/3]

QScriptDebuggerConsoleCommandGroupData::QScriptDebuggerConsoleCommandGroupData ( const QString shortDescription,
const QString longDescription 
)

◆ QScriptDebuggerConsoleCommandGroupData() [3/3]

QScriptDebuggerConsoleCommandGroupData::QScriptDebuggerConsoleCommandGroupData ( const QScriptDebuggerConsoleCommandGroupData other)

Definition at line 94 of file qscriptdebuggerconsolecommandgroupdata.cpp.

96  : d_ptr(other.d_ptr.data())
97 {
98  if (d_ptr)
99  d_ptr->ref.ref();
100 }
QScopedSharedPointer< QScriptDebuggerConsoleCommandGroupDataPrivate > d_ptr
T * data() const
Returns the value of the pointer referenced by this object.

◆ ~QScriptDebuggerConsoleCommandGroupData()

QScriptDebuggerConsoleCommandGroupData::~QScriptDebuggerConsoleCommandGroupData ( )

Definition at line 102 of file qscriptdebuggerconsolecommandgroupdata.cpp.

103 {
104 }

Functions

◆ isValid()

bool QScriptDebuggerConsoleCommandGroupData::isValid ( ) const

Definition at line 125 of file qscriptdebuggerconsolecommandgroupdata.cpp.

126 {
128  return (d != 0);
129 }
double d
Definition: qnumeric_p.h:62
#define Q_D(Class)
Definition: qglobal.h:2482
The QScriptDebuggerConsoleCommandGroupData class holds data associated with a console command group...

◆ longDescription()

QString QScriptDebuggerConsoleCommandGroupData::longDescription ( ) const

Definition at line 119 of file qscriptdebuggerconsolecommandgroupdata.cpp.

Referenced by consoleCommandGroupDataToScriptValue(), and QScriptDebuggerConsoleCommandGroupData().

120 {
122  return d->longDescription;
123 }
double d
Definition: qnumeric_p.h:62
#define Q_D(Class)
Definition: qglobal.h:2482
The QScriptDebuggerConsoleCommandGroupData class holds data associated with a console command group...

◆ operator=()

QScriptDebuggerConsoleCommandGroupData & QScriptDebuggerConsoleCommandGroupData::operator= ( const QScriptDebuggerConsoleCommandGroupData other)

Definition at line 106 of file qscriptdebuggerconsolecommandgroupdata.cpp.

108 {
109  d_ptr.assign(other.d_ptr.data());
110  return *this;
111 }
QScopedSharedPointer< QScriptDebuggerConsoleCommandGroupDataPrivate > d_ptr
T * data() const
Returns the value of the pointer referenced by this object.

◆ shortDescription()

QString QScriptDebuggerConsoleCommandGroupData::shortDescription ( ) const

Definition at line 113 of file qscriptdebuggerconsolecommandgroupdata.cpp.

Referenced by consoleCommandGroupDataToScriptValue(), and QScriptDebuggerConsoleCommandGroupData().

114 {
116  return d->shortDescription;
117 }
double d
Definition: qnumeric_p.h:62
#define Q_D(Class)
Definition: qglobal.h:2482
The QScriptDebuggerConsoleCommandGroupData class holds data associated with a console command group...

Properties

◆ d_ptr

QScopedSharedPointer<QScriptDebuggerConsoleCommandGroupDataPrivate> QScriptDebuggerConsoleCommandGroupData::d_ptr
private

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