summaryrefslogtreecommitdiffstats
path: root/vcs/clearcase
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 /vcs/clearcase
parentec049c7c32d50faf317b13d5c844a19978881fc3 (diff)
downloadtdevelop-39d7cb00553d01cea32bfd52fa406aac15742ba0.tar.gz
tdevelop-39d7cb00553d01cea32bfd52fa406aac15742ba0.zip
Rename obsolete tq methods to standard names
(cherry picked from commit abcbb684982167791304dc2fe0bc979489506b43)
Diffstat (limited to 'vcs/clearcase')
-rw-r--r--vcs/clearcase/commentdlg.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/vcs/clearcase/commentdlg.cpp b/vcs/clearcase/commentdlg.cpp
index a7f90ff7..df9fc10b 100644
--- a/vcs/clearcase/commentdlg.cpp
+++ b/vcs/clearcase/commentdlg.cpp
@@ -25,21 +25,21 @@ CcaseCommentDlg::CcaseCommentDlg(bool bCheckin)
{
setCaption( i18n("Clearcase Comment") );
- TQBoxLayout *tqlayout = new TQVBoxLayout(this, 10);
+ TQBoxLayout *layout = new TQVBoxLayout(this, 10);
TQLabel *messagelabel = new TQLabel(i18n("Enter log message:"), this);
messagelabel->setMinimumSize(messagelabel->sizeHint());
- tqlayout->addWidget(messagelabel, 0);
+ layout->addWidget(messagelabel, 0);
_edit = new TQMultiLineEdit(this);
TQFontMetrics fm(_edit->fontMetrics());
_edit->setMinimumSize(fm.width("0")*40, fm.lineSpacing()*3);
- tqlayout->addWidget(_edit, 10);
+ layout->addWidget(_edit, 10);
- TQBoxLayout *tqlayout2 = new TQHBoxLayout(tqlayout);
+ TQBoxLayout *layout2 = new TQHBoxLayout(layout);
if(bCheckin) {
_check = new TQCheckBox(i18n("Reserve"), this);
- tqlayout2->addWidget(_check);
+ layout2->addWidget(_check);
}
KButtonBox *buttonbox = new KButtonBox(this);
@@ -49,10 +49,10 @@ CcaseCommentDlg::CcaseCommentDlg(bool bCheckin)
connect(ok, TQT_SIGNAL(clicked()), TQT_SLOT(accept()) );
connect(cancel, TQT_SIGNAL(clicked()), TQT_SLOT(reject()) );
ok->setDefault(true);
- buttonbox->tqlayout();
- tqlayout2->addWidget(buttonbox, 0);
+ buttonbox->layout();
+ layout2->addWidget(buttonbox, 0);
- tqlayout->activate();
+ layout->activate();
adjustSize();
}