summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-09-01 18:05:07 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-09-01 22:23:46 +0900
commit942d671706374179f6dd95e1dc2b514634ea1c39 (patch)
treeae848042ecfe79491b7ce45ffb8f6635722029e6
parent3fe98cbfe37d2d442ac0bf6a0ca9d27cdfc0980e (diff)
downloadtdevelop-942d671706374179f6dd95e1dc2b514634ea1c39.tar.gz
tdevelop-942d671706374179f6dd95e1dc2b514634ea1c39.zip
Replace tqt_mo_* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--kdevdesigner/designer/connectionitems.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kdevdesigner/designer/connectionitems.cpp b/kdevdesigner/designer/connectionitems.cpp
index 059fe6bf..2ad6afd8 100644
--- a/kdevdesigner/designer/connectionitems.cpp
+++ b/kdevdesigner/designer/connectionitems.cpp
@@ -447,14 +447,14 @@ void SlotItem::updateSlotList()
for( int i = 0; i < n; ++i ) {
// accept only public slots. For the form window, also accept protected slots
const TQMetaData* md = lastReceiver->metaObject()->slot( i, TRUE );
- if ( ( (lastReceiver->metaObject()->slot( i, TRUE )->tqt_mo_access == TQMetaData::Public) ||
+ if ( ( (lastReceiver->metaObject()->slot( i, TRUE )->access == TQMetaData::Public) ||
(formWindow->isMainContainer( TQT_TQOBJECT(lastReceiver) ) &&
- lastReceiver->metaObject()->slot(i, TRUE)->tqt_mo_access ==
+ lastReceiver->metaObject()->slot(i, TRUE)->access ==
TQMetaData::Protected) ) &&
- !ignoreSlot( md->tqt_mo_ci_name ) &&
- checkConnectArgs( signal.latin1(), lastReceiver, md->tqt_mo_ci_name ) )
- if ( lst.find( md->tqt_mo_ci_name ) == lst.end() )
- lst << MetaDataBase::normalizeFunction( md->tqt_mo_ci_name );
+ !ignoreSlot( md->name ) &&
+ checkConnectArgs( signal.latin1(), lastReceiver, md->name ) )
+ if ( lst.find( md->name ) == lst.end() )
+ lst << MetaDataBase::normalizeFunction( md->name );
}
LanguageInterface *iface =