diff options
Diffstat (limited to 'korganizer/datenavigatorcontainer.cpp')
-rw-r--r-- | korganizer/datenavigatorcontainer.cpp | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/korganizer/datenavigatorcontainer.cpp b/korganizer/datenavigatorcontainer.cpp index bb965ba2..3ff76fec 100644 --- a/korganizer/datenavigatorcontainer.cpp +++ b/korganizer/datenavigatorcontainer.cpp @@ -68,26 +68,26 @@ DateNavigatorContainer::~DateNavigatorContainer() void DateNavigatorContainer::connectNavigatorView( KDateNavigator *v ) { - connect( v, TQT_SIGNAL( datesSelected( const KCal::DateList & ) ), - TQT_SIGNAL( datesSelected( const KCal::DateList & ) ) ); - connect( v, TQT_SIGNAL( incidenceDropped( Incidence *, const TQDate & ) ), - TQT_SIGNAL( incidenceDropped( Incidence *, const TQDate & ) ) ); - connect( v, TQT_SIGNAL( incidenceDroppedMove( Incidence *, const TQDate & ) ), - TQT_SIGNAL( incidenceDroppedMove( Incidence *, const TQDate & ) ) ); - connect( v, TQT_SIGNAL( weekClicked( const TQDate & ) ), - TQT_SIGNAL( weekClicked( const TQDate & ) ) ); - - connect( v, TQT_SIGNAL( goPrevious() ), TQT_SIGNAL( goPrevious() ) ); - connect( v, TQT_SIGNAL( goNext() ), TQT_SIGNAL( goNext() ) ); - - connect( v, TQT_SIGNAL( nextYearClicked() ), TQT_SIGNAL( nextYearClicked() ) ); - connect( v, TQT_SIGNAL( prevYearClicked() ), TQT_SIGNAL( prevYearClicked() ) ); - - connect( v, TQT_SIGNAL( prevMonthClicked() ), this, TQT_SLOT( goPrevMonth() ) ); - connect( v, TQT_SIGNAL( nextMonthClicked() ), this, TQT_SLOT( goNextMonth() ) ); - - connect( v, TQT_SIGNAL( monthSelected( int ) ), TQT_SIGNAL( monthSelected( int ) ) ); - connect( v, TQT_SIGNAL( yearSelected( int ) ), TQT_SIGNAL( yearSelected( int ) ) ); + connect( v, TQ_SIGNAL( datesSelected( const KCal::DateList & ) ), + TQ_SIGNAL( datesSelected( const KCal::DateList & ) ) ); + connect( v, TQ_SIGNAL( incidenceDropped( Incidence *, const TQDate & ) ), + TQ_SIGNAL( incidenceDropped( Incidence *, const TQDate & ) ) ); + connect( v, TQ_SIGNAL( incidenceDroppedMove( Incidence *, const TQDate & ) ), + TQ_SIGNAL( incidenceDroppedMove( Incidence *, const TQDate & ) ) ); + connect( v, TQ_SIGNAL( weekClicked( const TQDate & ) ), + TQ_SIGNAL( weekClicked( const TQDate & ) ) ); + + connect( v, TQ_SIGNAL( goPrevious() ), TQ_SIGNAL( goPrevious() ) ); + connect( v, TQ_SIGNAL( goNext() ), TQ_SIGNAL( goNext() ) ); + + connect( v, TQ_SIGNAL( nextYearClicked() ), TQ_SIGNAL( nextYearClicked() ) ); + connect( v, TQ_SIGNAL( prevYearClicked() ), TQ_SIGNAL( prevYearClicked() ) ); + + connect( v, TQ_SIGNAL( prevMonthClicked() ), this, TQ_SLOT( goPrevMonth() ) ); + connect( v, TQ_SIGNAL( nextMonthClicked() ), this, TQ_SLOT( goNextMonth() ) ); + + connect( v, TQ_SIGNAL( monthSelected( int ) ), TQ_SIGNAL( monthSelected( int ) ) ); + connect( v, TQ_SIGNAL( yearSelected( int ) ), TQ_SIGNAL( yearSelected( int ) ) ); } void DateNavigatorContainer::setCalendar( Calendar *cal ) @@ -211,7 +211,7 @@ void DateNavigatorContainer::resizeEvent( TQResizeEvent * ) kdDebug(5850) << " SIZEHINT: " << sizeHint() << endl; kdDebug(5850) << " MINIMUM SIZE: " << minimumSize() << endl; #endif - TQTimer::singleShot( 0, this, TQT_SLOT( resizeAllContents() ) ); + TQTimer::singleShot( 0, this, TQ_SLOT( resizeAllContents() ) ); } void DateNavigatorContainer::resizeAllContents() @@ -332,7 +332,7 @@ TQPair<TQDate,TQDate> DateNavigatorContainer::dateLimits( int offset ) TQPair<TQDate,TQDate> firstMonthBoundary = KODayMatrix::matrixLimits( firstMonth ); TQPair<TQDate,TQDate> lastMonthBoundary = KODayMatrix::matrixLimits( lastMonth ); - return tqMakePair( firstMonthBoundary.first, lastMonthBoundary.second ); + return qMakePair( firstMonthBoundary.first, lastMonthBoundary.second ); } #include "datenavigatorcontainer.moc" |