summaryrefslogtreecommitdiffstats
path: root/ksirc/colorpicker.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:33:51 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:33:51 -0600
commit089118c18533dfa3e6ce5065dbebdd4db94051f1 (patch)
treece014fb2326a80fcfafa2362b7ff88486aa17c96 /ksirc/colorpicker.cpp
parent83677e35509b4dafac63b76995652bdf3b49f209 (diff)
downloadtdenetwork-089118c18533dfa3e6ce5065dbebdd4db94051f1.tar.gz
tdenetwork-089118c18533dfa3e6ce5065dbebdd4db94051f1.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'ksirc/colorpicker.cpp')
-rw-r--r--ksirc/colorpicker.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/ksirc/colorpicker.cpp b/ksirc/colorpicker.cpp
index be5fca73..5c88ccac 100644
--- a/ksirc/colorpicker.cpp
+++ b/ksirc/colorpicker.cpp
@@ -46,8 +46,8 @@ ColorPicker::ColorPicker( TQWidget *parent, const char *name )
m_sample = new TQLineEdit( i18n( "Sample Text" ), sampleBox );
m_sample->setFocusPolicy( TQ_NoFocus );
- m_sample->tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Minimum,
- m_sample->tqsizePolicy().verData() ) );
+ m_sample->setSizePolicy( TQSizePolicy( TQSizePolicy::Minimum,
+ m_sample->sizePolicy().verData() ) );
sampleLayout->addWidget( m_sample );
sampleLayout->addStretch();
@@ -111,7 +111,7 @@ void ColorPicker::setBackgroundColor( int col )
void ColorPicker::updateSample()
{
- TQColorGroup cg( tqcolorGroup() );
+ TQColorGroup cg( colorGroup() );
TQColor col = ksopts->textColor;
if ( m_foregroundColor != -1 )
@@ -270,7 +270,7 @@ void ColorBar::mouseReleaseEvent( TQMouseEvent *ev )
void ColorBar::updateCellSize()
{
- setLineWidth( tqstyle().tqpixelMetric( TQStyle::PM_DefaultFrameWidth, this ) );
+ setLineWidth( tqstyle().pixelMetric( TQStyle::PM_DefaultFrameWidth, this ) );
TQFontMetrics metrics( font() );