diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-04 10:30:32 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-13 20:22:52 +0900 |
| commit | e1b37ac1936f81994a2c1aa2778298fbc757531f (patch) | |
| tree | 2e2df5ea5786d581b10e51e0cbde9f4921697b2f /koshell/iconsidepane.cpp | |
| parent | d08f80f854355e446d1c6be0eb50166646f7f291 (diff) | |
| download | koffice-e1b37ac1.tar.gz koffice-e1b37ac1.zip | |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit c0332621bc998c9786f4841e86a62b7711fe4abf)
Diffstat (limited to 'koshell/iconsidepane.cpp')
| -rw-r--r-- | koshell/iconsidepane.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/koshell/iconsidepane.cpp b/koshell/iconsidepane.cpp index c92fa97a1..392aacf77 100644 --- a/koshell/iconsidepane.cpp +++ b/koshell/iconsidepane.cpp @@ -218,11 +218,11 @@ Navigator::Navigator(bool _selectable, TDEPopupMenu * menu, IconSidePane *_icons setFocusPolicy( TQWidget::NoFocus ); - connect( this, TQT_SIGNAL( clicked( TQListBoxItem* ) ), - TQT_SLOT( slotExecuted( TQListBoxItem* ) ) ); - connect( this, TQT_SIGNAL( onItem( TQListBoxItem * ) ), - TQT_SLOT( slotMouseOn( TQListBoxItem * ) ) ); - connect( this, TQT_SIGNAL( onViewport() ), TQT_SLOT( slotMouseOff() ) ); + connect( this, TQ_SIGNAL( clicked( TQListBoxItem* ) ), + TQ_SLOT( slotExecuted( TQListBoxItem* ) ) ); + connect( this, TQ_SIGNAL( onItem( TQListBoxItem * ) ), + TQ_SLOT( slotMouseOn( TQListBoxItem * ) ) ); + connect( this, TQ_SIGNAL( onViewport() ), TQ_SLOT( slotMouseOff() ) ); TQToolTip::remove( this ); if ( !mSidePane->showText() ) @@ -485,15 +485,15 @@ void IconSidePane::removeItem( int _grp, int _id ) int IconSidePane::insertGroup(const TQString &_text, bool _selectable, TQObject *_obj, const char *_slot) { mCurrentNavigator = new Navigator(_selectable, mPopupMenu, this, mWidgetstack ); - //connect( mCurrentNavigator, TQT_SIGNAL( itemSelected( int ) ), this, TQT_SLOT( itemSelected( int ) ) ); + //connect( mCurrentNavigator, TQ_SIGNAL( itemSelected( int ) ), this, TQ_SLOT( itemSelected( int ) ) ); if ( _obj != 0L && _slot != 0L ) - connect( mCurrentNavigator, TQT_SIGNAL( itemSelected(int ) ), _obj, _slot ); - connect( mCurrentNavigator, TQT_SIGNAL( updateAllWidgets() ), this, TQT_SLOT(updateAllWidgets()) ); + connect( mCurrentNavigator, TQ_SIGNAL( itemSelected(int ) ), _obj, _slot ); + connect( mCurrentNavigator, TQ_SIGNAL( updateAllWidgets() ), this, TQ_SLOT(updateAllWidgets()) ); int const id = mWidgetstack->addWidget(mCurrentNavigator); mWidgetStackIds.append( id ); KPushButton *b = new KPushButton( _text, m_buttongroup ); m_buttongroup->insert( b, id ); - connect( b, TQT_SIGNAL( clicked() ), this, TQT_SLOT( buttonClicked() ) ); + connect( b, TQ_SIGNAL( clicked() ), this, TQ_SLOT( buttonClicked() ) ); b->setToggleButton( true ); b->setFocusPolicy( TQWidget::NoFocus ); if (m_buttongroup->count()==1) |
