summaryrefslogtreecommitdiffstats
path: root/klinkstatus/src/actionmanager.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:54:04 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:54:04 +0000
commitdc6b8e72fed2586239e3514819238c520636c9d9 (patch)
tree88b200df0a0b7fab9d6f147596173556f1ed9a13 /klinkstatus/src/actionmanager.cpp
parent6927d4436e54551917f600b706a8d6109e49de1c (diff)
downloadtdewebdev-dc6b8e72fed2586239e3514819238c520636c9d9.tar.gz
tdewebdev-dc6b8e72fed2586239e3514819238c520636c9d9.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1157656 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'klinkstatus/src/actionmanager.cpp')
-rw-r--r--klinkstatus/src/actionmanager.cpp34
1 files changed, 17 insertions, 17 deletions
diff --git a/klinkstatus/src/actionmanager.cpp b/klinkstatus/src/actionmanager.cpp
index 9f60e7bf..f126d977 100644
--- a/klinkstatus/src/actionmanager.cpp
+++ b/klinkstatus/src/actionmanager.cpp
@@ -25,7 +25,7 @@
#include <kaction.h>
#include <kguiitem.h>
-#include <qbuttongroup.h>
+#include <tqbuttongroup.h>
#include "klinkstatus_part.h"
#include "ui/sessionwidget.h"
@@ -63,8 +63,8 @@ public:
SessionWidget* sessionWidget;
};
-ActionManager::ActionManager(QObject *parent, const char *name)
- : QObject(parent, name), d(new ActionManagerPrivate)
+ActionManager::ActionManager(TQObject *parent, const char *name)
+ : TQObject(parent, name), d(new ActionManagerPrivate)
{}
ActionManager::~ActionManager()
@@ -89,34 +89,34 @@ void ActionManager::initPart(KLinkStatusPart* part)
new KAction(i18n("New Link Check"), "filenew",
0,
- d->part, SLOT(slotNewLinkCheck()),
+ d->part, TQT_SLOT(slotNewLinkCheck()),
d->actionCollection, "new_link_check");
new KAction(i18n("Open URL..."), "fileopen",
0,
- d->part, SLOT(slotOpenLink()),
+ d->part, TQT_SLOT(slotOpenLink()),
d->actionCollection, "open_link");
action = new KAction(i18n("Close Tab"), "fileclose",
0,
- d->part, SLOT(slotClose()),
+ d->part, TQT_SLOT(slotClose()),
d->actionCollection, "close_tab");
action->setEnabled(false);
// *************** Settings menu *********************
(void) new KAction(i18n("Configure KLinkStatus..."), "configure",
- 0, d->part, SLOT(slotConfigureKLinkStatus()),
+ 0, d->part, TQT_SLOT(slotConfigureKLinkStatus()),
d->actionCollection, "configure_klinkstatus");
// *************** Help menu *********************
(void) new KAction(i18n("About KLinkStatus"), "klinkstatus",
- 0, d->part, SLOT(slotAbout()),
+ 0, d->part, TQT_SLOT(slotAbout()),
d->actionCollection, "about_klinkstatus");
(void) new KAction(i18n("&Report Bug..."), 0, 0, d->part,
- SLOT(slotReportBug()), d->actionCollection, "report_bug");
+ TQT_SLOT(slotReportBug()), d->actionCollection, "report_bug");
// *************** View menu *********************
}
@@ -133,7 +133,7 @@ void ActionManager::initTabWidget(TabWidgetSession* tabWidgetSession)
// *************** File menu *********************
KAction* action = new KAction(i18n("E&xport Results as HTML..."), "filesave", 0,
- d->tabWidgetSession, SLOT(slotExportAsHTML()),
+ d->tabWidgetSession, TQT_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
KToggleAction* toggle_action = new KToggleAction(i18n("&Follow last Link checked"),
"make_kdevelop", "Ctrl+f",
- d->tabWidgetSession, SLOT(slotFollowLastLinkChecked()),
+ d->tabWidgetSession, TQT_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 KToggleAction(i18n("&Hide Search Panel"), "bottom", "Ctrl+h",
- d->tabWidgetSession, SLOT(slotHideSearchPanel()),
+ d->tabWidgetSession, TQT_SLOT(slotHideSearchPanel()),
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, SLOT(slotResetSearchOptions()),
+ d->tabWidgetSession, TQT_SLOT(slotResetSearchOptions()),
d->actionCollection, "reset_search_bar");
// *************** Search menu *********************
toggle_action = new KToggleAction(i18n("&Start Search"),
"player_play", "Ctrl+s",
- d->tabWidgetSession, SLOT(slotStartSearch()),
+ d->tabWidgetSession, TQT_SLOT(slotStartSearch()),
d->actionCollection, "start_search");
toggle_action->setEnabled(false);
toggle_action = new KToggleAction(i18n("&Pause Search"),
"player_pause", "Ctrl+p",
- d->tabWidgetSession, SLOT(slotPauseSearch()),
+ d->tabWidgetSession, TQT_SLOT(slotPauseSearch()),
d->actionCollection, "pause_search");
toggle_action->setEnabled(false);
action = new KAction(i18n("St&op Search"),
"player_stop", "Ctrl+c",
- d->tabWidgetSession, SLOT(slotStopSearch()),
+ d->tabWidgetSession, TQT_SLOT(slotStopSearch()),
d->actionCollection, "stop_search");
action->setEnabled(false);
}
@@ -189,7 +189,7 @@ void ActionManager::initSessionWidget(SessionWidget* sessionWidget)
}
-QWidget* ActionManager::container(const char* name)
+TQWidget* ActionManager::container(const char* name)
{
return d->part->factory()->container(name, d->part);
}