summaryrefslogtreecommitdiffstats
path: root/kommander/editor/propertyeditor.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:24:43 -0600
committerSlávek Banko <slavek.banko@axis.cz>2012-06-19 19:42:58 +0200
commit44b195a5922fe83a0769b971e8805cd2d3b5450e (patch)
tree5c21414324c577cd4b13a13b51a0c37a57d6cd1b /kommander/editor/propertyeditor.cpp
parent39356ff58b6a5a76b0ee7fa85c538598ededdeff (diff)
downloadtdewebdev-44b195a5922fe83a0769b971e8805cd2d3b5450e.tar.gz
tdewebdev-44b195a5922fe83a0769b971e8805cd2d3b5450e.zip
Rename obsolete tq methods to standard names
(cherry picked from commit b0f531735b0175ba112ceb87d01731a7b2334772)
Diffstat (limited to 'kommander/editor/propertyeditor.cpp')
-rw-r--r--kommander/editor/propertyeditor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kommander/editor/propertyeditor.cpp b/kommander/editor/propertyeditor.cpp
index 8c68ed5e..fdc3a8dc 100644
--- a/kommander/editor/propertyeditor.cpp
+++ b/kommander/editor/propertyeditor.cpp
@@ -282,7 +282,7 @@ void PropertyItem::paintBranches( TQPainter * p, const TQColorGroup & cg,
void PropertyItem::paintFocus( TQPainter *p, const TQColorGroup &cg, const TQRect &r )
{
p->save();
- TQApplication::tqstyle().tqdrawPrimitive(TQStyle::PE_Panel, p, r, cg,
+ TQApplication::style().tqdrawPrimitive(TQStyle::PE_Panel, p, r, cg,
TQStyle::Style_Sunken, TQStyleOption(1,1) );
p->restore();
}
@@ -398,7 +398,7 @@ void PropertyItem::createResetButton()
resetButton = new TQPushButton( hbox );
resetButton->setPixmap( PixmapChooser::loadPixmap( "resetproperty.xpm", PixmapChooser::Mini ) );
resetButton->setFixedWidth( resetButton->sizeHint().width() );
- hbox->tqlayout()->setAlignment( TQt::AlignRight );
+ hbox->layout()->setAlignment( TQt::AlignRight );
listview->addChild( hbox );
hbox->hide();
TQObject::connect( resetButton, TQT_SIGNAL( clicked() ),