diff options
| author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:56:07 +0000 | 
|---|---|---|
| committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:56:07 +0000 | 
| commit | d6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch) | |
| tree | d109539636691d7b03036ca1c0ed29dbae6577cf /vcs/clearcase/commentdlg.cpp | |
| parent | 3331a47a9cad24795c7440ee8107143ce444ef34 (diff) | |
| download | tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.tar.gz tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.zip | |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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); | 
