diff options
| author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-21 14:24:21 -0600 |
|---|---|---|
| committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-23 19:35:21 +0200 |
| commit | 39d7cb00553d01cea32bfd52fa406aac15742ba0 (patch) | |
| tree | 5c385fb00eec3e82327af85dca39e730faa5cebe /parts/replace/replaceitem.cpp | |
| parent | ec049c7c32d50faf317b13d5c844a19978881fc3 (diff) | |
| download | tdevelop-39d7cb00553d01cea32bfd52fa406aac15742ba0.tar.gz tdevelop-39d7cb00553d01cea32bfd52fa406aac15742ba0.zip | |
Rename obsolete tq methods to standard names
(cherry picked from commit abcbb684982167791304dc2fe0bc979489506b43)
Diffstat (limited to 'parts/replace/replaceitem.cpp')
| -rw-r--r-- | parts/replace/replaceitem.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/parts/replace/replaceitem.cpp b/parts/replace/replaceitem.cpp index b6ca0519..20471d67 100644 --- a/parts/replace/replaceitem.cpp +++ b/parts/replace/replaceitem.cpp @@ -90,7 +90,7 @@ void ReplaceItem::paintCell( TQPainter * p, const TQColorGroup & cg, int column, lv->paintEmptyArea( p, TQRect( 0, 0, width, height() ) ); TQFontMetrics fm( lv->fontMetrics() ); - int boxsize = lv->tqstyle().pixelMetric(TQStyle::PM_CheckListButtonSize, lv); + int boxsize = lv->style().pixelMetric(TQStyle::PM_CheckListButtonSize, lv); int marg = lv->itemMargin(); int r = marg; @@ -116,7 +116,7 @@ void ReplaceItem::paintCell( TQPainter * p, const TQColorGroup & cg, int column, else y = (fm.height() + 2 + marg - boxsize) / 2; - lv->tqstyle().tqdrawPrimitive(TQStyle::PE_CheckListIndicator, p, + lv->style().tqdrawPrimitive(TQStyle::PE_CheckListIndicator, p, TQRect(x, y, boxsize, fm.height() + 2 + marg), cg, styleflags, TQStyleOption(this)); |
