diff options
Diffstat (limited to 'kdevdesigner/designer/connectionitems.cpp')
-rw-r--r-- | kdevdesigner/designer/connectionitems.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/kdevdesigner/designer/connectionitems.cpp b/kdevdesigner/designer/connectionitems.cpp index 12b03a1d..d43bb874 100644 --- a/kdevdesigner/designer/connectionitems.cpp +++ b/kdevdesigner/designer/connectionitems.cpp @@ -49,11 +49,11 @@ static const char* const ignore_slots[] = { "update()", "update(int,int,int,int)", "update(const TQRect&)", - "repaint()", - "repaint(bool)", - "repaint(int,int,int,int,bool)", - "repaint(const TQRect&,bool)", - "repaint(const TQRegion&,bool)", + "tqrepaint()", + "tqrepaint(bool)", + "tqrepaint(int,int,int,int,bool)", + "tqrepaint(const TQRect&,bool)", + "tqrepaint(const TQRegion&,bool)", "show()", "hide()", "iconify()", @@ -170,7 +170,7 @@ void ConnectionItem::paint( TQPainter *p, const TQColorGroup &cg, p->setFont( f ); } - p->drawText( x + 2, 0, w - x - 4, h, alignment(), currentText() ); + p->drawText( x + 2, 0, w - x - 4, h, tqalignment(), currentText() ); p->setFont( oldf ); } @@ -338,7 +338,7 @@ SignalItem::SignalItem( TQTable *table, FormWindow *fw ) void SignalItem::senderChanged( TQObject *sender ) { - TQStrList sigs = sender->metaObject()->signalNames( TRUE ); + TQStrList sigs = sender->tqmetaObject()->signalNames( TRUE ); sigs.remove( "destroyed()" ); sigs.remove( "destroyed(TQObject*)" ); sigs.remove( "accessibilityChanged(int)" ); @@ -441,15 +441,15 @@ void SlotItem::updateSlotList() } TQString signal = MetaDataBase::normalizeFunction( lastSignal ); - int n = lastReceiver->metaObject()->numSlots( TRUE ); + int n = lastReceiver->tqmetaObject()->numSlots( TRUE ); TQStringList slts; 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) || + const TQMetaData* md = lastReceiver->tqmetaObject()->slot( i, TRUE ); + if ( ( (lastReceiver->tqmetaObject()->slot( i, TRUE )->tqt_mo_access == TQMetaData::Public) || (formWindow->isMainContainer( TQT_TQOBJECT(lastReceiver) ) && - lastReceiver->metaObject()->slot(i, TRUE)->tqt_mo_access == + lastReceiver->tqmetaObject()->slot(i, TRUE)->tqt_mo_access == TQMetaData::Protected) ) && !ignoreSlot( md->tqt_mo_ci_name ) && checkConnectArgs( signal.latin1(), lastReceiver, md->tqt_mo_ci_name ) ) |