diff options
author | Michele Calgaro <[email protected]> | 2024-01-07 19:46:37 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-09 10:51:34 +0900 |
commit | 5a0966ca1f9829702643b8e991be29636aed8d5a (patch) | |
tree | 92d84a30c3aca1034b25629a25c9071da1fd7d71 /src/kchmviewwindow.cpp | |
parent | d2f01bb5cdfc087c691837782a4f8daaacc70f42 (diff) | |
download | kchmviewer-5a0966ca1f9829702643b8e991be29636aed8d5a.tar.gz kchmviewer-5a0966ca1f9829702643b8e991be29636aed8d5a.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 13a90d07994f44f6eedc8d43b8d745341eb31497)
Diffstat (limited to 'src/kchmviewwindow.cpp')
-rw-r--r-- | src/kchmviewwindow.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/kchmviewwindow.cpp b/src/kchmviewwindow.cpp index 71e0813..5edca53 100644 --- a/src/kchmviewwindow.cpp +++ b/src/kchmviewwindow.cpp @@ -145,8 +145,8 @@ KTQPopupMenu * KCHMViewWindow::createStandardContextMenu( TQWidget * parent ) { KTQPopupMenu * contextMenu = new KTQPopupMenu( parent ); - contextMenu->insertItem ( "&Copy", ::mainWindow, TQT_SLOT(slotBrowserCopy()) ); - contextMenu->insertItem ( "&Select all", ::mainWindow, TQT_SLOT(slotBrowserSelectAll()) ); + contextMenu->insertItem ( "&Copy", ::mainWindow, TQ_SLOT(slotBrowserCopy()) ); + contextMenu->insertItem ( "&Select all", ::mainWindow, TQ_SLOT(slotBrowserSelectAll()) ); return contextMenu; } @@ -171,9 +171,9 @@ KTQPopupMenu * KCHMViewWindow::getContextMenu( const TQString & link, TQWidget * m_contextMenuLink = createStandardContextMenu( parent ); m_contextMenuLink->insertSeparator(); - m_contextMenuLink->insertItem ( "&Open this link in a new tab", ::mainWindow, TQT_SLOT(slotOpenPageInNewTab()), TQKeySequence("Shift+Enter") ); + m_contextMenuLink->insertItem ( "&Open this link in a new tab", ::mainWindow, TQ_SLOT(slotOpenPageInNewTab()), TQKeySequence("Shift+Enter") ); - m_contextMenuLink->insertItem ( "&Open this link in a new background tab", ::mainWindow, TQT_SLOT(slotOpenPageInNewBackgroundTab()), TQKeySequence("Ctrl+Enter") ); + m_contextMenuLink->insertItem ( "&Open this link in a new background tab", ::mainWindow, TQ_SLOT(slotOpenPageInNewBackgroundTab()), TQKeySequence("Ctrl+Enter") ); } setTabKeeper( link ); @@ -286,12 +286,12 @@ KTQPopupMenu * KCHMViewWindow::createListItemContextMenu( TQWidget * w ) contextMenu->insertItem ( "&Open this link in a new tab", ::mainWindow, - TQT_SLOT( slotOpenPageInNewTab() ), + TQ_SLOT( slotOpenPageInNewTab() ), TQKeySequence( "Shift+Enter" ) ); contextMenu->insertItem ( "&Open this link in a new background tab", ::mainWindow, - TQT_SLOT( slotOpenPageInNewBackgroundTab() ), + TQ_SLOT( slotOpenPageInNewBackgroundTab() ), TQKeySequence( "Ctrl+Enter" ) ); return contextMenu; |