diff options
author | Michele Calgaro <[email protected]> | 2024-01-14 14:38:52 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-14 14:38:52 +0900 |
commit | 931991843ab3b6b0b0157dd433c226f7fc2ebc1b (patch) | |
tree | a13f719941f2a6bcde02ef743d26f553ef5ed530 /klinkstatus/src/actionmanager.cpp | |
parent | dfaa5c55fe83e439b4404143f254da811bc0d7c6 (diff) | |
download | tdewebdev-931991843ab3b6b0b0157dd433c226f7fc2ebc1b.tar.gz tdewebdev-931991843ab3b6b0b0157dd433c226f7fc2ebc1b.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'klinkstatus/src/actionmanager.cpp')
-rw-r--r-- | klinkstatus/src/actionmanager.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/klinkstatus/src/actionmanager.cpp b/klinkstatus/src/actionmanager.cpp index 570157d1..26a969df 100644 --- a/klinkstatus/src/actionmanager.cpp +++ b/klinkstatus/src/actionmanager.cpp @@ -89,34 +89,34 @@ void ActionManager::initPart(KLinkStatusPart* part) new TDEAction(i18n("New Link Check"), "document-new", 0, - d->part, TQT_SLOT(slotNewLinkCheck()), + d->part, TQ_SLOT(slotNewLinkCheck()), d->actionCollection, "new_link_check"); new TDEAction(i18n("Open URL..."), "document-open", 0, - d->part, TQT_SLOT(slotOpenLink()), + d->part, TQ_SLOT(slotOpenLink()), d->actionCollection, "open_link"); action = new TDEAction(i18n("Close Tab"), "window-close", 0, - d->part, TQT_SLOT(slotClose()), + d->part, TQ_SLOT(slotClose()), d->actionCollection, "close_tab"); action->setEnabled(false); // *************** Settings menu ********************* (void) new TDEAction(i18n("Configure KLinkStatus..."), "configure", - 0, d->part, TQT_SLOT(slotConfigureKLinkStatus()), + 0, d->part, TQ_SLOT(slotConfigureKLinkStatus()), d->actionCollection, "configure_klinkstatus"); // *************** Help menu ********************* (void) new TDEAction(i18n("About KLinkStatus"), "klinkstatus", - 0, d->part, TQT_SLOT(slotAbout()), + 0, d->part, TQ_SLOT(slotAbout()), d->actionCollection, "about_klinkstatus"); (void) new TDEAction(i18n("&Report Bug..."), 0, 0, d->part, - TQT_SLOT(slotReportBug()), d->actionCollection, "report_bug"); + TQ_SLOT(slotReportBug()), d->actionCollection, "report_bug"); // *************** View menu ********************* } @@ -133,7 +133,7 @@ void ActionManager::initTabWidget(TabWidgetSession* tabWidgetSession) // *************** File menu ********************* TDEAction* action = new TDEAction(i18n("E&xport Results as HTML..."), "document-save", 0, - d->tabWidgetSession, TQT_SLOT(slotExportAsHTML()), + d->tabWidgetSession, TQ_SLOT(slotExportAsHTML()), d->actionCollection, "file_export_html"); action->setEnabled(false); @@ -142,38 +142,38 @@ void ActionManager::initTabWidget(TabWidgetSession* tabWidgetSession) // this action must be in the tabwidget because the slot can't be connected to a particular sessionWidget TDEToggleAction* toggle_action = new TDEToggleAction(i18n("&Follow last Link checked"), "make_tdevelop", "Ctrl+f", - d->tabWidgetSession, TQT_SLOT(slotFollowLastLinkChecked()), + d->tabWidgetSession, TQ_SLOT(slotFollowLastLinkChecked()), d->actionCollection, "follow_last_link_checked"); toggle_action->setChecked(KLSConfig::followLastLinkChecked()); // this action must be in the tabwidget because the slot can't be connected to a particular sessionWidget toggle_action = new TDEToggleAction(i18n("&Hide Search Panel"), "go-bottom", "Ctrl+h", - d->tabWidgetSession, TQT_SLOT(slotHideSearchPanel()), + d->tabWidgetSession, TQ_SLOT(slotHideSearchPanel()), d->actionCollection, "hide_search_bar"); KGuiItem item(i18n("&Show Search Panel"), "go-top", "Show Search Panel"); toggle_action->setCheckedState(item); new TDEAction(i18n("&Reset Search Options"), "reload", "F5", - d->tabWidgetSession, TQT_SLOT(slotResetSearchOptions()), + d->tabWidgetSession, TQ_SLOT(slotResetSearchOptions()), d->actionCollection, "reset_search_bar"); // *************** Search menu ********************* toggle_action = new TDEToggleAction(i18n("&Start Search"), "media-playback-start", "Ctrl+s", - d->tabWidgetSession, TQT_SLOT(slotStartSearch()), + d->tabWidgetSession, TQ_SLOT(slotStartSearch()), d->actionCollection, "start_search"); toggle_action->setEnabled(false); toggle_action = new TDEToggleAction(i18n("&Pause Search"), "media-playback-pause", "Ctrl+p", - d->tabWidgetSession, TQT_SLOT(slotPauseSearch()), + d->tabWidgetSession, TQ_SLOT(slotPauseSearch()), d->actionCollection, "pause_search"); toggle_action->setEnabled(false); action = new TDEAction(i18n("St&op Search"), "media-playback-stop", "Ctrl+c", - d->tabWidgetSession, TQT_SLOT(slotStopSearch()), + d->tabWidgetSession, TQ_SLOT(slotStopSearch()), d->actionCollection, "stop_search"); action->setEnabled(false); } |