summaryrefslogtreecommitdiffstats
path: root/kpovmodeler/pmvectorlistedit.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-15 15:47:59 -0600
committerTimothy Pearson <[email protected]>2011-12-15 15:47:59 -0600
commitc2637a0da6d9a1c8626ca39f8451ab3b7cda487a (patch)
treebe38034f085e8be24f14f329f87a611d319e6259 /kpovmodeler/pmvectorlistedit.cpp
parent3fd343f2c6b0545bd750b2939c74be3834b13274 (diff)
downloadtdegraphics-c2637a0da6d9a1c8626ca39f8451ab3b7cda487a.tar.gz
tdegraphics-c2637a0da6d9a1c8626ca39f8451ab3b7cda487a.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kpovmodeler/pmvectorlistedit.cpp')
-rw-r--r--kpovmodeler/pmvectorlistedit.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kpovmodeler/pmvectorlistedit.cpp b/kpovmodeler/pmvectorlistedit.cpp
index fed18026..4d785b52 100644
--- a/kpovmodeler/pmvectorlistedit.cpp
+++ b/kpovmodeler/pmvectorlistedit.cpp
@@ -20,7 +20,7 @@
#include <tqheader.h>
#include <tqapplication.h>
-#include <tqpalette.h>
+#include <palette.h>
#include <tqpainter.h>
#include <kmessagebox.h>
#include <klocale.h>
@@ -53,7 +53,7 @@ void PMTableItem::paint( TQPainter* p, const TQColorGroup& cg,
else
p->setPen( cg.text( ) );
p->drawText( x + 2, 0, w - x - 4, h,
- wordWrap( ) ? ( tqalignment( ) | WordBreak ) : tqalignment( ), text( ) );
+ wordWrap( ) ? ( alignment( ) | WordBreak ) : alignment( ), text( ) );
}
*/
@@ -121,7 +121,7 @@ void PMVectorListEdit::init( int dimensions )
setColumnStretchable( i, true );
connect( this, TQT_SIGNAL( valueChanged( int, int ) ),
TQT_SLOT( slotTextChanged( int, int ) ) );
- tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Preferred, TQSizePolicy::Fixed ) );
+ setSizePolicy( TQSizePolicy( TQSizePolicy::Preferred, TQSizePolicy::Fixed ) );
}
void PMVectorListEdit::setVectors( const TQValueList<PMVector>& l,
@@ -256,7 +256,7 @@ void PMVectorListEdit::setLink( int p1, int p2 )
if( p2 >= 0 )
{
m_disabled[p2] = true;
- str = TQString( "%1 (=%2)" ).tqarg( p2 + 1 ).tqarg( p1 + 1 );
+ str = TQString( "%1 (=%2)" ).arg( p2 + 1 ).arg( p1 + 1 );
h->setLabel( p2, str );
if( !isReadOnly( ) )
setRowReadOnly( p2, true );
@@ -315,11 +315,11 @@ bool PMVectorListEdit::isDataValid( )
return valid;
}
-TQSize PMVectorListEdit::tqsizeHint( ) const
+TQSize PMVectorListEdit::sizeHint( ) const
{
return TQSize( c_columnWidth * m_dimension + frameWidth( ) * 2,
frameWidth( ) * 2 + horizontalHeader( )->height( )
- + verticalHeader( )->tqsizeHint( ).height( ) );
+ + verticalHeader( )->sizeHint( ).height( ) );
}
void PMVectorListEdit::slotTextChanged( int, int )