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 /lib/kofficeui/KoKoolBar.cpp | |
| parent | d08f80f854355e446d1c6be0eb50166646f7f291 (diff) | |
| download | koffice-e1b37ac1936f81994a2c1aa2778298fbc757531f.tar.gz koffice-e1b37ac1936f81994a2c1aa2778298fbc757531f.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 'lib/kofficeui/KoKoolBar.cpp')
| -rw-r--r-- | lib/kofficeui/KoKoolBar.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/kofficeui/KoKoolBar.cpp b/lib/kofficeui/KoKoolBar.cpp index ce8488746..997c68014 100644 --- a/lib/kofficeui/KoKoolBar.cpp +++ b/lib/kofficeui/KoKoolBar.cpp @@ -53,7 +53,7 @@ int KoKoolBar::insertItem( int _grp, const TQPixmap& _pix, const TQString& _text KoKoolBarItem *item = new KoKoolBarItem( g, _pix, _text ); if ( _obj != 0L && _slot != 0L ) - connect( item, TQT_SIGNAL( pressed( int, int ) ), _obj, _slot ); + connect( item, TQ_SIGNAL( pressed( int, int ) ), _obj, _slot ); g->append( item ); if ( g->id() == m_iActiveGroup ) @@ -245,13 +245,13 @@ void KoKoolBarBox::resizeEvent( TQResizeEvent * ) { m_pButtonUp = new TQPushButton( this ); m_pButtonUp->setPixmap( TQPixmap( UserIcon( "koKoolBarUp" ) ) ); - connect( m_pButtonUp, TQT_SIGNAL( clicked() ), this, TQT_SLOT( scrollUp() ) ); + connect( m_pButtonUp, TQ_SIGNAL( clicked() ), this, TQ_SLOT( scrollUp() ) ); } if ( m_pButtonDown == 0L ) { m_pButtonDown = new TQPushButton( this ); m_pButtonDown->setPixmap( TQPixmap( UserIcon( "koKoolBarDown" ) ) ); - connect( m_pButtonDown, TQT_SIGNAL( clicked() ), this, TQT_SLOT( scrollDown() ) ); + connect( m_pButtonDown, TQ_SIGNAL( clicked() ), this, TQ_SLOT( scrollDown() ) ); } m_pButtonUp->show(); m_pButtonUp->raise(); @@ -415,7 +415,7 @@ KoKoolBarGroup::KoKoolBarGroup( KoKoolBar *_bar, const TQString& _text ) : m_bEnabled = true; - connect( m_pButton, TQT_SIGNAL( clicked() ), this, TQT_SLOT( pressed() ) ); + connect( m_pButton, TQ_SIGNAL( clicked() ), this, TQ_SLOT( pressed() ) ); m_id = g_koKoolBarId++; } |
