~ubuntu-branches/ubuntu/quantal/muse/quantal

« back to all changes in this revision

Viewing changes to muse/value.cpp

  • Committer: Package Import Robot
  • Author(s): Alessio Treglia
  • Date: 2011-08-12 11:16:41 UTC
  • mfrom: (1.2.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 26.
  • Revision ID: package-import@ubuntu.com-20110812111641-sg7bj019yhh91mpl
Tags: upstream-2.0~beta2
ImportĀ upstreamĀ versionĀ 2.0~beta2

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
 
12
12
 
13
13
IValue::IValue(QObject* parent, const char* name)
14
 
   : QObject(parent, name)
 
14
   : QObject(parent)
15
15
      {
 
16
      setObjectName(name);
16
17
      }
17
18
BValue::BValue(QObject* parent, const char* name)
18
 
   : QObject(parent, name)
 
19
   : QObject(parent)
19
20
      {
 
21
      setObjectName(name);
20
22
      }
21
23
 
22
24
//---------------------------------------------------------
25
27
 
26
28
void BValue::save(int level, Xml& xml)
27
29
      {
28
 
      xml.intTag(level, name(), val);
 
30
      xml.intTag(level, objectName().toLatin1().constData(), val);
29
31
      }
30
32
 
31
33
//---------------------------------------------------------
34
36
 
35
37
void IValue::save(int level, Xml& xml)
36
38
      {
37
 
      xml.intTag(level, name(), val);
 
39
      xml.intTag(level, objectName().toLatin1().constData(), val);
38
40
      }
39
41
 
40
42
//---------------------------------------------------------