diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-14 16:45:05 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-14 16:45:05 +0000 |
commit | 48d4a26399959121f33d2bc3bfe51c7827b654fc (patch) | |
tree | 5ae5e6e00d3ba330b7b8be9bc097154b6bc739e8 /vcs/clearcase/commentdlg.cpp | |
parent | 7e701ace6592d09e1f2c0cf28c7d6d872d78f4f5 (diff) | |
download | tdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.tar.gz tdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.zip |
TQt4 port kdevelop
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1236710 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'vcs/clearcase/commentdlg.cpp')
-rw-r--r-- | vcs/clearcase/commentdlg.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/vcs/clearcase/commentdlg.cpp b/vcs/clearcase/commentdlg.cpp index df9fc10b..5355b3f0 100644 --- a/vcs/clearcase/commentdlg.cpp +++ b/vcs/clearcase/commentdlg.cpp @@ -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(); } |