summaryrefslogtreecommitdiffstats
path: root/libtdepim/kscoringeditor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libtdepim/kscoringeditor.cpp')
-rw-r--r--libtdepim/kscoringeditor.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/libtdepim/kscoringeditor.cpp b/libtdepim/kscoringeditor.cpp
index 6e520e983..18d3a0299 100644
--- a/libtdepim/kscoringeditor.cpp
+++ b/libtdepim/kscoringeditor.cpp
@@ -91,7 +91,7 @@ SingleConditionWidget::SingleConditionWidget(KScoringManager *m,TQWidget *p, con
connect( regExpButton, TQT_SIGNAL( clicked() ), TQT_SLOT( showRegExpDialog() ) );
// occupy at much width as possible
- tqsetSizePolicy(TQSizePolicy(TQSizePolicy::Expanding,TQSizePolicy::Fixed));
+ setSizePolicy(TQSizePolicy(TQSizePolicy::Expanding,TQSizePolicy::Fixed));
setFrameStyle(Box | Sunken);
setLineWidth(1);
}
@@ -421,7 +421,7 @@ RuleEditWidget::RuleEditWidget(KScoringManager *m,TQWidget *p, const char *n)
groupsBox = new KComboBox( false, groupB, "groupsBox" );
groupsBox->setDuplicatesEnabled(false);
groupsBox->insertStringList(manager->getGroups());
- groupsBox->tqsetSizePolicy(TQSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Fixed));
+ groupsBox->setSizePolicy(TQSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Fixed));
groupL->addWidget( groupsBox, 3, 1 );
// expires
@@ -508,7 +508,7 @@ void RuleEditWidget::slotEditRule(const TQString& ruleName)
expireEdit->setEnabled(b);
expireLabel->setEnabled(b);
if (b)
- expireEdit->setValue(TQDate::tqcurrentDate().daysTo(rule->getExpireDate()));
+ expireEdit->setValue(TQDate::currentDate().daysTo(rule->getExpireDate()));
else
expireEdit->setValue(30);
if (rule->getLinkMode() == KScoringRule::AND) {
@@ -546,7 +546,7 @@ void RuleEditWidget::updateRule(KScoringRule *rule)
rule->setGroups(TQStringList::split(";",groups));
bool b = expireCheck->isChecked();
if (b)
- rule->setExpireDate(TQDate::tqcurrentDate().addDays(expireEdit->value()));
+ rule->setExpireDate(TQDate::currentDate().addDays(expireEdit->value()));
else
rule->setExpireDate(TQDate());
actionEditor->updateRule(rule);
@@ -655,7 +655,7 @@ RuleListWidget::RuleListWidget(KScoringManager *m, bool standalone, TQWidget *p,
TQStringList l = m->getGroups();
filterBox->insertItem(i18n("<all groups>"));
filterBox->insertStringList(l);
- filterBox->tqsetSizePolicy(TQSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Fixed));
+ filterBox->setSizePolicy(TQSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Fixed));
connect(filterBox,TQT_SIGNAL(activated(const TQString&)),
this,TQT_SLOT(slotGroupFilter(const TQString&)));
slotGroupFilter(i18n("<all groups>"));
@@ -881,7 +881,7 @@ KScoringEditor::KScoringEditor(KScoringManager* m,
connect(ruleEditor, TQT_SIGNAL(shrink()), TQT_SLOT(slotShrink()));
connect(this,TQT_SIGNAL(finished()),TQT_SLOT(slotFinished()));
ruleLister->slotRuleSelected(0);
- resize(550, tqsizeHint().height());
+ resize(550, sizeHint().height());
}
void KScoringEditor::setDirty()
@@ -918,7 +918,7 @@ void KScoringEditor::slotDoShrink()
{
updateGeometry();
TQApplication::sendPostedEvents();
- resize(width(),tqsizeHint().height());
+ resize(width(),sizeHint().height());
}
void KScoringEditor::slotApply()
@@ -996,7 +996,7 @@ void KScoringEditorWidgetDialog::slotDoShrink()
{
updateGeometry();
TQApplication::sendPostedEvents();
- resize(width(),tqsizeHint().height());
+ resize(width(),sizeHint().height());
}
//============================================================================