diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:35:10 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-20 05:10:16 +0200 |
commit | 5fcaf38922885bbb138ba17ff7d2e9ec9ad0c0c2 (patch) | |
tree | 4d54dd823cb40aaaa4aa3b41e2169a97472b6ff5 /kompare/libdialogpages | |
parent | 1a3af445fb662a07622941caf81e368c8408b192 (diff) | |
download | tdesdk-5fcaf38922885bbb138ba17ff7d2e9ec9ad0c0c2.tar.gz tdesdk-5fcaf38922885bbb138ba17ff7d2e9ec9ad0c0c2.zip |
Rename old tq methods that no longer need a unique name
(cherry picked from commit 1dd83e5f38d1c16d3e6da18d0caca0ee093ab58f)
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) |