summaryrefslogtreecommitdiffstats
path: root/src/editor.cpp
diff options
context:
space:
mode:
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())));
}