diff options
author | ormorph <[email protected]> | 2020-08-27 19:48:01 +0300 |
---|---|---|
committer | ormorph <[email protected]> | 2020-08-27 19:48:01 +0300 |
commit | ae3ed3d32920f5780af51aad9683b82179e9655d (patch) | |
tree | 7ee0468d90507a69359f9b5e6d1e15c4d05c67bd /quanta/components | |
parent | 20fd79e5f4ac230cc4f6da008605be225f8b3399 (diff) | |
download | tdewebdev-ae3ed3d32920f5780af51aad9683b82179e9655d.tar.gz tdewebdev-ae3ed3d32920f5780af51aad9683b82179e9655d.zip |
Rename *OBJECT_NAME_STRING
Signed-off-by: ormorph <[email protected]>
Diffstat (limited to 'quanta/components')
-rw-r--r-- | quanta/components/csseditor/cssselector.cpp | 4 | ||||
-rw-r--r-- | quanta/components/framewizard/visualframeeditor.cpp | 4 | ||||
-rw-r--r-- | quanta/components/tableeditor/tableitem.cpp | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/quanta/components/csseditor/cssselector.cpp b/quanta/components/csseditor/cssselector.cpp index 1124273e..389b5402 100644 --- a/quanta/components/csseditor/cssselector.cpp +++ b/quanta/components/csseditor/cssselector.cpp @@ -209,7 +209,7 @@ void CSSSelector::openCSSEditor(TQListViewItem * i){ TQListView *lv = i->listView(); TQListViewItem *temp; TQString s; - TQObjectList *l = queryList( TQLISTVIEW_OBJECT_NAME_STRING ); + TQObjectList *l = queryList( "TQListView" ); TQObjectListIt it( *l ); // iterate over the listviews TQObject *obj; @@ -291,7 +291,7 @@ void CSSSelector::openCSSEditor(TQListViewItem * i){ } void CSSSelector::setCurrentListView(TQWidget* w){ - TQObjectList *l = w->queryList( TQLISTVIEW_OBJECT_NAME_STRING ); + TQObjectList *l = w->queryList( "TQListView" ); m_currentListView = static_cast<TQListView*>(TQT_TQWIDGET(l->first())); } 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()); diff --git a/quanta/components/tableeditor/tableitem.cpp b/quanta/components/tableeditor/tableitem.cpp index f236ef76..0b704529 100644 --- a/quanta/components/tableeditor/tableitem.cpp +++ b/quanta/components/tableeditor/tableitem.cpp @@ -54,7 +54,7 @@ TQWidget* TableItem::createEditor() const void TableItem::setContentFromEditor(TQWidget *w) { - if (w->inherits( TQTEXTEDIT_OBJECT_NAME_STRING )) + if (w->inherits( "TQTextEdit" )) setText(((TQTextEdit*)w)->text()); else TQTableItem::setContentFromEditor(w); |