diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:51:49 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:51:49 +0000 |
commit | 4ae0c208b66e0f7954e194384464fe2d0a2c56dd (patch) | |
tree | b0a7cd1c184f0003c0292eb416ed27f674f9cc43 /umbrello/umbrello/codeaccessormethod.cpp | |
parent | 1964ea0fb4ab57493ca2ebb709c8d3b5395fd653 (diff) | |
download | tdesdk-4ae0c208b66e0f7954e194384464fe2d0a2c56dd.tar.gz tdesdk-4ae0c208b66e0f7954e194384464fe2d0a2c56dd.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1157652 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'umbrello/umbrello/codeaccessormethod.cpp')
-rw-r--r-- | umbrello/umbrello/codeaccessormethod.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/umbrello/umbrello/codeaccessormethod.cpp b/umbrello/umbrello/codeaccessormethod.cpp index 329bef51..e7890865 100644 --- a/umbrello/umbrello/codeaccessormethod.cpp +++ b/umbrello/umbrello/codeaccessormethod.cpp @@ -102,15 +102,15 @@ void CodeAccessorMethod::forceRelease () { /** * load params from the appropriate XMI element node. */ -void CodeAccessorMethod::loadFromXMI ( QDomElement & root ) { +void CodeAccessorMethod::loadFromXMI ( TQDomElement & root ) { setAttributesFromNode(root); } /** * Save the XMI representation of this object */ -void CodeAccessorMethod::saveToXMI ( QDomDocument & doc, QDomElement & root ) { - QDomElement docElement = doc.createElement( "codeaccessormethod" ); +void CodeAccessorMethod::saveToXMI ( TQDomDocument & doc, TQDomElement & root ) { + TQDomElement docElement = doc.createElement( "codeaccessormethod" ); setAttributesOnNode(doc, docElement); @@ -120,7 +120,7 @@ void CodeAccessorMethod::saveToXMI ( QDomDocument & doc, QDomElement & root ) { /** set attributes of the node that represents this class * in the XMI document. */ -void CodeAccessorMethod::setAttributesOnNode ( QDomDocument & doc, QDomElement & elem) +void CodeAccessorMethod::setAttributesOnNode ( TQDomDocument & doc, TQDomElement & elem) { // set super-class attributes @@ -135,7 +135,7 @@ void CodeAccessorMethod::setAttributesOnNode ( QDomDocument & doc, QDomElement & /** set the class attributes of this object from * the passed element node. */ -void CodeAccessorMethod::setAttributesFromNode ( QDomElement & root) { +void CodeAccessorMethod::setAttributesFromNode ( TQDomElement & root) { // set attributes from the XMI CodeMethodBlock::setAttributesFromNode(root); // superclass load @@ -148,7 +148,7 @@ void CodeAccessorMethod::setAttributesFromNode ( QDomElement & root) { // clipping and pasting of these methods between classes/ classfields // then we may have problems (ugh.. I cant imagine allowing this, but // perhaps someone will see a need to allow it. -b.t.) - QString id = root.attribute("classfield_id","-1"); + TQString id = root.attribute("classfield_id","-1"); CodeClassField * newCF = 0; ClassifierCodeDocument * cdoc = dynamic_cast<ClassifierCodeDocument*>(getParentDocument()); if(cdoc) @@ -189,7 +189,7 @@ void CodeAccessorMethod::initFields(CodeClassField * parentClassField ) { m_accessorType = GET; m_canDelete = false; // we cant delete these with the codeeditor, delete the UML operation instead. - connect(m_parentclassfield,SIGNAL(modified()),this,SLOT(syncToParent())); + connect(m_parentclassfield,TQT_SIGNAL(modified()),this,TQT_SLOT(syncToParent())); } #include "codeaccessormethod.moc" |