summaryrefslogtreecommitdiffstats
path: root/vcs/clearcase/commentdlg.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 10:00:25 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 10:00:25 -0600
commit1623fe64102c18ab098b79656b80f28cef840756 (patch)
tree78f35fef11ea3dbbca1ba4c99937736a1a0894cf /vcs/clearcase/commentdlg.cpp
parentb6ba5d642f3fc7d320e3d6f4650eb259a3a52b04 (diff)
downloadtdevelop-1623fe64102c18ab098b79656b80f28cef840756.tar.gz
tdevelop-1623fe64102c18ab098b79656b80f28cef840756.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit b6ba5d642f3fc7d320e3d6f4650eb259a3a52b04.
Diffstat (limited to 'vcs/clearcase/commentdlg.cpp')
-rw-r--r--vcs/clearcase/commentdlg.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/vcs/clearcase/commentdlg.cpp b/vcs/clearcase/commentdlg.cpp
index dcfe5eea..5355b3f0 100644
--- a/vcs/clearcase/commentdlg.cpp
+++ b/vcs/clearcase/commentdlg.cpp
@@ -11,7 +11,7 @@
#include "commentdlg.h"
-#include <layout.h>
+#include <tqlayout.h>
#include <tqlabel.h>
#include <tqpushbutton.h>
#include <kapplication.h>
@@ -25,21 +25,21 @@ CcaseCommentDlg::CcaseCommentDlg(bool bCheckin)
{
setCaption( i18n("Clearcase Comment") );
- TQBoxLayout *layout = new TQVBoxLayout(this, 10);
+ TQBoxLayout *tqlayout = new TQVBoxLayout(this, 10);
TQLabel *messagelabel = new TQLabel(i18n("Enter log message:"), this);
- messagelabel->setMinimumSize(messagelabel->sizeHint());
- layout->addWidget(messagelabel, 0);
+ messagelabel->setMinimumSize(messagelabel->tqsizeHint());
+ tqlayout->addWidget(messagelabel, 0);
_edit = new TQMultiLineEdit(this);
TQFontMetrics fm(_edit->fontMetrics());
_edit->setMinimumSize(fm.width("0")*40, fm.lineSpacing()*3);
- layout->addWidget(_edit, 10);
+ tqlayout->addWidget(_edit, 10);
- TQBoxLayout *layout2 = new TQHBoxLayout(layout);
+ TQBoxLayout *tqlayout2 = new TQHBoxLayout(tqlayout);
if(bCheckin) {
_check = new TQCheckBox(i18n("Reserve"), this);
- layout2->addWidget(_check);
+ tqlayout2->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->layout();
- layout2->addWidget(buttonbox, 0);
+ buttonbox->tqlayout();
+ tqlayout2->addWidget(buttonbox, 0);
- layout->activate();
+ tqlayout->activate();
adjustSize();
}