summaryrefslogtreecommitdiffstats
path: root/src/editor.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:03:30 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:03:30 -0600
commitbdde494bd053ceca36163e9a03d74ec0734ad6ee (patch)
treefa85b1d565e6fa5ab9a4753d6af5afa9481e3c6d /src/editor.cpp
parentc9113d74fbb7e1e6b063915a0f6ac4a8a080b631 (diff)
downloadabakus-bdde494bd053ceca36163e9a03d74ec0734ad6ee.tar.gz
abakus-bdde494bd053ceca36163e9a03d74ec0734ad6ee.zip
Rename obsolete tq methods to standard names
Diffstat (limited to 'src/editor.cpp')
-rw-r--r--src/editor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/editor.cpp b/src/editor.cpp
index b9c8d00..b926e10 100644
--- a/src/editor.cpp
+++ b/src/editor.cpp
@@ -147,7 +147,7 @@ void ChoiceItem::paint( TQPainter* painter )
//int xPos = fm.width( item );
int xPos = TQMAX(fm.width(item), minNameWidth);
if( !isSelected() )
- painter->setPen( listBox()->tqpalette().disabled().text().dark() );
+ painter->setPen( listBox()->palette().disabled().text().dark() );
painter->drawText( 10 + xPos, yPos, desc );
}
@@ -268,7 +268,7 @@ TQSize Editor::sizeHint() const
int h = TQMAX(fm.lineSpacing(), 14);
int w = fm.width( 'x' ) * 20;
int m = frameWidth() * 2;
- return( tqstyle().tqsizeFromContents(TQStyle::CT_LineEdit, this,
+ return( style().tqsizeFromContents(TQStyle::CT_LineEdit, this,
TQSize( w + m, h + m + 4 ).
expandedTo(TQApplication::globalStrut())));
}