diff options
author | Michele Calgaro <[email protected]> | 2024-01-05 10:34:09 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-05 10:34:09 +0900 |
commit | 691489dddc259e7d7c463bde3347d7cea780d54f (patch) | |
tree | a1229cef56c3ebcc157bcdcf71a9ad6ecdaf992e /src/tabwidget.cpp | |
parent | 61fd6af18c424db720a34272683f1bde05908bee (diff) | |
download | klamav-691489dddc259e7d7c463bde3347d7cea780d54f.tar.gz klamav-691489dddc259e7d7c463bde3347d7cea780d54f.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/tabwidget.cpp')
-rw-r--r-- | src/tabwidget.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/tabwidget.cpp b/src/tabwidget.cpp index 2c42d55..dc199a5 100644 --- a/src/tabwidget.cpp +++ b/src/tabwidget.cpp @@ -24,9 +24,9 @@ TabWidget::TabWidget(TQWidget * parent, const char *name, TQStringList fixed) { fixedTabs = TQStringList(fixed); setTabReorderingEnabled(true); - connect( this, SIGNAL( currentChanged(TQWidget *) ), this, - SLOT( slotTabChanged(TQWidget *) ) ); - connect(this, SIGNAL(closeRequest(TQWidget*)), this, SLOT(slotCloseRequest(TQWidget*))); + connect( this, TQ_SIGNAL( currentChanged(TQWidget *) ), this, + TQ_SLOT( slotTabChanged(TQWidget *) ) ); + connect(this, TQ_SIGNAL(closeRequest(TQWidget*)), this, TQ_SLOT(slotCloseRequest(TQWidget*))); //setHoverCloseButton(Settings::closeButtonOnTabs()); } @@ -152,10 +152,10 @@ void TabWidget::contextMenu(int i, const TQPoint &p) currentItem = page(i); TDEPopupMenu popup; - int moveTabLeft = popup.insertItem( SmallIcon("back"), i18n("Move Tab &Left"), this, SLOT(slotMoveTabLeft()) ); - int moveTabRight = popup.insertItem( SmallIcon("forward"), i18n("Move Tab &Right"), this, SLOT(slotMoveTabRight()) ); + int moveTabLeft = popup.insertItem( SmallIcon("back"), i18n("Move Tab &Left"), this, TQ_SLOT(slotMoveTabLeft()) ); + int moveTabRight = popup.insertItem( SmallIcon("forward"), i18n("Move Tab &Right"), this, TQ_SLOT(slotMoveTabRight()) ); popup.insertSeparator(); - int closeTab = popup.insertItem( SmallIcon("tab_remove"), i18n("Close Tab"), this, SLOT(slotCloseTab()) ); + int closeTab = popup.insertItem( SmallIcon("tab_remove"), i18n("Close Tab"), this, TQ_SLOT(slotCloseTab()) ); if(currentItemId == 0) popup.setItemEnabled(moveTabLeft, false); |