diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-14 14:24:33 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-21 23:12:29 +0900 |
commit | 0b6a83b773c37ee6949d73346c4a669aa1fc98b8 (patch) | |
tree | 03606cf5d79c9c08b77909997c4301fb34bc783c /vcs/clearcase | |
parent | 19ccb502fc61ce7dfa1d030d833d2b1f898051f4 (diff) | |
download | tdevelop-0b6a83b773c37ee6949d73346c4a669aa1fc98b8.tar.gz tdevelop-0b6a83b773c37ee6949d73346c4a669aa1fc98b8.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 35fbd60457d1e51e6a0df5d181d1a0f00ad75a2c)
Diffstat (limited to 'vcs/clearcase')
-rw-r--r-- | vcs/clearcase/clearcasefileinfoprovider.cpp | 2 | ||||
-rw-r--r-- | vcs/clearcase/clearcasepart.cpp | 24 | ||||
-rw-r--r-- | vcs/clearcase/commentdlg.cpp | 4 |
3 files changed, 15 insertions, 15 deletions
diff --git a/vcs/clearcase/clearcasefileinfoprovider.cpp b/vcs/clearcase/clearcasefileinfoprovider.cpp index 1e18f8e1..dceb9b9e 100644 --- a/vcs/clearcase/clearcasefileinfoprovider.cpp +++ b/vcs/clearcase/clearcasefileinfoprovider.cpp @@ -21,7 +21,7 @@ ClearcaseFileinfoProvider::ClearcaseFileinfoProvider(ClearcasePart *parent) { vcsInfo_ = NULL; - connect(parent, TQT_SIGNAL(statusReady(const VCSFileInfoMap&, void*)), TQT_SIGNAL(triggerUpdate(const VCSFileInfoMap&, void*))); + connect(parent, TQ_SIGNAL(statusReady(const VCSFileInfoMap&, void*)), TQ_SIGNAL(triggerUpdate(const VCSFileInfoMap&, void*))); kdevVCS_ = parent; } diff --git a/vcs/clearcase/clearcasepart.cpp b/vcs/clearcase/clearcasepart.cpp index 8f05fbad..700de36b 100644 --- a/vcs/clearcase/clearcasepart.cpp +++ b/vcs/clearcase/clearcasepart.cpp @@ -60,8 +60,8 @@ ClearcasePart::ClearcasePart( TQObject *parent, const char *name, const TQString fileInfoProvider_ = new ClearcaseFileinfoProvider(this); setInstance(ClearcaseFactory::instance()); - connect( core(), TQT_SIGNAL(contextMenu(TQPopupMenu *, const Context *)), - this, TQT_SLOT(contextMenu(TQPopupMenu *, const Context *)) ); + connect( core(), TQ_SIGNAL(contextMenu(TQPopupMenu *, const Context *)), + this, TQ_SLOT(contextMenu(TQPopupMenu *, const Context *)) ); } ClearcasePart::~ClearcasePart() @@ -88,26 +88,26 @@ void ClearcasePart::contextMenu(TQPopupMenu *popup, const Context *context) TQString name = fi.fileName(); sub->insertTitle( i18n("Actions for %1").arg(name) ); sub->insertItem( i18n("Checkin"), - this, TQT_SLOT(slotCheckin()) ); + this, TQ_SLOT(slotCheckin()) ); sub->insertItem( i18n("Checkout"), - this, TQT_SLOT(slotCheckout()) ); + this, TQ_SLOT(slotCheckout()) ); sub->insertItem( i18n("Uncheckout"), - this, TQT_SLOT(slotUncheckout()) ); + this, TQ_SLOT(slotUncheckout()) ); sub->insertSeparator(); sub->insertItem( i18n("Create Element"), - this, TQT_SLOT(slotCreate()) ); + this, TQ_SLOT(slotCreate()) ); sub->insertItem( i18n("Remove Element"), - this, TQT_SLOT(slotRemove()) ); + this, TQ_SLOT(slotRemove()) ); sub->insertSeparator(); sub->insertItem( i18n("History"), - this, TQT_SLOT(slotListHistory()) ); + this, TQ_SLOT(slotListHistory()) ); sub->insertSeparator(); sub->insertItem( i18n("Diff"), - this, TQT_SLOT(slotDiff()) ); + this, TQ_SLOT(slotDiff()) ); sub->insertSeparator(); sub->insertItem( i18n("List Checkouts"), - this, TQT_SLOT(slotListCheckouts()) ); + this, TQ_SLOT(slotListCheckouts()) ); popup->insertItem(i18n("Clearcase"), sub); @@ -304,8 +304,8 @@ void ClearcasePart::slotDiff() args << name; ExecCommand* cmv = new ExecCommand( "cleartool", args, dir, env, this ); - connect( cmv, TQT_SIGNAL(finished( const TQString&, const TQString& )), - this, TQT_SLOT(slotDiffFinished( const TQString&, const TQString& )) ); + connect( cmv, TQ_SIGNAL(finished( const TQString&, const TQString& )), + this, TQ_SLOT(slotDiffFinished( const TQString&, const TQString& )) ); } diff --git a/vcs/clearcase/commentdlg.cpp b/vcs/clearcase/commentdlg.cpp index 2f93ab49..f940b77c 100644 --- a/vcs/clearcase/commentdlg.cpp +++ b/vcs/clearcase/commentdlg.cpp @@ -46,8 +46,8 @@ CcaseCommentDlg::CcaseCommentDlg(bool bCheckin) buttonbox->addStretch(); 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()) ); + connect(ok, TQ_SIGNAL(clicked()), TQ_SLOT(accept()) ); + connect(cancel, TQ_SIGNAL(clicked()), TQ_SLOT(reject()) ); ok->setDefault(true); buttonbox->layout(); layout2->addWidget(buttonbox, 0); |