summaryrefslogtreecommitdiffstats
path: root/korganizer/kdatenavigator.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
commitf4fae92b6768541e2952173c3d4b09040f95bf7e (patch)
treed8c5d93232235cd635f3310b4d95490df181ba2d /korganizer/kdatenavigator.cpp
parent125c0a08265b75a133644d3b55f47e37c919f45d (diff)
downloadtdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.tar.gz
tdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.zip
Moved kpilot from kdepim to applications, as the core Trinity libraries should not contain hardware-dependent software
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1221127 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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()