diff options
author | ormorph <[email protected]> | 2020-08-27 19:48:01 +0300 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2020-08-28 20:54:25 +0900 |
commit | 155659674046c19b610d38cd2963628798add11d (patch) | |
tree | 9dbb4b553d33996ffc562ac8ab33533e7901087d /quanta/components/framewizard/visualframeeditor.cpp | |
parent | f3edeac1f13d71e8e12bdc713f1b8c7ad936b548 (diff) | |
download | tdewebdev-155659674046c19b610d38cd2963628798add11d.tar.gz tdewebdev-155659674046c19b610d38cd2963628798add11d.zip |
Rename *OBJECT_NAME_STRING
Signed-off-by: ormorph <[email protected]>
(cherry picked from commit ae3ed3d32920f5780af51aad9683b82179e9655d)
Diffstat (limited to 'quanta/components/framewizard/visualframeeditor.cpp')
-rw-r--r-- | quanta/components/framewizard/visualframeeditor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/quanta/components/framewizard/visualframeeditor.cpp b/quanta/components/framewizard/visualframeeditor.cpp index 4b1f62f3..36974d0d 100644 --- a/quanta/components/framewizard/visualframeeditor.cpp +++ b/quanta/components/framewizard/visualframeeditor.cpp @@ -231,7 +231,7 @@ void VisualFrameEditor::paintEvent ( TQPaintEvent * ){ delete m_firstInsertedSA; m_firstInsertedSA = 0L; - TQObjectList* splitterList = queryList(TQSPLITTER_OBJECT_NAME_STRING); + TQObjectList* splitterList = queryList("TQSplitter"); for (uint i = 0; i < splitterList->count(); i++) { TQObject* o = splitterList->at(i); removeChild(o); //this will delete all childr of "o" @@ -301,7 +301,7 @@ void VisualFrameEditor::drawGUI(treeNode *n, TQWidget* parent){ } else { SelectableArea *sa=new SelectableArea(parent,n->label().ascii()); - if(parent->isA(TQSPLITTER_OBJECT_NAME_STRING)) dynamic_cast<TQSplitter *>(parent)->setResizeMode(sa->view(),TQSplitter::KeepSize ); + if(parent->isA("TQSplitter")) dynamic_cast<TQSplitter *>(parent)->setResizeMode(sa->view(),TQSplitter::KeepSize ); else if(!m_firstInsertedSA) m_firstInsertedSA = sa; sa->view()->setGeometry(n->atts()->geometry()); |