diff options
author | Michele Calgaro <[email protected]> | 2024-01-13 17:34:53 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-18 09:59:16 +0900 |
commit | 40393e30bb743346b6b40bf130da35419c12ebdc (patch) | |
tree | 9330d82486c7b3125b8275914565b324f9af523e /ksirc/mditoplevel.cpp | |
parent | 05594058244ba6a1866d5758ae412fb5afd6d727 (diff) | |
download | tdenetwork-40393e30bb743346b6b40bf130da35419c12ebdc.tar.gz tdenetwork-40393e30bb743346b6b40bf130da35419c12ebdc.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 1329ec6abbcb7b79cd960e0ca138f16598d5f11f)
Diffstat (limited to 'ksirc/mditoplevel.cpp')
-rw-r--r-- | ksirc/mditoplevel.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/ksirc/mditoplevel.cpp b/ksirc/mditoplevel.cpp index 326286de..3576b554 100644 --- a/ksirc/mditoplevel.cpp +++ b/ksirc/mditoplevel.cpp @@ -39,11 +39,11 @@ MDITopLevel::MDITopLevel(TQWidget *parent, const char *name) setCentralWidget( m_tab ); - connect( m_tab, TQT_SIGNAL( currentChanged( TQWidget * ) ), - this, TQT_SLOT( slotCurrentChanged( TQWidget * ) ) ); + connect( m_tab, TQ_SIGNAL( currentChanged( TQWidget * ) ), + this, TQ_SLOT( slotCurrentChanged( TQWidget * ) ) ); - connect( m_tab, TQT_SIGNAL( showContexMenu(TQWidget *, const TQPoint &) ), - this, TQT_SLOT( slotShowContexMenu(TQWidget *, const TQPoint &) ) ); + connect( m_tab, TQ_SIGNAL( showContexMenu(TQWidget *, const TQPoint &) ), + this, TQ_SLOT( slotShowContexMenu(TQWidget *, const TQPoint &) ) ); TDEConfig *config = kapp->config(); config->setGroup("MDI"); @@ -54,7 +54,7 @@ MDITopLevel::MDITopLevel(TQWidget *parent, const char *name) m_addressedIcon = UserIcon( "application-vnd.tde.info" ); m_pop = new TDEPopupMenu(m_tab, ""); - m_pop->insertItem( SmallIcon("window-close"), i18n("Close"), this, TQT_SLOT( slotCloseLastWid() )); + m_pop->insertItem( SmallIcon("window-close"), i18n("Close"), this, TQ_SLOT( slotCloseLastWid() )); } @@ -89,16 +89,16 @@ void MDITopLevel::addWidget( TQWidget *widget, bool show ) m_tabWidgets.append( widget ); - connect( widget, TQT_SIGNAL( destroyed() ) , - this, TQT_SLOT( slotWidgetDestroyed() ) ); + connect( widget, TQ_SIGNAL( destroyed() ) , + this, TQ_SLOT( slotWidgetDestroyed() ) ); - connect( widget, TQT_SIGNAL( changeChannel( const TQString &, const TQString & ) ), - this, TQT_SLOT( slotChangeChannelName( const TQString &, const TQString & ) ) ); + connect( widget, TQ_SIGNAL( changeChannel( const TQString &, const TQString & ) ), + this, TQ_SLOT( slotChangeChannelName( const TQString &, const TQString & ) ) ); widget->installEventFilter( this ); - connect( widget, TQT_SIGNAL( changed( bool, TQString ) ), - this, TQT_SLOT( slotMarkPageDirty( bool ) ) ); + connect( widget, TQ_SIGNAL( changed( bool, TQString ) ), + this, TQ_SLOT( slotMarkPageDirty( bool ) ) ); } void MDITopLevel::removeWidget( TQWidget *widget ) |