summaryrefslogtreecommitdiffstats
path: root/kftpgrabber/src/widgets/filtereditor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kftpgrabber/src/widgets/filtereditor.cpp')
-rw-r--r--kftpgrabber/src/widgets/filtereditor.cpp46
1 files changed, 23 insertions, 23 deletions
diff --git a/kftpgrabber/src/widgets/filtereditor.cpp b/kftpgrabber/src/widgets/filtereditor.cpp
index 6e63594..2dd5987 100644
--- a/kftpgrabber/src/widgets/filtereditor.cpp
+++ b/kftpgrabber/src/widgets/filtereditor.cpp
@@ -37,11 +37,11 @@
#include "listview.h"
#include "misc/filterwidgethandler.h"
-#include <ntqlayout.h>
-#include <ntqhbox.h>
-#include <ntqtooltip.h>
-#include <ntqheader.h>
-#include <ntqbuttongroup.h>
+#include <tqlayout.h>
+#include <tqhbox.h>
+#include <tqtooltip.h>
+#include <tqheader.h>
+#include <tqbuttongroup.h>
#include <kiconloader.h>
#include <tdelocale.h>
@@ -76,16 +76,16 @@ FilterEditor::FilterEditor(TQWidget *parent)
rightLayout->addStretch(1);
// Connect some signals
- connect(m_enabledCheck, SIGNAL(clicked()), this, SLOT(slotEnabledChanged()));
+ connect(m_enabledCheck, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotEnabledChanged()));
- connect(m_listView, SIGNAL(ruleChanged(KFTPCore::Filter::Rule*)), this, SLOT(slotRuleChanged(KFTPCore::Filter::Rule*)));
- connect(m_listView, SIGNAL(ruleRemoved()), this, SLOT(slotRuleRemoved()));
+ connect(m_listView, TQ_SIGNAL(ruleChanged(KFTPCore::Filter::Rule*)), this, TQ_SLOT(slotRuleChanged(KFTPCore::Filter::Rule*)));
+ connect(m_listView, TQ_SIGNAL(ruleRemoved()), this, TQ_SLOT(slotRuleRemoved()));
- connect(m_listView, SIGNAL(ruleChanged(KFTPCore::Filter::Rule*)), m_conditionsList, SLOT(loadRule(KFTPCore::Filter::Rule*)));
- connect(m_listView, SIGNAL(ruleRemoved()), m_conditionsList, SLOT(reset()));
+ connect(m_listView, TQ_SIGNAL(ruleChanged(KFTPCore::Filter::Rule*)), m_conditionsList, TQ_SLOT(loadRule(KFTPCore::Filter::Rule*)));
+ connect(m_listView, TQ_SIGNAL(ruleRemoved()), m_conditionsList, TQ_SLOT(reset()));
- connect(m_listView, SIGNAL(ruleChanged(KFTPCore::Filter::Rule*)), m_actionsList, SLOT(loadRule(KFTPCore::Filter::Rule*)));
- connect(m_listView, SIGNAL(ruleRemoved()), m_actionsList, SLOT(reset()));
+ connect(m_listView, TQ_SIGNAL(ruleChanged(KFTPCore::Filter::Rule*)), m_actionsList, TQ_SLOT(loadRule(KFTPCore::Filter::Rule*)));
+ connect(m_listView, TQ_SIGNAL(ruleRemoved()), m_actionsList, TQ_SLOT(reset()));
}
void FilterEditor::slotRuleChanged(KFTPCore::Filter::Rule *rule)
@@ -177,15 +177,15 @@ FilterListView::FilterListView(TQWidget *parent)
TQToolTip::add(m_buttonDelete, i18n("Delete"));
// Connect the signals
- connect(m_buttonNew, SIGNAL(clicked()), this, SLOT(slotNewRule()));
- connect(m_buttonDelete, SIGNAL(clicked()), this, SLOT(slotDeleteRule()));
- connect(m_buttonRename, SIGNAL(clicked()), this, SLOT(slotRenameRule()));
- connect(m_buttonCopy, SIGNAL(clicked()), this, SLOT(slotCopyRule()));
+ connect(m_buttonNew, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotNewRule()));
+ connect(m_buttonDelete, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotDeleteRule()));
+ connect(m_buttonRename, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotRenameRule()));
+ connect(m_buttonCopy, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotCopyRule()));
- connect(m_buttonUp, SIGNAL(clicked()), this, SLOT(slotUp()));
- connect(m_buttonDown, SIGNAL(clicked()), this, SLOT(slotDown()));
+ connect(m_buttonUp, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotUp()));
+ connect(m_buttonDown, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotDown()));
- connect(m_listView, SIGNAL(selectionChanged(TQListViewItem*)), this, SLOT(slotSelectionChanged(TQListViewItem*)));
+ connect(m_listView, TQ_SIGNAL(selectionChanged(TQListViewItem*)), this, TQ_SLOT(slotSelectionChanged(TQListViewItem*)));
m_buttonUp->setEnabled(false);
m_buttonDown->setEnabled(false);
@@ -346,7 +346,7 @@ FilterConditionsList::FilterConditionsList(TQWidget *parent)
bg->insert(m_buttonAny, (int) ConditionChain::Any);
// Connect some signals
- connect(bg, SIGNAL(clicked(int)), this, SLOT(slotMatchTypeChanged(int)));
+ connect(bg, TQ_SIGNAL(clicked(int)), this, TQ_SLOT(slotMatchTypeChanged(int)));
m_lister = new FilterConditionWidgetLister(this);
}
@@ -454,7 +454,7 @@ FilterConditionWidget::FilterConditionWidget(TQWidget *parent)
WidgetHandlerManager::self()->createConditionWidgets(m_typeStack, m_valueStack, this);
// Connect signals
- connect(m_fieldCombo, SIGNAL(activated(int)), this, SLOT(slotFieldChanged(int)));
+ connect(m_fieldCombo, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotFieldChanged(int)));
setFocusProxy(m_fieldCombo);
}
@@ -591,8 +591,8 @@ FilterActionWidget::FilterActionWidget(TQWidget *parent)
WidgetHandlerManager::self()->createActionWidgets(m_valueStack, this);
// Connect signals
- connect(m_actionCombo, SIGNAL(activated(int)), this, SLOT(slotActionChanged(int)));
- connect(m_actionCombo, SIGNAL(activated(int)), m_valueStack, SLOT(raiseWidget(int)));
+ connect(m_actionCombo, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotActionChanged(int)));
+ connect(m_actionCombo, TQ_SIGNAL(activated(int)), m_valueStack, TQ_SLOT(raiseWidget(int)));
setFocusProxy(m_actionCombo);
}