summaryrefslogtreecommitdiffstats
path: root/kdevdesigner/designer/popupmenueditor.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:24:21 -0600
committerSlávek Banko <slavek.banko@axis.cz>2012-06-23 19:35:21 +0200
commit39d7cb00553d01cea32bfd52fa406aac15742ba0 (patch)
tree5c385fb00eec3e82327af85dca39e730faa5cebe /kdevdesigner/designer/popupmenueditor.cpp
parentec049c7c32d50faf317b13d5c844a19978881fc3 (diff)
downloadtdevelop-39d7cb00553d01cea32bfd52fa406aac15742ba0.tar.gz
tdevelop-39d7cb00553d01cea32bfd52fa406aac15742ba0.zip
Rename obsolete tq methods to standard names
(cherry picked from commit abcbb684982167791304dc2fe0bc979489506b43)
Diffstat (limited to 'kdevdesigner/designer/popupmenueditor.cpp')
-rw-r--r--kdevdesigner/designer/popupmenueditor.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kdevdesigner/designer/popupmenueditor.cpp b/kdevdesigner/designer/popupmenueditor.cpp
index c9575f23..ab6e6d97 100644
--- a/kdevdesigner/designer/popupmenueditor.cpp
+++ b/kdevdesigner/designer/popupmenueditor.cpp
@@ -730,7 +730,7 @@ void PopupMenuEditor::paintEvent( TQPaintEvent * )
rect().width() - borderSize * 2, rect().height() - borderSize * 2 );
reg -= mid;
p.setClipRegion( reg );
- tqstyle().tqdrawPrimitive( TQStyle::PE_PanelPopup, &p, rect(), colorGroup() );
+ style().tqdrawPrimitive( TQStyle::PE_PanelPopup, &p, rect(), colorGroup() );
p.restore();
drawItems( &p );
}
@@ -1034,7 +1034,7 @@ void PopupMenuEditor::drawItem( TQPainter * p, PopupMenuEditorItem * i,
p->fillRect( r, colorGroup().brush( TQColorGroup::Background ) );
if ( i->isSeparator() ) {
- tqstyle().tqdrawPrimitive( TQStyle::PE_Separator, p,
+ style().tqdrawPrimitive( TQStyle::PE_Separator, p,
TQRect( r.x(), r.y() + 2, r.width(), 1 ),
colorGroup(), TQStyle::Style_Sunken | f );
return;
@@ -1042,7 +1042,7 @@ void PopupMenuEditor::drawItem( TQPainter * p, PopupMenuEditorItem * i,
const TQAction * a = i->action();
if ( a->isToggleAction() && a->isOn() ) {
- tqstyle().tqdrawPrimitive( TQStyle::PE_CheckMark, p,
+ style().tqdrawPrimitive( TQStyle::PE_CheckMark, p,
TQRect( x , y, iconWidth, h ),
colorGroup(), f );
} else {
@@ -1064,7 +1064,7 @@ void PopupMenuEditor::drawItem( TQPainter * p, PopupMenuEditorItem * i,
TQPainter::AlignLeft | TQPainter::AlignVCenter,
a->accel() );
if ( i->count() ) // Item has submenu
- tqstyle().tqdrawPrimitive( TQStyle::PE_ArrowRight, p,
+ style().tqdrawPrimitive( TQStyle::PE_ArrowRight, p,
TQRect( r.width() - arrowWidth, r.y(), arrowWidth, r.height() ),
colorGroup(), f );
}
@@ -1093,7 +1093,7 @@ void PopupMenuEditor::drawItems( TQPainter * p )
int idx = 0;
TQColorGroup enabled = colorGroup();
- TQColorGroup disabled = tqpalette().disabled();
+ TQColorGroup disabled = palette().disabled();
TQRect focus;
TQRect rect( borderSize, borderSize, width() - borderSize * 2, 0 );