summaryrefslogtreecommitdiffstats
path: root/khexedit/hexmanagerwidget.cc
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 10:00:17 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 10:00:17 -0600
commit955e20356d63ed405198c8143617a8a0ca8bfc02 (patch)
tree9a9ab22c86d212a5655014ad752e96b04c0c86a9 /khexedit/hexmanagerwidget.cc
parentbf280726d5d22f33d33e4f9e771220c725249407 (diff)
downloadtdeutils-955e20356d63ed405198c8143617a8a0ca8bfc02.tar.gz
tdeutils-955e20356d63ed405198c8143617a8a0ca8bfc02.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit bf280726d5d22f33d33e4f9e771220c725249407.
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 );