summaryrefslogtreecommitdiffstats
path: root/libkcal/calendarresources.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libkcal/calendarresources.cpp')
-rw-r--r--libkcal/calendarresources.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/libkcal/calendarresources.cpp b/libkcal/calendarresources.cpp
index 50c5fba51..9bec7a648 100644
--- a/libkcal/calendarresources.cpp
+++ b/libkcal/calendarresources.cpp
@@ -108,7 +108,7 @@ ResourceCalendar
}
KRES::Resource *r;
- r = KRES::SelectDialog::getResource( list, parent() );
+ r = KRES::SelectDialog::getResource( list, tqparent() );
return static_cast<ResourceCalendar *>( r );
}
@@ -215,12 +215,12 @@ void CalendarResources::setAskDestinationPolicy()
TQWidget *CalendarResources::dialogParentWidget()
{
- return mDestinationPolicy->parent();
+ return mDestinationPolicy->tqparent();
}
-void CalendarResources::setDialogParentWidget( TQWidget *parent )
+void CalendarResources::setDialogParentWidget( TQWidget *tqparent )
{
- mDestinationPolicy->setParent( parent );
+ mDestinationPolicy->setParent( tqparent );
}
void CalendarResources::close()
@@ -430,7 +430,7 @@ bool CalendarResources::deleteEvent( Event *event )
kdDebug(5800) << "CalendarResources::deleteEvent" << endl;
bool status;
- if ( mResourceMap.find( event ) != mResourceMap.end() ) {
+ if ( mResourceMap.tqfind( event ) != mResourceMap.end() ) {
status = mResourceMap[event]->deleteEvent( event );
if ( status )
mPendingDeleteFromResourceMap = true;
@@ -487,7 +487,7 @@ bool CalendarResources::deleteTodo( Todo *todo )
kdDebug(5800) << "CalendarResources::deleteTodo" << endl;
bool status;
- if ( mResourceMap.find( todo ) != mResourceMap.end() ) {
+ if ( mResourceMap.tqfind( todo ) != mResourceMap.end() ) {
status = mResourceMap[todo]->deleteTodo( todo );
if ( status )
mPendingDeleteFromResourceMap = true;
@@ -686,7 +686,7 @@ bool CalendarResources::deleteJournal( Journal *journal )
kdDebug(5800) << "CalendarResources::deleteJournal" << endl;
bool status;
- if ( mResourceMap.find( journal ) != mResourceMap.end() ) {
+ if ( mResourceMap.tqfind( journal ) != mResourceMap.end() ) {
status = mResourceMap[journal]->deleteJournal( journal );
if ( status )
mPendingDeleteFromResourceMap = true;
@@ -771,7 +771,7 @@ void CalendarResources::connectResource( ResourceCalendar *resource )
ResourceCalendar *CalendarResources::resource( Incidence *incidence )
{
- if ( mResourceMap.find( incidence ) != mResourceMap.end() ) {
+ if ( mResourceMap.tqfind( incidence ) != mResourceMap.end() ) {
return mResourceMap[ incidence ];
}
return 0;