summaryrefslogtreecommitdiffstats
path: root/khexedit/hexmanagerwidget.cc
diff options
context:
space:
mode:
Diffstat (limited to 'khexedit/hexmanagerwidget.cc')
-rw-r--r--khexedit/hexmanagerwidget.cc16
1 files changed, 8 insertions, 8 deletions
diff --git a/khexedit/hexmanagerwidget.cc b/khexedit/hexmanagerwidget.cc
index 2d4fa31..0059c0a 100644
--- a/khexedit/hexmanagerwidget.cc
+++ b/khexedit/hexmanagerwidget.cc
@@ -19,7 +19,7 @@
*/
#include <klocale.h>
-#include <layout.h>
+#include <tqlayout.h>
#include "hexmanagerwidget.h"
#include "searchbar.h"
@@ -70,7 +70,7 @@ void CHexManagerWidget::updateLayout( void )
{
if( mValid == false ) { return; }
- delete layout();
+ delete tqlayout();
TQVBoxLayout *vlay = new TQVBoxLayout( this, 0, 0 );
if( mSearchBar && mSearchBarPosition == AboveEditor )
@@ -126,19 +126,19 @@ void CHexManagerWidget::setConversionVisibility( EConversionPosition position )
else if( mConversionPosition == Float )
{
TQPoint point = mapToGlobal( TQPoint(0,0) );
- TQRect rect = geometry();
+ TQRect rect = tqgeometry();
TQPoint p;
- p.setX(point.x() + rect.width()/2 - mConverter->minimumSize().width()/2);
- p.setY(point.y() + rect.height()/2 - mConverter->minimumSize().height()/2);
- mConverter->resize( mConverter->minimumSize() );
+ p.setX(point.x() + rect.width()/2 - mConverter->tqminimumSize().width()/2);
+ p.setY(point.y() + rect.height()/2 - mConverter->tqminimumSize().height()/2);
+ mConverter->resize( mConverter->tqminimumSize() );
mConverter->reparent( 0, WStyle_Customize | WStyle_DialogBorder, p, true );
mConverter->setCaption(kapp->makeStdCaption(i18n("Conversion")));
}
else
{
mConversionPosition = Embed;
- uint utilHeight = mConverter->minimumSize().height();
+ uint utilHeight = mConverter->tqminimumSize().height();
TQPoint p( 0, height() - utilHeight );
mConverter->reparent( this, 0, p, true );
}
@@ -250,7 +250,7 @@ int CHexManagerWidget::preferredWidth( void )
int w = mEditor->defaultTextWidth();
if( mConversionPosition == Embed )
{
- int converterWidth = mConverter->sizeHint().width();
+ int converterWidth = mConverter->tqsizeHint().width();
w = TQMAX( w, converterWidth );
}
return( w );