summaryrefslogtreecommitdiffstats
path: root/kplato/kptschedule.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kplato/kptschedule.cc')
-rw-r--r--kplato/kptschedule.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/kplato/kptschedule.cc b/kplato/kptschedule.cc
index 84b2ddd3..3187a2e1 100644
--- a/kplato/kptschedule.cc
+++ b/kplato/kptschedule.cc
@@ -175,7 +175,7 @@ void Schedule::saveAppointments(TQDomElement &element) const {
}
bool Schedule::add(Appointment *appointment) {
- if (m_appointments.tqfindRef(appointment) != -1) {
+ if (m_appointments.findRef(appointment) != -1) {
kdError()<<k_funcinfo<<"Appointment allready exists"<<endl;
return false;
}
@@ -191,7 +191,7 @@ void Schedule::removeAppointment(Appointment *appointment) {
}
void Schedule::takeAppointment(Appointment *appointment) {
- int i = m_appointments.tqfindRef(appointment);
+ int i = m_appointments.findRef(appointment);
if (i != -1) {
m_appointments.take(i);
//kdDebug()<<k_funcinfo<<"Taken: "<<appointment<<endl;