summaryrefslogtreecommitdiffstats
path: root/konq-plugins/domtreeviewer/domtreewindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'konq-plugins/domtreeviewer/domtreewindow.cpp')
-rw-r--r--konq-plugins/domtreeviewer/domtreewindow.cpp58
1 files changed, 29 insertions, 29 deletions
diff --git a/konq-plugins/domtreeviewer/domtreewindow.cpp b/konq-plugins/domtreeviewer/domtreewindow.cpp
index 1b59ba3..e7f6bb0 100644
--- a/konq-plugins/domtreeviewer/domtreewindow.cpp
+++ b/konq-plugins/domtreeviewer/domtreewindow.cpp
@@ -84,16 +84,16 @@ DOMTreeWindow::DOMTreeWindow(PluginDomtreeviewer *plugin)
// allow the view to change the statusbar and caption
#if 0
- connect(m_view, TQT_SIGNAL(signalChangeStatusbar(const TQString&)),
- this, TQT_SLOT(changeStatusbar(const TQString&)));
- connect(m_view, TQT_SIGNAL(signalChangeCaption(const TQString&)),
- this, TQT_SLOT(changeCaption(const TQString&)));
+ connect(m_view, TQ_SIGNAL(signalChangeStatusbar(const TQString&)),
+ this, TQ_SLOT(changeStatusbar(const TQString&)));
+ connect(m_view, TQ_SIGNAL(signalChangeCaption(const TQString&)),
+ this, TQ_SLOT(changeCaption(const TQString&)));
#endif
- connect(view(), TQT_SIGNAL(htmlPartChanged(TDEHTMLPart *)),
- TQT_SLOT(slotHtmlPartChanged(TDEHTMLPart *)));
+ connect(view(), TQ_SIGNAL(htmlPartChanged(TDEHTMLPart *)),
+ TQ_SLOT(slotHtmlPartChanged(TDEHTMLPart *)));
- ManipulationCommand::connect(TQT_SIGNAL(error(int, const TQString &)),
- this, TQT_SLOT(addMessage(int, const TQString &)));
+ ManipulationCommand::connect(TQ_SIGNAL(error(int, const TQString &)),
+ this, TQ_SLOT(addMessage(int, const TQString &)));
infopanel_ctx = createInfoPanelAttrContextMenu();
domtree_ctx = createDOMTreeViewContextMenu();
@@ -119,57 +119,57 @@ void DOMTreeWindow::executeAndAddCommand(ManipulationCommand *cmd)
void DOMTreeWindow::setupActions()
{
- KStdAction::close(this, TQT_SLOT(close()), actionCollection());
+ KStdAction::close(this, TQ_SLOT(close()), actionCollection());
- KStdAction::cut(this, TQT_SLOT(slotCut()), actionCollection())->setEnabled(false);
- KStdAction::copy(this, TQT_SLOT(slotCopy()), actionCollection())->setEnabled(false);
- KStdAction::paste(this, TQT_SLOT(slotPaste()), actionCollection())->setEnabled(false);
+ KStdAction::cut(this, TQ_SLOT(slotCut()), actionCollection())->setEnabled(false);
+ KStdAction::copy(this, TQ_SLOT(slotCopy()), actionCollection())->setEnabled(false);
+ KStdAction::paste(this, TQ_SLOT(slotPaste()), actionCollection())->setEnabled(false);
m_commandHistory = new KCommandHistory(actionCollection());
- KStdAction::find(this, TQT_SLOT(slotFind()), actionCollection());
+ KStdAction::find(this, TQ_SLOT(slotFind()), actionCollection());
- KStdAction::redisplay(m_view, TQT_SLOT(refresh()), actionCollection());
+ KStdAction::redisplay(m_view, TQ_SLOT(refresh()), actionCollection());
// toggle manipulation dialog
TDEAction *showMsgDlg = new TDEAction(i18n("Show Message Log"),
CTRL+Key_E, actionCollection(), "show_msg_dlg");
- connect(showMsgDlg, TQT_SIGNAL(activated()), TQT_SLOT(showMessageLog()));
+ connect(showMsgDlg, TQ_SIGNAL(activated()), TQ_SLOT(showMessageLog()));
// TDEAction *custom = new TDEAction(i18n("Cus&tom Menuitem"), 0,
-// this, TQT_SLOT(optionsPreferences()),
+// this, TQ_SLOT(optionsPreferences()),
// actionCollection(), "custom_action");
// actions for the dom tree list view toolbar
- KStdAction::up(view(), TQT_SLOT(moveToParent()), actionCollection(), "tree_up");
+ KStdAction::up(view(), TQ_SLOT(moveToParent()), actionCollection(), "tree_up");
TDEAction *tree_inc_level = new TDEAction(i18n("Expand"),
"1rightarrow", CTRL+Key_Greater, view(),
- TQT_SLOT(increaseExpansionDepth()), actionCollection(),
+ TQ_SLOT(increaseExpansionDepth()), actionCollection(),
"tree_inc_level");
tree_inc_level->setToolTip(i18n("Increase expansion level"));
TDEAction *tree_dec_level = new TDEAction(i18n("Collapse"),
"1leftarrow", CTRL+Key_Less, view(),
- TQT_SLOT(decreaseExpansionDepth()), actionCollection(),
+ TQ_SLOT(decreaseExpansionDepth()), actionCollection(),
"tree_dec_level");
tree_dec_level->setToolTip(i18n("Decrease expansion level"));
// actions for the dom tree list view context menu
del_tree = new TDEAction(i18n("&Delete"), "edit-delete",
- Key_Delete, view(), TQT_SLOT(deleteNodes()),
+ Key_Delete, view(), TQ_SLOT(deleteNodes()),
actionCollection(), "tree_delete");
del_tree->setToolTip(i18n("Delete nodes"));
/*TDEAction *new_elem = */new TDEAction(i18n("New &Element ..."),
"bookmark", TDEShortcut(), view(),
- TQT_SLOT(slotAddElementDlg()), actionCollection(),
+ TQ_SLOT(slotAddElementDlg()), actionCollection(),
"tree_add_element");
/*TDEAction *new_text = */new TDEAction(i18n("New &Text Node ..."),
- "text", TDEShortcut(), view(), TQT_SLOT(slotAddTextDlg()),
+ "text", TDEShortcut(), view(), TQ_SLOT(slotAddTextDlg()),
actionCollection(), "tree_add_text");
// actions for the info panel attribute list context menu
del_attr = new TDEAction(i18n("&Delete"), "edit-delete",
- Key_Delete, view(), TQT_SLOT(deleteAttributes()),
+ Key_Delete, view(), TQ_SLOT(deleteAttributes()),
actionCollection(), "attr_delete");
del_attr->setToolTip(i18n("Delete attributes"));
@@ -292,7 +292,7 @@ void DOMTreeWindow::optionsConfigureToolbars()
// use the standard toolbar editor
saveMainWindowSettings( config(), autoSaveGroup() );
KEditToolbar dlg(actionCollection());
- connect(&dlg, TQT_SIGNAL(newToolbarConfig()), this, TQT_SLOT(newToolbarConfig()));
+ connect(&dlg, TQ_SIGNAL(newToolbarConfig()), this, TQ_SLOT(newToolbarConfig()));
dlg.exec();
}
@@ -339,13 +339,13 @@ void DOMTreeWindow::slotHtmlPartChanged(TDEHTMLPart *p)
part_manager = p->manager();
- connect(part_manager, TQT_SIGNAL(activePartChanged(KParts::Part *)),
- TQT_SLOT(slotActivePartChanged(KParts::Part *)));
- connect(part_manager, TQT_SIGNAL(partRemoved(KParts::Part *)),
- TQT_SLOT(slotPartRemoved(KParts::Part *)));
+ connect(part_manager, TQ_SIGNAL(activePartChanged(KParts::Part *)),
+ TQ_SLOT(slotActivePartChanged(KParts::Part *)));
+ connect(part_manager, TQ_SIGNAL(partRemoved(KParts::Part *)),
+ TQ_SLOT(slotPartRemoved(KParts::Part *)));
// set up browser extension connections
- connect(p, TQT_SIGNAL(docCreated()), TQT_SLOT(slotClosePart()));
+ connect(p, TQ_SIGNAL(docCreated()), TQ_SLOT(slotClosePart()));
}
}