summaryrefslogtreecommitdiffstats
path: root/karbon/widgets/vcolorslider.cc
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-15 15:32:11 -0600
committerTimothy Pearson <[email protected]>2011-12-15 15:32:11 -0600
commit94844816550ad672ccfcdc25659c625546239998 (patch)
treee35fc60fd736c645d59f6408af032774ad8023d3 /karbon/widgets/vcolorslider.cc
parent2a811c38c74c03648ecf857e566c44483cbad706 (diff)
downloadkoffice-94844816550ad672ccfcdc25659c625546239998.tar.gz
koffice-94844816550ad672ccfcdc25659c625546239998.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'karbon/widgets/vcolorslider.cc')
-rw-r--r--karbon/widgets/vcolorslider.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/karbon/widgets/vcolorslider.cc b/karbon/widgets/vcolorslider.cc
index 3e2af4f0..6c32465e 100644
--- a/karbon/widgets/vcolorslider.cc
+++ b/karbon/widgets/vcolorslider.cc
@@ -20,7 +20,7 @@
/* vcolorslider.cc */
-#include <tqlayout.h>
+#include <layout.h>
#include <tqlabel.h>
#include <knuminput.h>
#include <kselect.h>
@@ -53,15 +53,15 @@ VColorSlider::~VColorSlider()
void VColorSlider::init()
{
m_isDragging = false;
- TQHBoxLayout *tqlayout = new TQHBoxLayout( this, 3 );
+ TQHBoxLayout *layout = new TQHBoxLayout( this, 3 );
m_label = new TQLabel( this );
m_gradientSelect = new KGradientSelector( Qt::Horizontal, this );
m_spinBox = new KIntSpinBox( this );
- tqlayout->addWidget( m_label );
- tqlayout->addWidget( m_gradientSelect, 2 );
- tqlayout->addWidget( m_spinBox );
+ layout->addWidget( m_label );
+ layout->addWidget( m_gradientSelect, 2 );
+ layout->addWidget( m_spinBox );
setValue( 0 );
setMinValue( 0 );
@@ -72,7 +72,7 @@ void VColorSlider::init()
m_gradientSelect->installEventFilter( this );
- tqlayout->activate();
+ layout->activate();
}
void VColorSlider::setLabel( const TQString& label )