diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-13 00:46:47 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-13 00:46:47 +0000 |
commit | 67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (patch) | |
tree | 5f52a9eada2e9f3654fc327d7c14dfef570a6ecb /libkcal/calendarresources.cpp | |
parent | 2ee4bf4fd5eff93b2fbef0ff8e8063edffc5da5c (diff) | |
download | tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.tar.gz tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.zip |
Initial conversion of kdepim to TQt
This will probably require some tweaking before it will build under Qt4,
however Qt3 builds are OK. Any alterations this commit makes to kdepim
behaviour under Qt3 are unintentional and should be fixed.
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libkcal/calendarresources.cpp')
-rw-r--r-- | libkcal/calendarresources.cpp | 16 |
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; |