summaryrefslogtreecommitdiffstats
path: root/konq-plugins/domtreeviewer/domtreeview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'konq-plugins/domtreeviewer/domtreeview.cpp')
-rw-r--r--konq-plugins/domtreeviewer/domtreeview.cpp66
1 files changed, 33 insertions, 33 deletions
diff --git a/konq-plugins/domtreeviewer/domtreeview.cpp b/konq-plugins/domtreeviewer/domtreeview.cpp
index f91bfd3..362e5c7 100644
--- a/konq-plugins/domtreeviewer/domtreeview.cpp
+++ b/konq-plugins/domtreeviewer/domtreeview.cpp
@@ -77,32 +77,32 @@ DOMTreeView::DOMTreeView(TQWidget *parent, const char* name, bool /*allowSaving*
m_rootListView = m_listView;
m_pureCheckBox->setChecked(m_bPure);
- connect(m_pureCheckBox, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotPureToggled(bool)));
+ connect(m_pureCheckBox, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotPureToggled(bool)));
m_showAttributesCheckBox->setChecked(m_bShowAttributes);
- connect(m_showAttributesCheckBox, TQT_SIGNAL(toggled(bool)), this,
- TQT_SLOT(slotShowAttributesToggled(bool)));
+ connect(m_showAttributesCheckBox, TQ_SIGNAL(toggled(bool)), this,
+ TQ_SLOT(slotShowAttributesToggled(bool)));
m_highlightHTMLCheckBox->setChecked(m_bHighlightHTML);
- connect(m_highlightHTMLCheckBox, TQT_SIGNAL(toggled(bool)), this,
- TQT_SLOT(slotHighlightHTMLToggled(bool)));
+ connect(m_highlightHTMLCheckBox, TQ_SIGNAL(toggled(bool)), this,
+ TQ_SLOT(slotHighlightHTMLToggled(bool)));
- connect(m_listView, TQT_SIGNAL(clicked(TQListViewItem *)), this,
- TQT_SLOT(slotItemClicked(TQListViewItem *)));
- connect(m_listView, TQT_SIGNAL(contextMenuRequested(TQListViewItem *, const TQPoint &, int)),
- TQT_SLOT(showDOMTreeContextMenu(TQListViewItem *, const TQPoint &, int)));
- connect(m_listView, TQT_SIGNAL(moved(TQPtrList<TQListViewItem> &, TQPtrList<TQListViewItem> &, TQPtrList<TQListViewItem> &)),
- TQT_SLOT(slotMovedItems(TQPtrList<TQListViewItem> &, TQPtrList<TQListViewItem> &, TQPtrList<TQListViewItem> &)));
+ connect(m_listView, TQ_SIGNAL(clicked(TQListViewItem *)), this,
+ TQ_SLOT(slotItemClicked(TQListViewItem *)));
+ connect(m_listView, TQ_SIGNAL(contextMenuRequested(TQListViewItem *, const TQPoint &, int)),
+ TQ_SLOT(showDOMTreeContextMenu(TQListViewItem *, const TQPoint &, int)));
+ connect(m_listView, TQ_SIGNAL(moved(TQPtrList<TQListViewItem> &, TQPtrList<TQListViewItem> &, TQPtrList<TQListViewItem> &)),
+ TQ_SLOT(slotMovedItems(TQPtrList<TQListViewItem> &, TQPtrList<TQListViewItem> &, TQPtrList<TQListViewItem> &)));
// set up message line
messageLinePane->hide();
- connect(messageHideBtn, TQT_SIGNAL(clicked()), TQT_SLOT(hideMessageLine()));
- connect(messageListBtn, TQT_SIGNAL(clicked()), mainWindow(), TQT_SLOT(showMessageLog()));
+ connect(messageHideBtn, TQ_SIGNAL(clicked()), TQ_SLOT(hideMessageLine()));
+ connect(messageListBtn, TQ_SIGNAL(clicked()), mainWindow(), TQ_SLOT(showMessageLog()));
installEventFilter(m_listView);
- ManipulationCommand::connect(TQT_SIGNAL(nodeChanged(const DOM::Node &)), this, TQT_SLOT(slotRefreshNode(const DOM::Node &)));
- ManipulationCommand::connect(TQT_SIGNAL(structureChanged()), this, TQT_SLOT(refresh()));
+ ManipulationCommand::connect(TQ_SIGNAL(nodeChanged(const DOM::Node &)), this, TQ_SLOT(slotRefreshNode(const DOM::Node &)));
+ ManipulationCommand::connect(TQ_SIGNAL(structureChanged()), this, TQ_SLOT(refresh()));
initDOMNodeInfo();
@@ -126,7 +126,7 @@ void DOMTreeView::setHtmlPart(TDEHTMLPart *_part)
parentWidget()->setCaption( part ? i18n( "DOM Tree for %1" ).arg(part->url().prettyURL()) : i18n("DOM Tree") );
- TQTimer::singleShot(0, this, TQT_SLOT(slotSetHtmlPartDelayed()));
+ TQTimer::singleShot(0, this, TQ_SLOT(slotSetHtmlPartDelayed()));
}
DOMTreeWindow *DOMTreeView::mainWindow() const
@@ -436,7 +436,7 @@ void DOMTreeView::slotFindClicked()
{
if (m_findDialog == 0) {
m_findDialog = new KEdFind(this);
- connect(m_findDialog, TQT_SIGNAL(search()), this, TQT_SLOT(slotSearch()));
+ connect(m_findDialog, TQ_SIGNAL(search()), this, TQ_SLOT(slotSearch()));
}
m_findDialog->show();
}
@@ -652,7 +652,7 @@ void DOMTreeView::refresh()
m_listView->setUpdatesEnabled(false);
slotShowTree(part->document());
- TQTimer::singleShot(0, this, TQT_SLOT(slotRestoreScrollOffset()));
+ TQTimer::singleShot(0, this, TQ_SLOT(slotRestoreScrollOffset()));
_refreshed = true;
}
@@ -805,9 +805,9 @@ void DOMTreeView::disconnectFromTornDownPart()
void DOMTreeView::connectToPart()
{
if (part) {
- connect(part, TQT_SIGNAL(nodeActivated(const DOM::Node &)), this,
- TQT_SLOT(activateNode(const DOM::Node &)));
- connect(part, TQT_SIGNAL(completed()), this, TQT_SLOT(refresh()));
+ connect(part, TQ_SIGNAL(nodeActivated(const DOM::Node &)), this,
+ TQ_SLOT(activateNode(const DOM::Node &)));
+ connect(part, TQ_SIGNAL(completed()), this, TQ_SLOT(refresh()));
// insert a style rule to indicate activated nodes
try {
@@ -871,7 +871,7 @@ void DOMTreeView::slotAddElementDlg()
{
ElementEditDialog dlg(this, "ElementEditDialog", true);
- connect(dlg.insBeforeBtn, TQT_SIGNAL(clicked()), &addBefore, TQT_SLOT(slot()));
+ connect(dlg.insBeforeBtn, TQ_SIGNAL(clicked()), &addBefore, TQ_SLOT(slot()));
// ### activate when namespaces are supported
dlg.elemNamespace->setEnabled(false);
@@ -911,7 +911,7 @@ void DOMTreeView::slotAddTextDlg()
{
TextEditDialog dlg(this, "TextEditDialog", true);
- connect(dlg.insBeforeBtn, TQT_SIGNAL(clicked()), &addBefore, TQT_SLOT(slot()));
+ connect(dlg.insBeforeBtn, TQ_SIGNAL(clicked()), &addBefore, TQ_SLOT(slot()));
if (dlg.exec() != TQDialog::Accepted) return;
@@ -1003,19 +1003,19 @@ protected:
void DOMTreeView::initDOMNodeInfo()
{
- connect(m_listView, TQT_SIGNAL(clicked(TQListViewItem *)),
- TQT_SLOT(initializeOptionsFromListItem(TQListViewItem *)));
+ connect(m_listView, TQ_SIGNAL(clicked(TQListViewItem *)),
+ TQ_SLOT(initializeOptionsFromListItem(TQListViewItem *)));
- connect(nodeAttributes, TQT_SIGNAL(itemRenamed(TQListViewItem *, const TQString &, int)),
- TQT_SLOT(slotItemRenamed(TQListViewItem *, const TQString &, int)));
- connect(nodeAttributes, TQT_SIGNAL(executed(TQListViewItem *, const TQPoint &, int)),
- TQT_SLOT(slotEditAttribute(TQListViewItem *, const TQPoint &, int)));
- connect(nodeAttributes, TQT_SIGNAL(contextMenuRequested(TQListViewItem *, const TQPoint &, int)),
- TQT_SLOT(showInfoPanelContextMenu(TQListViewItem *, const TQPoint &, int)));
+ connect(nodeAttributes, TQ_SIGNAL(itemRenamed(TQListViewItem *, const TQString &, int)),
+ TQ_SLOT(slotItemRenamed(TQListViewItem *, const TQString &, int)));
+ connect(nodeAttributes, TQ_SIGNAL(executed(TQListViewItem *, const TQPoint &, int)),
+ TQ_SLOT(slotEditAttribute(TQListViewItem *, const TQPoint &, int)));
+ connect(nodeAttributes, TQ_SIGNAL(contextMenuRequested(TQListViewItem *, const TQPoint &, int)),
+ TQ_SLOT(showInfoPanelContextMenu(TQListViewItem *, const TQPoint &, int)));
- connect(applyContent, TQT_SIGNAL(clicked()), TQT_SLOT(slotApplyContent()));
+ connect(applyContent, TQ_SIGNAL(clicked()), TQ_SLOT(slotApplyContent()));
- ManipulationCommand::connect(TQT_SIGNAL(nodeChanged(const DOM::Node &)), this, TQT_SLOT(initializeOptionsFromNode(const DOM::Node &)));
+ ManipulationCommand::connect(TQ_SIGNAL(nodeChanged(const DOM::Node &)), this, TQ_SLOT(initializeOptionsFromNode(const DOM::Node &)));
nodeAttributes->setRenameable(0, true);
nodeAttributes->setRenameable(1, true);