summaryrefslogtreecommitdiffstats
path: root/korganizer/navigatorbar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'korganizer/navigatorbar.cpp')
-rw-r--r--korganizer/navigatorbar.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/korganizer/navigatorbar.cpp b/korganizer/navigatorbar.cpp
index 23a017167..ba8842042 100644
--- a/korganizer/navigatorbar.cpp
+++ b/korganizer/navigatorbar.cpp
@@ -71,40 +71,40 @@ NavigatorBar::NavigatorBar( TQWidget *parent, const char *name )
pix = KOGlobals::self()->smallIcon( isRTL ? "2rightarrow" : "2leftarrow" );
mPrevYear = new TQPushButton( this );
mPrevYear->setPixmap( pix );
- mPrevYear->tqsetSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Fixed );
+ mPrevYear->setSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Fixed );
TQToolTip::add( mPrevYear, i18n( "Previous year" ) );
pix = KOGlobals::self()->smallIcon( isRTL ? "1rightarrow" : "1leftarrow");
mPrevMonth = new TQPushButton( this );
mPrevMonth->setPixmap( pix );
- mPrevMonth->tqsetSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Fixed );
+ mPrevMonth->setSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Fixed );
TQToolTip::add( mPrevMonth, i18n( "Previous month" ) );
// Create forward navigation buttons
pix = KOGlobals::self()->smallIcon( isRTL ? "1leftarrow" : "1rightarrow");
mNextMonth = new TQPushButton( this );
mNextMonth->setPixmap( pix );
- mNextMonth->tqsetSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Fixed );
+ mNextMonth->setSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Fixed );
TQToolTip::add( mNextMonth, i18n( "Next month" ) );
pix = KOGlobals::self()->smallIcon( isRTL ? "2leftarrow" : "2rightarrow");
mNextYear = new TQPushButton( this );
mNextYear->setPixmap( pix );
- mNextYear->tqsetSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Fixed );
+ mNextYear->setSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Fixed );
TQToolTip::add( mNextYear, i18n( "Next year" ) );
// Create month name button
mMonth = new ActiveLabel( this );
mMonth->setFont( tfont );
- mMonth->tqsetAlignment( AlignCenter );
- mMonth->setMinimumHeight( mPrevYear->tqsizeHint().height() );
+ mMonth->setAlignment( AlignCenter );
+ mMonth->setMinimumHeight( mPrevYear->sizeHint().height() );
TQToolTip::add( mMonth, i18n( "Select a month" ) );
// Create year button
mYear = new ActiveLabel( this );
mYear->setFont( tfont );
- mYear->tqsetAlignment( AlignCenter );
- mYear->setMinimumHeight( mPrevYear->tqsizeHint().height() );
+ mYear->setAlignment( AlignCenter );
+ mYear->setMinimumHeight( mPrevYear->sizeHint().height() );
TQToolTip::add( mYear, i18n( "Select a year" ) );
// set up control frame tqlayout