summaryrefslogtreecommitdiffstats
path: root/kpovmodeler/pmactions.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:31:39 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:31:39 -0600
commit45f529de247fc4b3662f6b474abe03fe904306ec (patch)
treed4b70147f7b0aeda4c1cb484553dc8ae048eb7ec /kpovmodeler/pmactions.cpp
parentec1fddcd0d6663ad273af85357f04abbc5689468 (diff)
downloadtdegraphics-45f529de247fc4b3662f6b474abe03fe904306ec.tar.gz
tdegraphics-45f529de247fc4b3662f6b474abe03fe904306ec.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'kpovmodeler/pmactions.cpp')
-rw-r--r--kpovmodeler/pmactions.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/kpovmodeler/pmactions.cpp b/kpovmodeler/pmactions.cpp
index 18af4c37..0229c518 100644
--- a/kpovmodeler/pmactions.cpp
+++ b/kpovmodeler/pmactions.cpp
@@ -29,7 +29,7 @@
#include "pmdebug.h"
// Fixed widths are calculated wrong in a toolbar.
-// Fixed tqsizeHint for the combo box to return
+// Fixed sizeHint for the combo box to return
// at least the minimum size
class PMComboBox : public TQComboBox
{
@@ -39,15 +39,15 @@ public:
{
}
- virtual TQSize tqminimumSizeHint( ) const
+ virtual TQSize minimumSizeHint( ) const
{
- TQSize s = TQComboBox::tqminimumSizeHint( );
- return s.expandedTo( tqminimumSize( ) );
+ TQSize s = TQComboBox::minimumSizeHint( );
+ return s.expandedTo( minimumSize( ) );
}
- virtual TQSize tqsizeHint( ) const
+ virtual TQSize sizeHint( ) const
{
- TQSize s = TQComboBox::tqsizeHint( );
- return s.expandedTo( tqminimumSize( ) );
+ TQSize s = TQComboBox::sizeHint( );
+ return s.expandedTo( minimumSize( ) );
}
};
@@ -126,7 +126,7 @@ public:
setText( text );
}
protected:
- TQSize tqsizeHint( ) const
+ TQSize sizeHint( ) const
{
int w = fontMetrics( ).width( text( ) );
int h = fontMetrics( ).height( );
@@ -135,10 +135,10 @@ protected:
void drawButton( TQPainter* p )
{
// Draw the background
- tqstyle( ).tqdrawComplexControl( TQStyle::CC_ToolButton, p, this, rect( ), tqcolorGroup( ),
+ tqstyle( ).drawComplexControl( TQStyle::CC_ToolButton, p, this, rect( ), colorGroup( ),
TQStyle::Style_Enabled, TQStyle::SC_ToolButton );
// Draw the label
- tqstyle( ).tqdrawControl( TQStyle::CE_ToolButtonLabel, p, this, rect( ), tqcolorGroup( ),
+ tqstyle( ).drawControl( TQStyle::CE_ToolButtonLabel, p, this, rect( ), colorGroup( ),
TQStyle::Style_Enabled );
}
};