diff options
Diffstat (limited to 'vcs/clearcase/commentdlg.cpp')
-rw-r--r-- | vcs/clearcase/commentdlg.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/vcs/clearcase/commentdlg.cpp b/vcs/clearcase/commentdlg.cpp index 36b3bc6f..df9fc10b 100644 --- a/vcs/clearcase/commentdlg.cpp +++ b/vcs/clearcase/commentdlg.cpp @@ -11,9 +11,9 @@ #include "commentdlg.h" -#include <qlayout.h> -#include <qlabel.h> -#include <qpushbutton.h> +#include <tqlayout.h> +#include <tqlabel.h> +#include <tqpushbutton.h> #include <kapplication.h> #include <kbuttonbox.h> #include <klocale.h> @@ -21,33 +21,33 @@ #include <kstdguiitem.h> CcaseCommentDlg::CcaseCommentDlg(bool bCheckin) - : QDialog(0, "", true) + : TQDialog(0, "", true) { setCaption( i18n("Clearcase Comment") ); - QBoxLayout *layout = new QVBoxLayout(this, 10); + TQBoxLayout *layout = new TQVBoxLayout(this, 10); - QLabel *messagelabel = new QLabel(i18n("Enter log message:"), this); + TQLabel *messagelabel = new TQLabel(i18n("Enter log message:"), this); messagelabel->setMinimumSize(messagelabel->sizeHint()); layout->addWidget(messagelabel, 0); - _edit = new QMultiLineEdit(this); - QFontMetrics fm(_edit->fontMetrics()); + _edit = new TQMultiLineEdit(this); + TQFontMetrics fm(_edit->fontMetrics()); _edit->setMinimumSize(fm.width("0")*40, fm.lineSpacing()*3); layout->addWidget(_edit, 10); - QBoxLayout *layout2 = new QHBoxLayout(layout); + TQBoxLayout *layout2 = new TQHBoxLayout(layout); if(bCheckin) { - _check = new QCheckBox(i18n("Reserve"), this); + _check = new TQCheckBox(i18n("Reserve"), this); layout2->addWidget(_check); } KButtonBox *buttonbox = new KButtonBox(this); buttonbox->addStretch(); - QPushButton *ok = buttonbox->addButton(KStdGuiItem::ok()); - QPushButton *cancel = buttonbox->addButton(KStdGuiItem::cancel()); - connect(ok, SIGNAL(clicked()), SLOT(accept()) ); - connect(cancel, SIGNAL(clicked()), SLOT(reject()) ); + TQPushButton *ok = buttonbox->addButton(KStdGuiItem::ok()); + TQPushButton *cancel = buttonbox->addButton(KStdGuiItem::cancel()); + 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); |