diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-21 14:20:25 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-04 04:36:05 +0200 |
commit | 7e5586b24f4a2924cbf3303e434b941e25e3b4d2 (patch) | |
tree | 3b87ee1c5d17276ec042ea3c06f517167ec1fe14 /libkdeedu/extdate/extdatetimeedit.cpp | |
parent | 3fa570c72df3bf358988b8ce3f019bb7224c380e (diff) | |
download | tdeedu-7e5586b24f4a2924cbf3303e434b941e25e3b4d2.tar.gz tdeedu-7e5586b24f4a2924cbf3303e434b941e25e3b4d2.zip |
Rename obsolete tq methods to standard names
(cherry picked from commit ba6b21419810544e0c8666969d21d72161d9084c)
Diffstat (limited to 'libkdeedu/extdate/extdatetimeedit.cpp')
-rw-r--r-- | libkdeedu/extdate/extdatetimeedit.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libkdeedu/extdate/extdatetimeedit.cpp b/libkdeedu/extdate/extdatetimeedit.cpp index b2468107..bc64c6ed 100644 --- a/libkdeedu/extdate/extdatetimeedit.cpp +++ b/libkdeedu/extdate/extdatetimeedit.cpp @@ -436,7 +436,7 @@ void ExtDateTimeEditor::paintEvent( TQPaintEvent * ) colorGroup().brush( isEnabled() ? TQColorGroup::Base : TQColorGroup::Background ); buffer.painter()->fillRect( 0, 0, width(), height(), bg ); d->paint( txt, hasFocus(), *buffer.painter(), colorGroup(), rect(), - tqstyle() ); + style() ); buffer.end(); } @@ -974,7 +974,7 @@ TQSize ExtDateEdit::sizeHint() const { constPolish(); TQFontMetrics fm( font() ); - int fw = tqstyle().pixelMetric( TQStyle::PM_DefaultFrameWidth, this ); + int fw = style().pixelMetric( TQStyle::PM_DefaultFrameWidth, this ); int h = TQMAX( fm.lineSpacing(), 14 ) + 2; int w = 2 + fm.width( '9' ) * 8 + fm.width( d->ed->separator() ) * 2 + d->controls->upRect().width() + fw * 4; @@ -2434,7 +2434,7 @@ public: // { // constPolish(); // TQFontMetrics fm( font() ); -// int fw = tqstyle().pixelMetric( TQStyle::PM_DefaultFrameWidth, this ); +// int fw = style().pixelMetric( TQStyle::PM_DefaultFrameWidth, this ); // int h = fm.lineSpacing() + 2; // int w = 2 + fm.width( '9' ) * 6 + fm.width( d->ed->separator() ) * 2 + // d->controls->upRect().width() + fw * 4; |