summaryrefslogtreecommitdiffstats
path: root/korganizer/kdatenavigator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'korganizer/kdatenavigator.cpp')
-rw-r--r--korganizer/kdatenavigator.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/korganizer/kdatenavigator.cpp b/korganizer/kdatenavigator.cpp
index d47b79748..c97ec9f76 100644
--- a/korganizer/kdatenavigator.cpp
+++ b/korganizer/kdatenavigator.cpp
@@ -67,7 +67,7 @@ KDateNavigator::KDateNavigator( TQWidget *parent, const char *name )
for( i = 0; i < 7; i++ ) {
mHeadings[i] = new TQLabel( this );
mHeadings[i]->setFont( TQFont( generalFont, 10, TQFont::Bold ) );
- mHeadings[i]->tqsetAlignment( AlignCenter );
+ mHeadings[i]->setAlignment( AlignCenter );
topLayout->addWidget( mHeadings[i], 1, i + 1 );
}
@@ -75,7 +75,7 @@ KDateNavigator::KDateNavigator( TQWidget *parent, const char *name )
// Create the weeknumber labels
for( i = 0; i < 6; i++ ) {
mWeeknos[i] = new TQLabel( this );
- mWeeknos[i]->tqsetAlignment( AlignCenter );
+ mWeeknos[i]->setAlignment( AlignCenter );
mWeeknos[i]->setFont( TQFont( generalFont, 10 ) );
mWeeknos[i]->installEventFilter( this );