diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-21 14:23:31 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-21 14:23:31 -0600 |
commit | 36b1e019b76f39cca8fc81f6d4df544f1c94c179 (patch) | |
tree | 3ca2f4886d1a2810b952164dd1b0f3e92ef6bf3a /kompare/libdialogpages/viewpage.cpp | |
parent | f78838f2f736acc2b235d8b680f3379a07a6d372 (diff) | |
download | tdesdk-36b1e019b76f39cca8fc81f6d4df544f1c94c179.tar.gz tdesdk-36b1e019b76f39cca8fc81f6d4df544f1c94c179.zip |
Rename obsolete tq methods to standard names
Diffstat (limited to 'kompare/libdialogpages/viewpage.cpp')
-rw-r--r-- | kompare/libdialogpages/viewpage.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/kompare/libdialogpages/viewpage.cpp b/kompare/libdialogpages/viewpage.cpp index 8a9f286e..1deb9e21 100644 --- a/kompare/libdialogpages/viewpage.cpp +++ b/kompare/libdialogpages/viewpage.cpp @@ -36,20 +36,20 @@ ViewPage::ViewPage( TQWidget* parent ) : PageBase( parent ) { TQWidget* page; - TQVBoxLayout* tqlayout; + TQVBoxLayout* layout; TQGroupBox* colorGroupBox; TQHGroupBox* snolGroupBox; TQHGroupBox* tabGroupBox; TQLabel* label; page = new TQWidget( this ); - tqlayout = new TQVBoxLayout( page ); - tqlayout->setSpacing( KDialog::spacingHint() ); - tqlayout->setMargin( KDialog::marginHint() ); + layout = new TQVBoxLayout( page ); + layout->setSpacing( KDialog::spacingHint() ); + layout->setMargin( KDialog::marginHint() ); // add a groupbox colorGroupBox = new TQGroupBox( 2, Qt::Horizontal, i18n( "Colors" ), page ); - tqlayout->addWidget( colorGroupBox ); + layout->addWidget( colorGroupBox ); colorGroupBox->setMargin( KDialog::marginHint() ); // add the removeColor @@ -74,7 +74,7 @@ ViewPage::ViewPage( TQWidget* parent ) : PageBase( parent ) // scroll number of lines (snol) snolGroupBox = new TQHGroupBox( i18n( "Mouse Wheel" ), page ); - tqlayout->addWidget( snolGroupBox ); + layout->addWidget( snolGroupBox ); snolGroupBox->setMargin( KDialog::marginHint() ); label = new TQLabel( i18n( "Number of lines:" ), snolGroupBox ); @@ -84,25 +84,25 @@ ViewPage::ViewPage( TQWidget* parent ) : PageBase( parent ) // Temporarily here for testing... // number of spaces for a tab character stuff tabGroupBox = new TQHGroupBox( i18n( "Tabs to Spaces" ), page ); - tqlayout->addWidget( tabGroupBox ); + layout->addWidget( tabGroupBox ); tabGroupBox->setMargin( KDialog::marginHint() ); label = new TQLabel( i18n( "Number of spaces to convert a tab character to:" ), tabGroupBox ); m_tabSpinBox = new TQSpinBox( 1, 16, 1, tabGroupBox ); label->setBuddy( m_tabSpinBox ); - tqlayout->addStretch( 1 ); + layout->addStretch( 1 ); page->setMinimumSize( sizeHintForWidget( page ) ); addTab( page, i18n( "A&ppearance" ) ); page = new TQWidget( this ); - tqlayout = new TQVBoxLayout( page ); - tqlayout->setSpacing( KDialog::spacingHint() ); - tqlayout->setMargin( KDialog::marginHint() ); + layout = new TQVBoxLayout( page ); + layout->setSpacing( KDialog::spacingHint() ); + layout->setMargin( KDialog::marginHint() ); TQHGroupBox* gb = new TQHGroupBox( i18n( "Text Font" ), page ); - tqlayout->addWidget( gb ); + layout->addWidget( gb ); gb->setMargin( KDialog::marginHint() ); label = new TQLabel( i18n( "Font:" ), gb ); @@ -113,7 +113,7 @@ ViewPage::ViewPage( TQWidget* parent ) : PageBase( parent ) m_fontSizeSpinBox = new TQSpinBox( 6, 24, 1, gb, "fontsize" ); label->setBuddy( m_fontSizeSpinBox ); - tqlayout->addStretch( 1 ); + layout->addStretch( 1 ); page->setMinimumSize( sizeHintForWidget( page ) ); addTab( page, i18n( "&Fonts" ) ); |