diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:35:10 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:35:10 -0600 |
commit | 1dd83e5f38d1c16d3e6da18d0caca0ee093ab58f (patch) | |
tree | 11037eed53e1cd90dad4e194f9dea542ad28607f /kompare/libdialogpages | |
parent | 3b34e5cf56262c9f54a3bcf02ee5ad93ca0fb05b (diff) | |
download | tdesdk-1dd83e5f38d1c16d3e6da18d0caca0ee093ab58f.tar.gz tdesdk-1dd83e5f38d1c16d3e6da18d0caca0ee093ab58f.zip |
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'kompare/libdialogpages')
-rw-r--r-- | kompare/libdialogpages/pagebase.cpp | 4 | ||||
-rw-r--r-- | kompare/libdialogpages/viewpage.cpp | 24 |
2 files changed, 14 insertions, 14 deletions
diff --git a/kompare/libdialogpages/pagebase.cpp b/kompare/libdialogpages/pagebase.cpp index 33c45dba..a2061a2b 100644 --- a/kompare/libdialogpages/pagebase.cpp +++ b/kompare/libdialogpages/pagebase.cpp @@ -36,7 +36,7 @@ PageBase::~PageBase() TQSize PageBase::sizeHintForWidget( TQWidget* widget ) { // - // The size is computed by adding the tqsizeHint().height() of all + // The size is computed by adding the sizeHint().height() of all // widget tqchildren and taking the width of the widest child and adding // tqlayout()->margin() and tqlayout()->spacing() // @@ -57,7 +57,7 @@ TQSize PageBase::sizeHintForWidget( TQWidget* widget ) numChild += 1; TQWidget *w=((TQWidget*)o); - TQSize s = w->tqsizeHint(); + TQSize s = w->sizeHint(); if( s.isEmpty() == true ) { s = TQSize( 50, 100 ); // Default size diff --git a/kompare/libdialogpages/viewpage.cpp b/kompare/libdialogpages/viewpage.cpp index 827e8a4d..8a9f286e 100644 --- a/kompare/libdialogpages/viewpage.cpp +++ b/kompare/libdialogpages/viewpage.cpp @@ -37,7 +37,7 @@ ViewPage::ViewPage( TQWidget* parent ) : PageBase( parent ) { TQWidget* page; TQVBoxLayout* tqlayout; - TQGroupBox* tqcolorGroupBox; + TQGroupBox* colorGroupBox; TQHGroupBox* snolGroupBox; TQHGroupBox* tabGroupBox; TQLabel* label; @@ -48,28 +48,28 @@ ViewPage::ViewPage( TQWidget* parent ) : PageBase( parent ) tqlayout->setMargin( KDialog::marginHint() ); // add a groupbox - tqcolorGroupBox = new TQGroupBox( 2, Qt::Horizontal, i18n( "Colors" ), page ); - tqlayout->addWidget( tqcolorGroupBox ); - tqcolorGroupBox->setMargin( KDialog::marginHint() ); + colorGroupBox = new TQGroupBox( 2, Qt::Horizontal, i18n( "Colors" ), page ); + tqlayout->addWidget( colorGroupBox ); + colorGroupBox->setMargin( KDialog::marginHint() ); // add the removeColor - label = new TQLabel( i18n( "Removed color:" ), tqcolorGroupBox ); - m_removedColorButton = new KColorButton( tqcolorGroupBox ); + label = new TQLabel( i18n( "Removed color:" ), colorGroupBox ); + m_removedColorButton = new KColorButton( colorGroupBox ); label->setBuddy( m_removedColorButton ); // add the changeColor - label = new TQLabel( i18n( "Changed color:" ), tqcolorGroupBox ); - m_changedColorButton = new KColorButton( tqcolorGroupBox ); + label = new TQLabel( i18n( "Changed color:" ), colorGroupBox ); + m_changedColorButton = new KColorButton( colorGroupBox ); label->setBuddy( m_changedColorButton ); // add the addColor - label = new TQLabel( i18n( "Added color:" ), tqcolorGroupBox ); - m_addedColorButton = new KColorButton( tqcolorGroupBox ); + label = new TQLabel( i18n( "Added color:" ), colorGroupBox ); + m_addedColorButton = new KColorButton( colorGroupBox ); label->setBuddy( m_addedColorButton ); // add the appliedColor - label = new TQLabel( i18n( "Applied color:" ), tqcolorGroupBox ); - m_appliedColorButton = new KColorButton( tqcolorGroupBox ); + label = new TQLabel( i18n( "Applied color:" ), colorGroupBox ); + m_appliedColorButton = new KColorButton( colorGroupBox ); label->setBuddy( m_appliedColorButton ); // scroll number of lines (snol) |