diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:55:47 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:55:47 -0600 |
commit | 650b58e8e66f8e3e1cf78ee3e0037f4c9e00699a (patch) | |
tree | bb4714865b78e327620ce86a37241ed22df43afa /src/k3bthemedheader.cpp | |
parent | ef5831dd5c8811c94c9b1bc1377a90174d17c82c (diff) | |
download | k3b-650b58e8e66f8e3e1cf78ee3e0037f4c9e00699a.tar.gz k3b-650b58e8e66f8e3e1cf78ee3e0037f4c9e00699a.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit ef5831dd5c8811c94c9b1bc1377a90174d17c82c.
Diffstat (limited to 'src/k3bthemedheader.cpp')
-rw-r--r-- | src/k3bthemedheader.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/k3bthemedheader.cpp b/src/k3bthemedheader.cpp index 0a0dc01..45796db 100644 --- a/src/k3bthemedheader.cpp +++ b/src/k3bthemedheader.cpp @@ -20,7 +20,7 @@ #include <k3btitlelabel.h> #include <tqlabel.h> -#include <layout.h> +#include <tqlayout.h> K3bThemedHeader::K3bThemedHeader( TQWidget* parent ) @@ -71,9 +71,9 @@ void K3bThemedHeader::setRightPixmap( K3bTheme::PixmapType p ) } -void K3bThemedHeader::setAlignment( int align ) +void K3bThemedHeader::tqsetAlignment( int align ) { - m_titleLabel->setAlignment( align ); + m_titleLabel->tqsetAlignment( align ); } @@ -84,9 +84,9 @@ void K3bThemedHeader::init() setLineWidth( 1 ); setMargin( 1 ); - TQHBoxLayout* layout = new TQHBoxLayout( this ); - layout->setMargin( 2 ); // to make sure the frame gets displayed - layout->setSpacing( 0 ); + TQHBoxLayout* tqlayout = new TQHBoxLayout( this ); + tqlayout->setMargin( 2 ); // to make sure the frame gets displayed + tqlayout->setSpacing( 0 ); m_leftLabel = new TQLabel( this ); m_leftLabel->setScaledContents( false ); @@ -94,10 +94,10 @@ void K3bThemedHeader::init() m_rightLabel = new TQLabel( this ); m_rightLabel->setScaledContents( false ); - layout->addWidget( m_leftLabel ); - layout->addWidget( m_titleLabel ); - layout->setStretchFactor( m_titleLabel, 1 ); - layout->addWidget( m_rightLabel ); + tqlayout->addWidget( m_leftLabel ); + tqlayout->addWidget( m_titleLabel ); + tqlayout->setStretchFactor( m_titleLabel, 1 ); + tqlayout->addWidget( m_rightLabel ); m_leftPix = K3bTheme::DIALOG_LEFT; m_rightPix = K3bTheme::DIALOG_RIGHT; |