diff options
Diffstat (limited to 'vcs/clearcase/commentdlg.cpp')
-rw-r--r-- | vcs/clearcase/commentdlg.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/vcs/clearcase/commentdlg.cpp b/vcs/clearcase/commentdlg.cpp index 5355b3f0..dcfe5eea 100644 --- a/vcs/clearcase/commentdlg.cpp +++ b/vcs/clearcase/commentdlg.cpp @@ -11,7 +11,7 @@ #include "commentdlg.h" -#include <tqlayout.h> +#include <layout.h> #include <tqlabel.h> #include <tqpushbutton.h> #include <kapplication.h> @@ -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->tqsizeHint()); - tqlayout->addWidget(messagelabel, 0); + messagelabel->setMinimumSize(messagelabel->sizeHint()); + 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(); } |