summaryrefslogtreecommitdiffstats
path: root/klinkstatus/src/actionmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'klinkstatus/src/actionmanager.cpp')
-rw-r--r--klinkstatus/src/actionmanager.cpp50
1 files changed, 25 insertions, 25 deletions
diff --git a/klinkstatus/src/actionmanager.cpp b/klinkstatus/src/actionmanager.cpp
index 6c8ef1a6..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()),
- TQT_TQOBJECT(d->actionCollection), "new_link_check");
+ d->part, TQ_SLOT(slotNewLinkCheck()),
+ d->actionCollection, "new_link_check");
new TDEAction(i18n("Open URL..."), "document-open",
0,
- d->part, TQT_SLOT(slotOpenLink()),
- TQT_TQOBJECT(d->actionCollection), "open_link");
+ d->part, TQ_SLOT(slotOpenLink()),
+ d->actionCollection, "open_link");
action = new TDEAction(i18n("Close Tab"), "window-close",
0,
- d->part, TQT_SLOT(slotClose()),
- TQT_TQOBJECT(d->actionCollection), "close_tab");
+ 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()),
- TQT_TQOBJECT(d->actionCollection), "configure_klinkstatus");
+ 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()),
- TQT_TQOBJECT(d->actionCollection), "about_klinkstatus");
+ 0, d->part, TQ_SLOT(slotAbout()),
+ d->actionCollection, "about_klinkstatus");
(void) new TDEAction(i18n("&Report Bug..."), 0, 0, d->part,
- TQT_SLOT(slotReportBug()), TQT_TQOBJECT(d->actionCollection), "report_bug");
+ TQ_SLOT(slotReportBug()), d->actionCollection, "report_bug");
// *************** View menu *********************
}
@@ -133,8 +133,8 @@ void ActionManager::initTabWidget(TabWidgetSession* tabWidgetSession)
// *************** File menu *********************
TDEAction* action = new TDEAction(i18n("E&xport Results as HTML..."), "document-save", 0,
- TQT_TQOBJECT(d->tabWidgetSession), TQT_SLOT(slotExportAsHTML()),
- TQT_TQOBJECT(d->actionCollection), "file_export_html");
+ d->tabWidgetSession, TQ_SLOT(slotExportAsHTML()),
+ d->actionCollection, "file_export_html");
action->setEnabled(false);
// *************** View menu *********************
@@ -142,39 +142,39 @@ 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",
- TQT_TQOBJECT(d->tabWidgetSession), TQT_SLOT(slotFollowLastLinkChecked()),
- TQT_TQOBJECT(d->actionCollection), "follow_last_link_checked");
+ 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",
- TQT_TQOBJECT(d->tabWidgetSession), TQT_SLOT(slotHideSearchPanel()),
- TQT_TQOBJECT(d->actionCollection), "hide_search_bar");
+ 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",
- TQT_TQOBJECT(d->tabWidgetSession), TQT_SLOT(slotResetSearchOptions()),
- TQT_TQOBJECT(d->actionCollection), "reset_search_bar");
+ d->tabWidgetSession, TQ_SLOT(slotResetSearchOptions()),
+ d->actionCollection, "reset_search_bar");
// *************** Search menu *********************
toggle_action = new TDEToggleAction(i18n("&Start Search"),
"media-playback-start", "Ctrl+s",
- TQT_TQOBJECT(d->tabWidgetSession), TQT_SLOT(slotStartSearch()),
- TQT_TQOBJECT(d->actionCollection), "start_search");
+ 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",
- TQT_TQOBJECT(d->tabWidgetSession), TQT_SLOT(slotPauseSearch()),
- TQT_TQOBJECT(d->actionCollection), "pause_search");
+ 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",
- TQT_TQOBJECT(d->tabWidgetSession), TQT_SLOT(slotStopSearch()),
- TQT_TQOBJECT(d->actionCollection), "stop_search");
+ d->tabWidgetSession, TQ_SLOT(slotStopSearch()),
+ d->actionCollection, "stop_search");
action->setEnabled(false);
}