diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:59:50 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:59:50 -0600 |
commit | 9cc13dcbb01a96c9e60a07ca63c61d24b374f50d (patch) | |
tree | ab537a329b9613e11dce8195761f93ffe82aed24 /korganizer/kodaymatrix.cpp | |
parent | 3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12 (diff) | |
download | tdepim-9cc13dcbb01a96c9e60a07ca63c61d24b374f50d.tar.gz tdepim-9cc13dcbb01a96c9e60a07ca63c61d24b374f50d.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12.
Diffstat (limited to 'korganizer/kodaymatrix.cpp')
-rw-r--r-- | korganizer/kodaymatrix.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/korganizer/kodaymatrix.cpp b/korganizer/kodaymatrix.cpp index 1ced5338e..0e921e440 100644 --- a/korganizer/kodaymatrix.cpp +++ b/korganizer/kodaymatrix.cpp @@ -57,7 +57,7 @@ #undef FocusIn #undef KeyPress #undef None -#undef Status +#undef tqStatus #endif // ============================================================================ @@ -214,9 +214,9 @@ void KODayMatrix::recalculateToday() mDayLabels[ i ] = TQString::number( KOGlobals::self()->calendarSystem()->day( mDays[i] )); // if today is in the currently displayed month, hilight today - if ( mDays[ i ].year() == TQDate::currentDate().year() && - mDays[ i ].month() == TQDate::currentDate().month() && - mDays[ i ].day() == TQDate::currentDate().day() ) { + if ( mDays[ i ].year() == TQDate::tqcurrentDate().year() && + mDays[ i ].month() == TQDate::tqcurrentDate().month() && + mDays[ i ].day() == TQDate::tqcurrentDate().day() ) { mToday = i; } } @@ -386,15 +386,15 @@ void KODayMatrix::mouseReleaseEvent( TQMouseEvent *e ) mSelEnd = mSelInit; if (tmp != mSelStart) { mSelStart = tmp; - repaint(); + tqrepaint(); } } else { mSelStart = mSelInit; - //repaint only if selection has changed + //tqrepaint only if selection has changed if (tmp != mSelEnd) { mSelEnd = tmp; - repaint(); + tqrepaint(); } } @@ -415,15 +415,15 @@ void KODayMatrix::mouseMoveEvent( TQMouseEvent *e ) mSelEnd = mSelInit; if ( tmp != mSelStart ) { mSelStart = tmp; - repaint(); + tqrepaint(); } } else { mSelStart = mSelInit; - //repaint only if selection has changed + //tqrepaint only if selection has changed if ( tmp != mSelEnd ) { mSelEnd = tmp; - repaint(); + tqrepaint(); } } } @@ -562,9 +562,9 @@ void KODayMatrix::paintEvent( TQPaintEvent * ) int selw, selh; bool isRTL = KOGlobals::self()->reverseLayout(); - TQColorGroup cg = palette().active(); + TQColorGroup cg = tqpalette().active(); - p.begin( &pm, this ); + p.tqbegin( &pm, this ); pm.fill( cg.base() ); // draw topleft frame |