summaryrefslogtreecommitdiffstats
path: root/korganizer/kdatenavigator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'korganizer/kdatenavigator.cpp')
-rw-r--r--korganizer/kdatenavigator.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/korganizer/kdatenavigator.cpp b/korganizer/kdatenavigator.cpp
index 6fe794592..b56c60159 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]->setAlignment( AlignCenter );
+ mHeadings[i]->tqsetAlignment( 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]->setAlignment( AlignCenter );
+ mWeeknos[i]->tqsetAlignment( AlignCenter );
mWeeknos[i]->setFont( TQFont( generalFont, 10 ) );
mWeeknos[i]->installEventFilter( this );
@@ -121,8 +121,8 @@ void KDateNavigator::setBaseDate( const TQDate &date )
dates.append( date );
mNavigatorBar->selectDates( dates );
- repaint();
- mDayMatrix->repaint();
+ tqrepaint();
+ mDayMatrix->tqrepaint();
}
}
@@ -135,7 +135,7 @@ TQSizePolicy KDateNavigator::sizePolicy () const
void KDateNavigator::updateToday()
{
mDayMatrix->recalculateToday();
- mDayMatrix->repaint();
+ mDayMatrix->tqrepaint();
}
TQDate KDateNavigator::startDate() const
@@ -195,14 +195,14 @@ void KDateNavigator::updateDates()
mWeeknos[i]->setText( weeknum );
}
-// each updateDates is followed by an updateView -> repaint is issued there !
-// mDayMatrix->repaint();
+// each updateDates is followed by an updateView -> tqrepaint is issued there !
+// mDayMatrix->tqrepaint();
}
void KDateNavigator::updateDayMatrix()
{
mDayMatrix->updateView();
- mDayMatrix->repaint();
+ mDayMatrix->tqrepaint();
}
void KDateNavigator::setUpdateNeeded()
@@ -228,7 +228,7 @@ void KDateNavigator::updateView()
// kdDebug(5850) << "KDateNavigator::updateView(), view " << this << endl;
updateDayMatrix();
- repaint();
+ tqrepaint();
}
void KDateNavigator::updateConfig()