diff options
Diffstat (limited to 'korganizer/datenavigatorcontainer.cpp')
-rw-r--r-- | korganizer/datenavigatorcontainer.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/korganizer/datenavigatorcontainer.cpp b/korganizer/datenavigatorcontainer.cpp index e1e3223ab..462920c5f 100644 --- a/korganizer/datenavigatorcontainer.cpp +++ b/korganizer/datenavigatorcontainer.cpp @@ -19,8 +19,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. As a special exception, permission is given to link this program - with any edition of Qt, and distribute the resulting executable, - without including the source code for Qt in the source distribution. + with any edition of TQt, and distribute the resulting executable, + without including the source code for TQt in the source distribution. */ #include <kdebug.h> @@ -39,9 +39,9 @@ #include <tqwhatsthis.h> #include <tqtimer.h> -DateNavigatorContainer::DateNavigatorContainer( TQWidget *parent, +DateNavigatorContainer::DateNavigatorContainer( TQWidget *tqparent, const char *name ) - : TQFrame( parent, name ), mCalendar( 0 ), + : TQFrame( tqparent, name ), mCalendar( 0 ), mHorizontalCount( 1 ), mVerticalCount( 1 ) { mExtraViews.setAutoDelete( true ); @@ -300,7 +300,7 @@ TQSize DateNavigatorContainer::tqsizeHint() const void DateNavigatorContainer::goNextMonth() { - const QPair<TQDate,TQDate> p = dateLimits( 1 ); + const TQPair<TQDate,TQDate> p = dateLimits( 1 ); emit nextMonthClicked( mNavigatorView->month(), p.first, @@ -309,14 +309,14 @@ void DateNavigatorContainer::goNextMonth() void DateNavigatorContainer::goPrevMonth() { - const QPair<TQDate,TQDate> p = dateLimits( -1 ); + const TQPair<TQDate,TQDate> p = dateLimits( -1 ); emit prevMonthClicked( mNavigatorView->month(), p.first, p.second ); } -QPair<TQDate,TQDate> DateNavigatorContainer::dateLimits( int offset ) +TQPair<TQDate,TQDate> DateNavigatorContainer::dateLimits( int offset ) { const KCalendarSystem *calSys = KOGlobals::self()->calendarSystem(); TQDate firstMonth, lastMonth; @@ -329,8 +329,8 @@ QPair<TQDate,TQDate> DateNavigatorContainer::dateLimits( int offset ) firstMonth = calSys->addMonths( mNavigatorView->month(), offset ); lastMonth = calSys->addMonths( lastMonth, offset ); - QPair<TQDate,TQDate> firstMonthBoundary = KODayMatrix::matrixLimits( firstMonth ); - QPair<TQDate,TQDate> lastMonthBoundary = KODayMatrix::matrixLimits( lastMonth ); + TQPair<TQDate,TQDate> firstMonthBoundary = KODayMatrix::matrixLimits( firstMonth ); + TQPair<TQDate,TQDate> lastMonthBoundary = KODayMatrix::matrixLimits( lastMonth ); return qMakePair( firstMonthBoundary.first, lastMonthBoundary.second ); } |