From 2d0cd394291d27533313adaf3dfdcd2eb92f61da Mon Sep 17 00:00:00 2001 From: tpearson Date: Fri, 15 Apr 2011 01:44:26 +0000 Subject: Fix Qt3 compilation of kdepim git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227976 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- korganizer/koagenda.cpp | 4 ++-- korganizer/korganizer_part.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'korganizer') diff --git a/korganizer/koagenda.cpp b/korganizer/koagenda.cpp index 7172e01ff..f2ac4ac7a 100644 --- a/korganizer/koagenda.cpp +++ b/korganizer/koagenda.cpp @@ -255,7 +255,7 @@ void KOAgenda::init() // Grab key strokes for keyboard navigation of agenda. Seems to have no // effect. Has to be fixed. - setFocusPolicy( Qt::WheelFocus ); + setFocusPolicy( TQ_WheelFocus ); connect( &mScrollUpTimer, TQT_SIGNAL( timeout() ), TQT_SLOT( scrollUp() ) ); connect( &mScrollDownTimer, TQT_SIGNAL( timeout() ), TQT_SLOT( scrollDown() ) ); @@ -291,7 +291,7 @@ void KOAgenda::init() viewport()->update(); viewport()->setBackgroundMode( NoBackground ); - viewport()->setFocusPolicy( Qt::WheelFocus ); + viewport()->setFocusPolicy( TQ_WheelFocus ); setMinimumSize( 30, int( mGridSpacingY + 1 ) ); // setMaximumHeight(mGridSpacingY * mRows + 5); diff --git a/korganizer/korganizer_part.cpp b/korganizer/korganizer_part.cpp index f933d47fe..271eee12e 100644 --- a/korganizer/korganizer_part.cpp +++ b/korganizer/korganizer_part.cpp @@ -81,7 +81,7 @@ KOrganizerPart::KOrganizerPart( TQWidget *tqparentWidget, const char *widgetName // create a canvas to insert our widget TQWidget *canvas = new TQWidget( tqparentWidget, widgetName ); - canvas->setFocusPolicy( Qt::ClickFocus ); + canvas->setFocusPolicy( TQ_ClickFocus ); setWidget( canvas ); mView = new CalendarView( canvas ); -- cgit v1.2.1