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 f126d977..94506ea3 100644
--- a/klinkstatus/src/actionmanager.cpp
+++ b/klinkstatus/src/actionmanager.cpp
@@ -63,8 +63,8 @@ public:
SessionWidget* sessionWidget;
};
-ActionManager::ActionManager(TQObject *parent, const char *name)
- : TQObject(parent, name), d(new ActionManagerPrivate)
+ActionManager::ActionManager(TQObject *tqparent, const char *name)
+ : TQObject(tqparent, name), d(new ActionManagerPrivate)
{}
ActionManager::~ActionManager()
@@ -90,33 +90,33 @@ void ActionManager::initPart(KLinkStatusPart* part)
new KAction(i18n("New Link Check"), "filenew",
0,
d->part, TQT_SLOT(slotNewLinkCheck()),
- d->actionCollection, "new_link_check");
+ TQT_TQOBJECT(d->actionCollection), "new_link_check");
new KAction(i18n("Open URL..."), "fileopen",
0,
d->part, TQT_SLOT(slotOpenLink()),
- d->actionCollection, "open_link");
+ TQT_TQOBJECT(d->actionCollection), "open_link");
action = new KAction(i18n("Close Tab"), "fileclose",
0,
d->part, TQT_SLOT(slotClose()),
- d->actionCollection, "close_tab");
+ TQT_TQOBJECT(d->actionCollection), "close_tab");
action->setEnabled(false);
// *************** Settings menu *********************
- (void) new KAction(i18n("Configure KLinkStatus..."), "configure",
- 0, d->part, TQT_SLOT(slotConfigureKLinkStatus()),
- d->actionCollection, "configure_klinkstatus");
+ (void) new KAction(i18n("Configure KLinktqStatus..."), "configure",
+ 0, d->part, TQT_SLOT(slotConfigureKLinktqStatus()),
+ TQT_TQOBJECT(d->actionCollection), "configure_klinkstatus");
// *************** Help menu *********************
- (void) new KAction(i18n("About KLinkStatus"), "klinkstatus",
+ (void) new KAction(i18n("About KLinktqStatus"), "klinkstatus",
0, d->part, TQT_SLOT(slotAbout()),
- d->actionCollection, "about_klinkstatus");
+ TQT_TQOBJECT(d->actionCollection), "about_klinkstatus");
(void) new KAction(i18n("&Report Bug..."), 0, 0, d->part,
- TQT_SLOT(slotReportBug()), d->actionCollection, "report_bug");
+ TQT_SLOT(slotReportBug()), TQT_TQOBJECT(d->actionCollection), "report_bug");
// *************** View menu *********************
}
@@ -133,8 +133,8 @@ void ActionManager::initTabWidget(TabWidgetSession* tabWidgetSession)
// *************** File menu *********************
KAction* action = new KAction(i18n("E&xport Results as HTML..."), "filesave", 0,
- d->tabWidgetSession, TQT_SLOT(slotExportAsHTML()),
- d->actionCollection, "file_export_html");
+ TQT_TQOBJECT(d->tabWidgetSession), TQT_SLOT(slotExportAsHTML()),
+ TQT_TQOBJECT(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
KToggleAction* toggle_action = new KToggleAction(i18n("&Follow last Link checked"),
"make_kdevelop", "Ctrl+f",
- d->tabWidgetSession, TQT_SLOT(slotFollowLastLinkChecked()),
- d->actionCollection, "follow_last_link_checked");
+ TQT_TQOBJECT(d->tabWidgetSession), TQT_SLOT(slotFollowLastLinkChecked()),
+ TQT_TQOBJECT(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 KToggleAction(i18n("&Hide Search Panel"), "bottom", "Ctrl+h",
- d->tabWidgetSession, TQT_SLOT(slotHideSearchPanel()),
- d->actionCollection, "hide_search_bar");
+ TQT_TQOBJECT(d->tabWidgetSession), TQT_SLOT(slotHideSearchPanel()),
+ TQT_TQOBJECT(d->actionCollection), "hide_search_bar");
KGuiItem item(i18n("&Show Search Panel"), "top", "Show Search Panel");
toggle_action->setCheckedState(item);
new KAction(i18n("&Reset Search Options"), "reload", "F5",
- d->tabWidgetSession, TQT_SLOT(slotResetSearchOptions()),
- d->actionCollection, "reset_search_bar");
+ TQT_TQOBJECT(d->tabWidgetSession), TQT_SLOT(slotResetSearchOptions()),
+ TQT_TQOBJECT(d->actionCollection), "reset_search_bar");
// *************** Search menu *********************
toggle_action = new KToggleAction(i18n("&Start Search"),
"player_play", "Ctrl+s",
- d->tabWidgetSession, TQT_SLOT(slotStartSearch()),
- d->actionCollection, "start_search");
+ TQT_TQOBJECT(d->tabWidgetSession), TQT_SLOT(slotStartSearch()),
+ TQT_TQOBJECT(d->actionCollection), "start_search");
toggle_action->setEnabled(false);
toggle_action = new KToggleAction(i18n("&Pause Search"),
"player_pause", "Ctrl+p",
- d->tabWidgetSession, TQT_SLOT(slotPauseSearch()),
- d->actionCollection, "pause_search");
+ TQT_TQOBJECT(d->tabWidgetSession), TQT_SLOT(slotPauseSearch()),
+ TQT_TQOBJECT(d->actionCollection), "pause_search");
toggle_action->setEnabled(false);
action = new KAction(i18n("St&op Search"),
"player_stop", "Ctrl+c",
- d->tabWidgetSession, TQT_SLOT(slotStopSearch()),
- d->actionCollection, "stop_search");
+ TQT_TQOBJECT(d->tabWidgetSession), TQT_SLOT(slotStopSearch()),
+ TQT_TQOBJECT(d->actionCollection), "stop_search");
action->setEnabled(false);
}