summaryrefslogtreecommitdiffstats
path: root/src/languageselectwidget.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:24:21 -0600
committerSlávek Banko <slavek.banko@axis.cz>2012-06-23 19:35:21 +0200
commit39d7cb00553d01cea32bfd52fa406aac15742ba0 (patch)
tree5c385fb00eec3e82327af85dca39e730faa5cebe /src/languageselectwidget.cpp
parentec049c7c32d50faf317b13d5c844a19978881fc3 (diff)
downloadtdevelop-39d7cb00553d01cea32bfd52fa406aac15742ba0.tar.gz
tdevelop-39d7cb00553d01cea32bfd52fa406aac15742ba0.zip
Rename obsolete tq methods to standard names
(cherry picked from commit abcbb684982167791304dc2fe0bc979489506b43)
Diffstat (limited to 'src/languageselectwidget.cpp')
-rw-r--r--src/languageselectwidget.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/languageselectwidget.cpp b/src/languageselectwidget.cpp
index f1d38860..e22e6dfb 100644
--- a/src/languageselectwidget.cpp
+++ b/src/languageselectwidget.cpp
@@ -60,13 +60,13 @@ LanguageSelectWidget::LanguageSelectWidget(TQDomDocument &projectDom,
void LanguageSelectWidget::init()
{
- TQVBoxLayout *tqlayout = new TQVBoxLayout(this);
+ TQVBoxLayout *layout = new TQVBoxLayout(this);
TQGroupBox * groupBox1 = new TQGroupBox( i18n("Additional Language Support"), this );
groupBox1->setColumnLayout(0, Qt::Vertical );
- groupBox1->tqlayout()->setSpacing( 6 );
- groupBox1->tqlayout()->setMargin( 11 );
- TQVBoxLayout * groupBox1Layout = new TQVBoxLayout( groupBox1->tqlayout() );
+ groupBox1->layout()->setSpacing( 6 );
+ groupBox1->layout()->setMargin( 11 );
+ TQVBoxLayout * groupBox1Layout = new TQVBoxLayout( groupBox1->layout() );
groupBox1Layout->setAlignment( TQt::AlignTop );
_currentLanguage = new TQLabel( "", groupBox1 );
@@ -78,13 +78,13 @@ void LanguageSelectWidget::init()
groupBox1Layout->addWidget(_currentLanguage);
groupBox1Layout->addWidget( _pluginList );
- tqlayout->addWidget( groupBox1 );
+ layout->addWidget( groupBox1 );
TQGroupBox * groupBox2 = new TQGroupBox( i18n("Description"), this );
groupBox2->setColumnLayout(0, Qt::Vertical );
- groupBox2->tqlayout()->setSpacing( 6 );
- groupBox2->tqlayout()->setMargin( 11 );
- TQVBoxLayout * groupBox2Layout = new TQVBoxLayout( groupBox2->tqlayout() );
+ groupBox2->layout()->setSpacing( 6 );
+ groupBox2->layout()->setMargin( 11 );
+ TQVBoxLayout * groupBox2Layout = new TQVBoxLayout( groupBox2->layout() );
groupBox2Layout->setAlignment( TQt::AlignTop );
_pluginDescription = new TQLabel( groupBox2 );
@@ -92,7 +92,7 @@ void LanguageSelectWidget::init()
groupBox2Layout->addWidget( _pluginDescription );
- tqlayout->addWidget( groupBox2 );
+ layout->addWidget( groupBox2 );
connect( _pluginList, TQT_SIGNAL( selectionChanged( TQListViewItem * ) ), this, TQT_SLOT( itemSelected( TQListViewItem * ) ) );