qse
0.5.4
Main Page
Related Pages
Classes
Files
File List
File Members
qse
qseparameter.cpp
Go to the documentation of this file.
1
#include "
qseparameter.h
"
2
#include "
qseoperator.h
"
3
4
#include <stdio.h>
5
6
QseParameter::QseParameter
(
QseOperator
* op,
const
QString& nm, QObject* parent)
7
: QObject(parent),
8
m_Operator(op)
9
{
10
setName
(op->
name
()+
"."
+nm);
11
12
// printf("Initialized %s\n", qPrintable(name()));
13
14
m_Operator
->
addParameter
(
this
);
15
}
16
17
QString
QseParameter::name
()
const
18
{
19
return
m_Name
;
20
}
21
22
void
QseParameter::setName
(
const
QString& nm)
23
{
24
m_Name
= nm;
25
}
26
27
QVariant
QseParameter::value
()
const
28
{
29
return
m_Value
;
30
}
31
32
void
QseParameter::setValue
(
const
QVariant& val)
33
{
34
m_Value
= val;
35
}
QseParameter::value
QVariant value() const
Definition:
qseparameter.cpp:27
QseOperator
Definition:
qseoperator.h:9
QseParameter::name
QString name() const
Definition:
qseparameter.cpp:17
qseparameter.h
QseParameter::m_Operator
QseOperator * m_Operator
Definition:
qseparameter.h:27
qseoperator.h
QseParameter::setValue
void setValue(const QVariant &value)
Definition:
qseparameter.cpp:32
QseOperator::name
QString name() const
Definition:
qseoperator.cpp:11
QseParameter::m_Value
QVariant m_Value
Definition:
qseparameter.h:26
QseParameter::setName
void setName(const QString &nm)
Definition:
qseparameter.cpp:22
QseParameter::QseParameter
QseParameter()
QseParameter::m_Name
QString m_Name
Definition:
qseparameter.h:25
QseOperator::addParameter
void addParameter(QseParameter *parameter)
Definition:
qseoperator.cpp:21
Generated by
1.8.6