summaryrefslogtreecommitdiffstats
path: root/kdevdesigner/designer/menubareditor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdevdesigner/designer/menubareditor.cpp')
-rw-r--r--kdevdesigner/designer/menubareditor.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kdevdesigner/designer/menubareditor.cpp b/kdevdesigner/designer/menubareditor.cpp
index 550c9b60..498c6827 100644
--- a/kdevdesigner/designer/menubareditor.cpp
+++ b/kdevdesigner/designer/menubareditor.cpp
@@ -74,7 +74,7 @@ bool MenuBarEditorItemPtrDrag::canDecode( TQDragMoveEvent * e )
bool MenuBarEditorItemPtrDrag::decode( TQDropEvent * e, MenuBarEditorItem ** i )
{
- TQByteArray data = e->encodedData( "qt/menubareditoritemptr" );
+ TQByteArray data = e->tqencodedData( "qt/menubareditoritemptr" );
TQDataStream stream( data, IO_ReadOnly );
if ( !data.size() )
@@ -502,7 +502,7 @@ void MenuBarEditor::deleteItem( int index )
}
}
-TQSize MenuBarEditor::sizeHint() const
+TQSize MenuBarEditor::tqsizeHint() const
{
return TQSize( parentWidget()->width(), heightForWidth( parentWidget()->width() ) );
}
@@ -576,7 +576,7 @@ bool MenuBarEditor::eventFilter( TQObject * o, TQEvent * e )
lineEdit->hide();
update();
} else if ( e->type() == TQEvent::LayoutHint ) {
- resize( sizeHint() );
+ resize( tqsizeHint() );
}
return TQMenuBar::eventFilter( o, e );
}
@@ -586,7 +586,7 @@ void MenuBarEditor::paintEvent( TQPaintEvent * )
TQPainter p( this );
TQRect r = rect();
tqstyle().tqdrawPrimitive( TQStyle::PE_PanelMenuBar, &p,
- r, colorGroup() );
+ r, tqcolorGroup() );
drawItems( p );
}
@@ -817,7 +817,7 @@ void MenuBarEditor::keyPressEvent( TQKeyEvent * e )
void MenuBarEditor::focusOutEvent( TQFocusEvent * e )
{
- TQWidget * fw = tqApp->focusWidget();
+ TQWidget * fw = tqApp->tqfocusWidget();
if ( e->lostFocus() && !::tqqt_cast<PopupMenuEditor*>(fw) )
hideItem();
update();
@@ -834,7 +834,7 @@ void MenuBarEditor::drawItems( TQPainter & p )
TQPoint pos( borderSize(), 0 );
uint c = 0;
- p.setPen( colorGroup().buttonText() );
+ p.setPen( tqcolorGroup().buttonText() );
MenuBarEditorItem * i = itemList.first();
while ( i ) {