summaryrefslogtreecommitdiffstats
path: root/buildtools/lib/widgets/addenvvardlg.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 /buildtools/lib/widgets/addenvvardlg.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 'buildtools/lib/widgets/addenvvardlg.cpp')
-rw-r--r--buildtools/lib/widgets/addenvvardlg.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/buildtools/lib/widgets/addenvvardlg.cpp b/buildtools/lib/widgets/addenvvardlg.cpp
index 43033d97..89d7f655 100644
--- a/buildtools/lib/widgets/addenvvardlg.cpp
+++ b/buildtools/lib/widgets/addenvvardlg.cpp
@@ -47,10 +47,10 @@ AddEnvvarDialog::AddEnvvarDialog(TQWidget *parent, const char *name)
connect( value_edit, TQT_SIGNAL( textChanged ( const TQString & ) ), this, TQT_SLOT( slotTextChanged() ) );
- TQVBoxLayout *tqlayout = new TQVBoxLayout(this, 10);
+ TQVBoxLayout *layout = new TQVBoxLayout(this, 10);
TQGridLayout *grid = new TQGridLayout(2, 2);
- tqlayout->addLayout(grid);
+ layout->addLayout(grid);
grid->addWidget(varname_label, 0, 0);
grid->addWidget(varname_edit, 0, 1);
grid->addWidget(value_label, 1, 0);
@@ -58,7 +58,7 @@ AddEnvvarDialog::AddEnvvarDialog(TQWidget *parent, const char *name)
TQFrame *frame = new TQFrame(this);
frame->setFrameStyle(TQFrame::HLine | TQFrame::Sunken);
- tqlayout->addWidget(frame, 0);
+ layout->addWidget(frame, 0);
KButtonBox *buttonbox = new KButtonBox(this);
buttonbox->addStretch();
@@ -67,8 +67,8 @@ AddEnvvarDialog::AddEnvvarDialog(TQWidget *parent, const char *name)
m_pOk->setDefault(true);
connect( m_pOk, TQT_SIGNAL(clicked()), this, TQT_SLOT(accept()) );
connect( cancel, TQT_SIGNAL(clicked()), this, TQT_SLOT(reject()) );
- buttonbox->tqlayout();
- tqlayout->addWidget(buttonbox, 0);
+ buttonbox->layout();
+ layout->addWidget(buttonbox, 0);
slotTextChanged();
}