#include <text.h>
Inheritance diagram for TextValue:
Public Member Functions | |
TextValue (QString t) | |
TextValue (double val) | |
virtual QString | toString () |
QString | getText () |
double | number () |
int | integer () |
virtual bool | equals_same_type (Value *other) |
virtual Data | getSaveDescription (QString) |
Private Attributes | |
QString | text |
Definition at line 3 of file text.h.
|
Definition at line 7 of file text.h. 00007 : text(t) 00008 { 00009 };
|
|
Definition at line 10 of file text.h. 00010 : text(QString::number(val)) 00011 { 00012 };
|
|
Implements Value. Definition at line 29 of file text.h. References text.
|
|
Implements Value. Definition at line 33 of file text.h. References text. 00034 { 00035 return String(text); 00036 };
|
|
Definition at line 17 of file text.h. References text. Referenced by ValueCopier::copyText(), and Runtime::image(). 00018 { 00019 return text; 00020 };
|
|
Definition at line 25 of file text.h. References text. 00026 { 00027 return atol(text); 00028 };
|
|
Definition at line 21 of file text.h. References text. Referenced by Runtime::add(), Runtime::div(), Runtime::mul(), and Runtime::neg(). 00022 { 00023 return atof(text); 00024 };
|
|
Implements Value. Definition at line 13 of file text.h. References text. 00014 { 00015 return text; 00016 };
|
|
Definition at line 5 of file text.h. Referenced by equals_same_type(), getSaveDescription(), getText(), integer(), number(), and toString(). |