diff options
Diffstat (limited to 'korganizer/multiagendaview.cpp')
-rw-r--r-- | korganizer/multiagendaview.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/korganizer/multiagendaview.cpp b/korganizer/multiagendaview.cpp index 4b7da9e26..8558d846f 100644 --- a/korganizer/multiagendaview.cpp +++ b/korganizer/multiagendaview.cpp @@ -41,8 +41,8 @@ for(TQValueList<KOAgendaView*>::ConstIterator it = mAgendaViews.constBegin(); \ using namespace KOrg; MultiAgendaView::MultiAgendaView( Calendar * cal, CalendarView *calendarView, - TQWidget * tqparent, const char *name ) : - AgendaView( cal, tqparent, name ), + TQWidget * parent, const char *name ) : + AgendaView( cal, parent, name ), mSelectedAgendaView( 0 ), mLastMovedSplitter( 0 ), mUpdateOnShow( false ), @@ -464,12 +464,12 @@ bool MultiAgendaView::eventFilter(TQObject * obj, TQEvent * event) if ( (event->type() == TQEvent::MouseMove && KGlobalSettings::opaqueResize()) || event->type() == TQEvent::MouseButtonRelease ) { FOREACH_VIEW( agenda ) { - if ( TQT_BASE_OBJECT(agenda->splitter()) == TQT_BASE_OBJECT(obj->tqparent()) ) + if ( TQT_BASE_OBJECT(agenda->splitter()) == TQT_BASE_OBJECT(obj->parent()) ) mLastMovedSplitter = agenda->splitter(); } - if ( TQT_BASE_OBJECT(mLeftSplitter )== TQT_BASE_OBJECT(obj->tqparent()) ) + if ( TQT_BASE_OBJECT(mLeftSplitter )== TQT_BASE_OBJECT(obj->parent()) ) mLastMovedSplitter = mLeftSplitter; - else if ( TQT_BASE_OBJECT(mRightSplitter) == TQT_BASE_OBJECT(obj->tqparent()) ) + else if ( TQT_BASE_OBJECT(mRightSplitter) == TQT_BASE_OBJECT(obj->parent()) ) mLastMovedSplitter = mRightSplitter; TQTimer::singleShot( 0, this, TQT_SLOT(resizeSplitters()) ); } |