summaryrefslogtreecommitdiffstats
path: root/src/filterdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/filterdialog.cpp')
-rw-r--r--src/filterdialog.cpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/filterdialog.cpp b/src/filterdialog.cpp
index 17c262d..b4e6337 100644
--- a/src/filterdialog.cpp
+++ b/src/filterdialog.cpp
@@ -78,18 +78,18 @@ void FilterRuleWidget::initWidget() {
setSpacing(4);
m_ruleField = new KComboBox(this);
- connect(m_ruleField, TQT_SIGNAL(activated(int)), TQT_SIGNAL(signalModified()));
- connect(m_ruleField, TQT_SIGNAL(activated(int)), TQT_SLOT(slotRuleFieldChanged(int)));
+ connect(m_ruleField, TQ_SIGNAL(activated(int)), TQ_SIGNAL(signalModified()));
+ connect(m_ruleField, TQ_SIGNAL(activated(int)), TQ_SLOT(slotRuleFieldChanged(int)));
m_ruleFunc = new KComboBox(this);
- connect(m_ruleFunc, TQT_SIGNAL(activated(int)), TQT_SIGNAL(signalModified()));
+ connect(m_ruleFunc, TQ_SIGNAL(activated(int)), TQ_SIGNAL(signalModified()));
m_ruleValue = new KLineEdit(this);
- connect(m_ruleValue, TQT_SIGNAL(textChanged(const TQString&)), TQT_SIGNAL(signalModified()));
+ connect(m_ruleValue, TQ_SIGNAL(textChanged(const TQString&)), TQ_SIGNAL(signalModified()));
if(!TDETrader::self()->query(TQString::fromLatin1("KRegExpEditor/KRegExpEditor")).isEmpty()) {
m_editRegExp = new KPushButton(i18n("Edit..."), this);
- connect(m_editRegExp, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotEditRegExp()));
- connect(m_ruleFunc, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotRuleFunctionChanged(int)));
+ connect(m_editRegExp, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotEditRegExp()));
+ connect(m_ruleFunc, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotRuleFunctionChanged(int)));
slotRuleFunctionChanged(m_ruleFunc->currentItem());
}
@@ -101,10 +101,10 @@ void FilterRuleWidget::initWidget() {
m_ruleFunc->insertStringList(m_ruleFuncList);
// m_ruleFunc->adjustSize();
-// connect(m_ruleField, TQT_SIGNAL(textChanged(const TQString &)),
-// this, TQT_SIGNAL(fieldChanged(const TQString &)));
-// connect(m_ruleValue, TQT_SIGNAL(textChanged(const TQString &)),
-// this, TQT_SIGNAL(contentsChanged(const TQString &)));
+// connect(m_ruleField, TQ_SIGNAL(textChanged(const TQString &)),
+// this, TQ_SIGNAL(fieldChanged(const TQString &)));
+// connect(m_ruleValue, TQ_SIGNAL(textChanged(const TQString &)),
+// this, TQ_SIGNAL(contentsChanged(const TQString &)));
}
void FilterRuleWidget::slotEditRegExp() {
@@ -255,7 +255,7 @@ void FilterRuleWidgetLister::setFocus() {
TQWidget* FilterRuleWidgetLister::createWidget(TQWidget* parent_) {
TQWidget* w = new FilterRuleWidget(static_cast<Tellico::FilterRule*>(0), parent_);
- connect(w, TQT_SIGNAL(signalModified()), TQT_SIGNAL(signalModified()));
+ connect(w, TQ_SIGNAL(signalModified()), TQ_SIGNAL(signalModified()));
return w;
}
@@ -300,11 +300,11 @@ void FilterDialog::init() {
m_matchAll = new TQRadioButton(i18n("Match a&ll of the following"), bg);
m_matchAny = new TQRadioButton(i18n("Match an&y of the following"), bg);
m_matchAll->setChecked(true);
- connect(bg, TQT_SIGNAL(clicked(int)), TQT_SLOT(slotFilterChanged()));
+ connect(bg, TQ_SIGNAL(clicked(int)), TQ_SLOT(slotFilterChanged()));
m_ruleLister = new FilterRuleWidgetLister(m_matchGroup);
- connect(m_ruleLister, TQT_SIGNAL(widgetRemoved()), TQT_SLOT(slotShrink()));
- connect(m_ruleLister, TQT_SIGNAL(signalModified()), TQT_SLOT(slotFilterChanged()));
+ connect(m_ruleLister, TQ_SIGNAL(widgetRemoved()), TQ_SLOT(slotShrink()));
+ connect(m_ruleLister, TQ_SIGNAL(signalModified()), TQ_SLOT(slotFilterChanged()));
m_ruleLister->setFocus();
TQHBoxLayout* blay = new TQHBoxLayout(topLayout);
@@ -312,14 +312,14 @@ void FilterDialog::init() {
m_filterName = new KLineEdit(page);
blay->addWidget(m_filterName);
- connect(m_filterName, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(slotFilterChanged()));
+ connect(m_filterName, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(slotFilterChanged()));
// only when creating a new filter can it be saved
if(m_mode == CreateFilter) {
m_saveFilter = new KPushButton(SmallIconSet(TQString::fromLatin1("filter")), i18n("&Save Filter"), page);
blay->addWidget(m_saveFilter);
m_saveFilter->setEnabled(false);
- connect(m_saveFilter, TQT_SIGNAL(clicked()), TQT_SLOT(slotSaveFilter()));
+ connect(m_saveFilter, TQ_SIGNAL(clicked()), TQ_SLOT(slotSaveFilter()));
enableButtonApply(false);
}
enableButtonOK(false); // disable at start