diff options
author | Michele Calgaro <[email protected]> | 2024-01-12 11:17:33 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-15 11:09:32 +0900 |
commit | 7f03918f8df7479b0e1a88288066201a301e87bf (patch) | |
tree | ef42e0c7ecbd6d292ca5aa7f3aeca141dd65cdb1 /tdemdi/tdemdidocumentviewtabwidget.cpp | |
parent | ccaaecf59c0e607be633c45ad3b7bb1ef29e981f (diff) | |
download | tdelibs-7f03918f8df7479b0e1a88288066201a301e87bf.tar.gz tdelibs-7f03918f8df7479b0e1a88288066201a301e87bf.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit ba3b5b77e1a430dc7197df20872ba46ce2fb6fa7)
Diffstat (limited to 'tdemdi/tdemdidocumentviewtabwidget.cpp')
-rw-r--r-- | tdemdi/tdemdidocumentviewtabwidget.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/tdemdi/tdemdidocumentviewtabwidget.cpp b/tdemdi/tdemdidocumentviewtabwidget.cpp index 824aa12c4..7ef98747f 100644 --- a/tdemdi/tdemdidocumentviewtabwidget.cpp +++ b/tdemdi/tdemdidocumentviewtabwidget.cpp @@ -18,7 +18,7 @@ KMdiDocumentViewTabWidget::KMdiDocumentViewTabWidget( TQWidget* parent, const ch m_visibility = KMdi::ShowWhenMoreThanOneTab; tabBar() ->hide(); setHoverCloseButton( true ); - connect( this, TQT_SIGNAL( closeRequest( TQWidget* ) ), this, TQT_SLOT( closeTab( TQWidget* ) ) ); + connect( this, TQ_SIGNAL( closeRequest( TQWidget* ) ), this, TQ_SLOT( closeTab( TQWidget* ) ) ); } KMdiDocumentViewTabWidget::~KMdiDocumentViewTabWidget() @@ -32,28 +32,28 @@ void KMdiDocumentViewTabWidget::addTab ( TQWidget * child, const TQString & labe { KTabWidget::addTab( child, label ); showPage( child ); - TQTimer::singleShot(0, this, TQT_SLOT(maybeShow())); + TQTimer::singleShot(0, this, TQ_SLOT(maybeShow())); } void KMdiDocumentViewTabWidget::addTab ( TQWidget * child, const TQIconSet & iconset, const TQString & label ) { KTabWidget::addTab( child, iconset, label ); showPage( child ); - TQTimer::singleShot(0, this, TQT_SLOT(maybeShow())); + TQTimer::singleShot(0, this, TQ_SLOT(maybeShow())); } void KMdiDocumentViewTabWidget::addTab ( TQWidget * child, TQTab * tab ) { KTabWidget::addTab( child, tab ); showPage( child ); - TQTimer::singleShot(0, this, TQT_SLOT(maybeShow())); + TQTimer::singleShot(0, this, TQ_SLOT(maybeShow())); } void KMdiDocumentViewTabWidget::insertTab ( TQWidget * child, const TQString & label, int index ) { KTabWidget::insertTab( child, label, index ); showPage( child ); - TQTimer::singleShot(0, this, TQT_SLOT(maybeShow())); + TQTimer::singleShot(0, this, TQ_SLOT(maybeShow())); tabBar() ->repaint(); } @@ -61,7 +61,7 @@ void KMdiDocumentViewTabWidget::insertTab ( TQWidget * child, const TQIconSet & { KTabWidget::insertTab( child, iconset, label, index ); showPage( child ); - TQTimer::singleShot(0, this, TQT_SLOT(maybeShow())); + TQTimer::singleShot(0, this, TQ_SLOT(maybeShow())); tabBar() ->repaint(); } @@ -69,14 +69,14 @@ void KMdiDocumentViewTabWidget::insertTab ( TQWidget * child, TQTab * tab, int i { KTabWidget::insertTab( child, tab, index ); showPage( child ); - TQTimer::singleShot(0, this, TQT_SLOT(maybeShow())); + TQTimer::singleShot(0, this, TQ_SLOT(maybeShow())); tabBar() ->repaint(); } void KMdiDocumentViewTabWidget::removePage ( TQWidget * w ) { KTabWidget::removePage( w ); - TQTimer::singleShot(0, this, TQT_SLOT(maybeShow())); + TQTimer::singleShot(0, this, TQ_SLOT(maybeShow())); } void KMdiDocumentViewTabWidget::updateIconInView( TQWidget *w, TQPixmap icon ) |