summaryrefslogtreecommitdiffstats
path: root/kplato/kptresourcedialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kplato/kptresourcedialog.cpp')
-rw-r--r--kplato/kptresourcedialog.cpp40
1 files changed, 20 insertions, 20 deletions
diff --git a/kplato/kptresourcedialog.cpp b/kplato/kptresourcedialog.cpp
index 8e2c24fd..1f2bc87d 100644
--- a/kplato/kptresourcedialog.cpp
+++ b/kplato/kptresourcedialog.cpp
@@ -53,23 +53,23 @@ ResourceDialogImpl::ResourceDialogImpl (TQWidget *parent)
: ResourceDialogBase(parent)
{
- connect(type, TQT_SIGNAL(activated(int)), TQT_SLOT(slotChanged()));
- connect(units, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(slotChanged()));
- connect(nameEdit, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(slotChanged()));
- connect(initialsEdit, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(slotChanged()));
- connect(emailEdit, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(slotChanged()));
+ connect(type, TQ_SIGNAL(activated(int)), TQ_SLOT(slotChanged()));
+ connect(units, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(slotChanged()));
+ connect(nameEdit, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(slotChanged()));
+ connect(initialsEdit, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(slotChanged()));
+ connect(emailEdit, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(slotChanged()));
- connect(calendarList, TQT_SIGNAL(activated(int)), TQT_SLOT(slotChanged()));
+ connect(calendarList, TQ_SIGNAL(activated(int)), TQ_SLOT(slotChanged()));
- connect(rateEdit, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(slotChanged()));
- connect(overtimeEdit, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(slotChanged()));
+ connect(rateEdit, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(slotChanged()));
+ connect(overtimeEdit, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(slotChanged()));
- connect(chooseBtn, TQT_SIGNAL(clicked()), TQT_SLOT(slotChooseResource()));
+ connect(chooseBtn, TQ_SIGNAL(clicked()), TQ_SLOT(slotChooseResource()));
- connect(availableFrom, TQT_SIGNAL(valueChanged(const TQDateTime&)), TQT_SLOT(slotChanged()));
- connect(availableUntil, TQT_SIGNAL(valueChanged(const TQDateTime&)), TQT_SLOT(slotChanged()));
- connect(availableFrom, TQT_SIGNAL(valueChanged(const TQDateTime&)), TQT_SLOT(slotAvailableFromChanged(const TQDateTime&)));
- connect(availableUntil, TQT_SIGNAL(valueChanged(const TQDateTime&)), TQT_SLOT(slotAvailableUntilChanged(const TQDateTime&)));
+ connect(availableFrom, TQ_SIGNAL(valueChanged(const TQDateTime&)), TQ_SLOT(slotChanged()));
+ connect(availableUntil, TQ_SIGNAL(valueChanged(const TQDateTime&)), TQ_SLOT(slotChanged()));
+ connect(availableFrom, TQ_SIGNAL(valueChanged(const TQDateTime&)), TQ_SLOT(slotAvailableFromChanged(const TQDateTime&)));
+ connect(availableUntil, TQ_SIGNAL(valueChanged(const TQDateTime&)), TQ_SLOT(slotAvailableUntilChanged(const TQDateTime&)));
}
@@ -79,19 +79,19 @@ void ResourceDialogImpl::slotChanged() {
void ResourceDialogImpl::slotAvailableFromChanged(const TQDateTime&) {
if (availableUntil->dateTime() < availableFrom->dateTime()) {
- disconnect(availableUntil, TQT_SIGNAL(valueChanged(const TQDateTime&)), this, TQT_SLOT(slotAvailableUntilChanged(const TQDateTime&)));
+ disconnect(availableUntil, TQ_SIGNAL(valueChanged(const TQDateTime&)), this, TQ_SLOT(slotAvailableUntilChanged(const TQDateTime&)));
//kdDebug()<<"From: "<<availableFrom->dateTime().toString()<<" until="<<availableUntil->dateTime().toString()<<endl;
availableUntil->setDateTime(availableFrom->dateTime());
- connect(availableUntil, TQT_SIGNAL(valueChanged(const TQDateTime&)), TQT_SLOT(slotAvailableUntilChanged(const TQDateTime&)));
+ connect(availableUntil, TQ_SIGNAL(valueChanged(const TQDateTime&)), TQ_SLOT(slotAvailableUntilChanged(const TQDateTime&)));
}
}
void ResourceDialogImpl::slotAvailableUntilChanged(const TQDateTime&) {
if (availableFrom->dateTime() > availableUntil->dateTime()) {
- disconnect(availableFrom, TQT_SIGNAL(valueChanged(const TQDateTime&)), this, TQT_SLOT(slotAvailableFromChanged(const TQDateTime&)));
+ disconnect(availableFrom, TQ_SIGNAL(valueChanged(const TQDateTime&)), this, TQ_SLOT(slotAvailableFromChanged(const TQDateTime&)));
//kdDebug()<<"Until: "<<availableUntil->dateTime().toString()<<" from="<<availableFrom->dateTime().toString()<<endl;
availableFrom->setDateTime(availableUntil->dateTime());
- connect(availableFrom, TQT_SIGNAL(valueChanged(const TQDateTime&)), TQT_SLOT(slotAvailableFromChanged(const TQDateTime&)));
+ connect(availableFrom, TQ_SIGNAL(valueChanged(const TQDateTime&)), TQ_SLOT(slotAvailableFromChanged(const TQDateTime&)));
}
}
@@ -151,9 +151,9 @@ ResourceDialog::ResourceDialog(Project &project, Resource *resource, TQWidget *p
}
dia->calendarList->setCurrentItem(cal);
- connect(dia, TQT_SIGNAL(changed()), TQT_SLOT(enableButtonOk()));
- connect(dia, TQT_SIGNAL(calculate()), TQT_SLOT(slotCalculationNeeded()));
- connect(dia->calendarList, TQT_SIGNAL(activated(int)), TQT_SLOT(slotCalendarChanged(int)));
+ connect(dia, TQ_SIGNAL(changed()), TQ_SLOT(enableButtonOk()));
+ connect(dia, TQ_SIGNAL(calculate()), TQ_SLOT(slotCalculationNeeded()));
+ connect(dia->calendarList, TQ_SIGNAL(activated(int)), TQ_SLOT(slotCalendarChanged(int)));
}