diff options
Diffstat (limited to 'kexi/formeditor/spring.cpp')
-rw-r--r-- | kexi/formeditor/spring.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kexi/formeditor/spring.cpp b/kexi/formeditor/spring.cpp index 3e0651b1..1ec9a2b4 100644 --- a/kexi/formeditor/spring.cpp +++ b/kexi/formeditor/spring.cpp @@ -47,25 +47,25 @@ Spring::setOrientation(Qt::Orientation orient) SizeType type = sizeType(); m_orient = orient; setSizeType(type); - repaint(); + tqrepaint(); } Spring::SizeType Spring::sizeType() const { if(m_orient ==Qt::Vertical) - return (SizeType)sizePolicy().verData(); + return (SizeType)tqsizePolicy().verData(); else - return (SizeType)sizePolicy().horData(); + return (SizeType)tqsizePolicy().horData(); } void Spring::setSizeType(SizeType size) { if(m_orient ==Qt::Vertical) - setSizePolicy(TQSizePolicy::Minimum, (TQSizePolicy::SizeType)size); + tqsetSizePolicy(TQSizePolicy::Minimum, (TQSizePolicy::SizeType)size); else - setSizePolicy( (TQSizePolicy::SizeType)size, TQSizePolicy::Minimum); + tqsetSizePolicy( (TQSizePolicy::SizeType)size, TQSizePolicy::Minimum); } void @@ -144,10 +144,10 @@ Spring::saveSpring(KFormDesigner::ObjectTreeItem *item, TQDomElement &parentNode if(parentNode.tagName() == "widget") KFormDesigner::FormIO::savePropertyValue(tclass, domDoc, "geometry", item->widget()->property("geometry"), item->widget()); - if(!item->widget()->sizeHint().isValid()) - KFormDesigner::FormIO::savePropertyValue(tclass, domDoc, "sizeHint", item->widget()->property("size"), item->widget()); + if(!item->widget()->tqsizeHint().isValid()) + KFormDesigner::FormIO::savePropertyValue(tclass, domDoc, "tqsizeHint", item->widget()->property("size"), item->widget()); else - KFormDesigner::FormIO::savePropertyValue(tclass, domDoc, "sizeHint", item->widget()->property("sizeHint"), item->widget()); + KFormDesigner::FormIO::savePropertyValue(tclass, domDoc, "tqsizeHint", item->widget()->property("tqsizeHint"), item->widget()); KFormDesigner::FormIO::savePropertyValue(tclass, domDoc, "orientation", item->widget()->property("orientation"), item->widget()); KFormDesigner::FormIO::savePropertyValue(tclass, domDoc, "sizeType", item->widget()->property("sizeType"), item->widget()); |