summaryrefslogtreecommitdiffstats
path: root/vcs
diff options
context:
space:
mode:
Diffstat (limited to 'vcs')
-rw-r--r--vcs/clearcase/clearcasefileinfoprovider.cpp4
-rw-r--r--vcs/clearcase/clearcasefileinfoprovider.h2
-rw-r--r--vcs/clearcase/clearcasemanipulator.cpp2
-rw-r--r--vcs/clearcase/clearcasemanipulator.h2
-rw-r--r--vcs/clearcase/clearcasepart.cpp36
-rw-r--r--vcs/clearcase/clearcasepart.h2
-rw-r--r--vcs/clearcase/commentdlg.cpp4
-rw-r--r--vcs/clearcase/commentdlg.h6
-rw-r--r--vcs/clearcase/integrator/ccintegratordlg.h2
-rw-r--r--vcs/clearcase/integrator/clearcaseintegrator.h2
-rw-r--r--vcs/cvsservice/README.dox4
-rw-r--r--vcs/cvsservice/annotatedialog.cpp8
-rw-r--r--vcs/cvsservice/annotatedialog.h2
-rw-r--r--vcs/cvsservice/annotatepage.cpp10
-rw-r--r--vcs/cvsservice/annotatepage.h2
-rw-r--r--vcs/cvsservice/annotateview.cpp4
-rw-r--r--vcs/cvsservice/annotateview.h2
-rw-r--r--vcs/cvsservice/checkoutdialog.cpp10
-rw-r--r--vcs/cvsservice/checkoutdialog.h2
-rw-r--r--vcs/cvsservice/commitdialogbase.ui3
-rw-r--r--vcs/cvsservice/commitdlg.cpp4
-rw-r--r--vcs/cvsservice/commitdlg.h2
-rw-r--r--vcs/cvsservice/cvsdiffpage.h2
-rw-r--r--vcs/cvsservice/cvsentry.cpp2
-rw-r--r--vcs/cvsservice/cvsfileinfoprovider.cpp4
-rw-r--r--vcs/cvsservice/cvsfileinfoprovider.h2
-rw-r--r--vcs/cvsservice/cvsform.h2
-rw-r--r--vcs/cvsservice/cvslogdialog.cpp8
-rw-r--r--vcs/cvsservice/cvslogdialog.h2
-rw-r--r--vcs/cvsservice/cvslogpage.cpp2
-rw-r--r--vcs/cvsservice/cvslogpage.h2
-rw-r--r--vcs/cvsservice/cvsoptionswidget.h2
-rw-r--r--vcs/cvsservice/cvspart.cpp108
-rw-r--r--vcs/cvsservice/cvspart.h2
-rw-r--r--vcs/cvsservice/cvspartimpl.cpp40
-rw-r--r--vcs/cvsservice/cvspartimpl.h2
-rw-r--r--vcs/cvsservice/cvsprocesswidget.cpp2
-rw-r--r--vcs/cvsservice/cvsprocesswidget.h2
-rw-r--r--vcs/cvsservice/diffdialog.h2
-rw-r--r--vcs/cvsservice/diffdialogbase.ui6
-rw-r--r--vcs/cvsservice/diffwidget.cpp24
-rw-r--r--vcs/cvsservice/diffwidget.h4
-rw-r--r--vcs/cvsservice/editorsdialog.cpp2
-rw-r--r--vcs/cvsservice/editorsdialog.h2
-rw-r--r--vcs/cvsservice/editorsdialogbase.ui3
-rw-r--r--vcs/cvsservice/integrator/cvsserviceintegrator.h2
-rw-r--r--vcs/cvsservice/integrator/integratordlg.cpp2
-rw-r--r--vcs/cvsservice/integrator/integratordlg.h2
-rw-r--r--vcs/cvsservice/integrator/integratordlgbase.ui4
-rw-r--r--vcs/cvsservice/releaseinputdialog.h2
-rw-r--r--vcs/cvsservice/releaseinputdialogbase.ui6
-rw-r--r--vcs/cvsservice/tagdialog.h2
-rw-r--r--vcs/cvsservice/tagdialogbase.ui6
-rw-r--r--vcs/perforce/commitdlg.cpp8
-rw-r--r--vcs/perforce/commitdlg.h2
-rw-r--r--vcs/perforce/integrator/perforceintegrator.h2
-rw-r--r--vcs/perforce/integrator/pfintegratordlg.h2
-rw-r--r--vcs/perforce/perforcepart.cpp44
-rw-r--r--vcs/perforce/perforcepart.h2
-rw-r--r--vcs/subversion/commitdlg.cpp2
-rw-r--r--vcs/subversion/commitdlg.h2
-rw-r--r--vcs/subversion/integrator/subversionintegrator.h2
-rw-r--r--vcs/subversion/integrator/svnintegratordlg.cpp4
-rw-r--r--vcs/subversion/integrator/svnintegratordlg.h2
-rw-r--r--vcs/subversion/kdevsvnd.cpp2
-rw-r--r--vcs/subversion/kdevsvnd.h2
-rw-r--r--vcs/subversion/kdevsvnd_widgets.cpp6
-rw-r--r--vcs/subversion/kdevsvnd_widgets.h2
-rw-r--r--vcs/subversion/subversion_core.cpp44
-rw-r--r--vcs/subversion/subversion_core.h2
-rw-r--r--vcs/subversion/subversion_fileinfo.cpp2
-rw-r--r--vcs/subversion/subversion_fileinfo.h2
-rw-r--r--vcs/subversion/subversion_part.cpp92
-rw-r--r--vcs/subversion/subversion_part.h2
-rw-r--r--vcs/subversion/subversion_widget.cpp4
-rw-r--r--vcs/subversion/subversion_widget.h2
-rw-r--r--vcs/subversion/subversiondiff.ui3
-rw-r--r--vcs/subversion/svn_blamewidget.cpp6
-rw-r--r--vcs/subversion/svn_blamewidget.h6
-rw-r--r--vcs/subversion/svn_commitdlgbase.ui6
-rw-r--r--vcs/subversion/svn_copywidget.cpp8
-rw-r--r--vcs/subversion/svn_copywidget.h2
-rw-r--r--vcs/subversion/svn_fileselectdlg_commit.cpp2
-rw-r--r--vcs/subversion/svn_fileselectdlg_commit.h2
-rw-r--r--vcs/subversion/svn_logviewoptiondlgbase.ui3
-rw-r--r--vcs/subversion/svn_logviewwidget.cpp28
-rw-r--r--vcs/subversion/svn_logviewwidget.h6
-rw-r--r--vcs/subversion/svn_mergewidget.cpp8
-rw-r--r--vcs/subversion/svn_mergewidget.h2
-rw-r--r--vcs/subversion/svn_switchdlgbase.ui4
-rw-r--r--vcs/subversion/svn_switchwidget.cpp4
-rw-r--r--vcs/subversion/svn_switchwidget.h2
-rw-r--r--vcs/subversion/svn_tdeio.cpp38
-rw-r--r--vcs/subversion/svnssltrustpromptbase.ui9
94 files changed, 348 insertions, 393 deletions
diff --git a/vcs/clearcase/clearcasefileinfoprovider.cpp b/vcs/clearcase/clearcasefileinfoprovider.cpp
index 1e18f8e1..aa311518 100644
--- a/vcs/clearcase/clearcasefileinfoprovider.cpp
+++ b/vcs/clearcase/clearcasefileinfoprovider.cpp
@@ -13,7 +13,7 @@
#include "clearcasepart.h"
#include "kdevversioncontrol.h"
-#include <kprocess.h>
+#include <tdeprocess.h>
#include <tqapplication.h>
ClearcaseFileinfoProvider::ClearcaseFileinfoProvider(ClearcasePart *parent)
@@ -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/clearcasefileinfoprovider.h b/vcs/clearcase/clearcasefileinfoprovider.h
index 0f6f7d06..848f7704 100644
--- a/vcs/clearcase/clearcasefileinfoprovider.h
+++ b/vcs/clearcase/clearcasefileinfoprovider.h
@@ -21,7 +21,7 @@
*/
class ClearcaseFileinfoProvider : public KDevVCSFileInfoProvider
{
- Q_OBJECT
+ TQ_OBJECT
public:
ClearcaseFileinfoProvider(ClearcasePart *parent);
diff --git a/vcs/clearcase/clearcasemanipulator.cpp b/vcs/clearcase/clearcasemanipulator.cpp
index 65f05c4e..54ad4faf 100644
--- a/vcs/clearcase/clearcasemanipulator.cpp
+++ b/vcs/clearcase/clearcasemanipulator.cpp
@@ -12,7 +12,7 @@
#include "config.h"
#include "clearcasemanipulator.h"
-#include <kprocess.h>
+#include <tdeprocess.h>
#include <tqregexp.h>
#include <tqstring.h>
diff --git a/vcs/clearcase/clearcasemanipulator.h b/vcs/clearcase/clearcasemanipulator.h
index 0cb795e3..276938f8 100644
--- a/vcs/clearcase/clearcasemanipulator.h
+++ b/vcs/clearcase/clearcasemanipulator.h
@@ -14,7 +14,7 @@
#include "kdevversioncontrol.h"
-#include <kprocess.h>
+#include <tdeprocess.h>
#include <tqregexp.h>
diff --git a/vcs/clearcase/clearcasepart.cpp b/vcs/clearcase/clearcasepart.cpp
index aeb1eea9..a8769127 100644
--- a/vcs/clearcase/clearcasepart.cpp
+++ b/vcs/clearcase/clearcasepart.cpp
@@ -19,7 +19,7 @@
#include <kdebug.h>
#include <kdevgenericfactory.h>
#include <tdelocale.h>
-#include <kprocess.h>
+#include <tdeprocess.h>
#include <tdemessagebox.h>
#include <tdeapplication.h>
@@ -37,13 +37,13 @@
#include "clearcasemanipulator.h"
-static const KDevPluginInfo data("kdevclearcase");
+static const KDevPluginInfo pluginData("kdevclearcase");
typedef KDevGenericFactory<ClearcasePart> ClearcaseFactory;
-K_EXPORT_COMPONENT_FACTORY( libkdevclearcase, ClearcaseFactory( data ) )
+K_EXPORT_COMPONENT_FACTORY( libkdevclearcase, ClearcaseFactory( pluginData ) )
ClearcasePart::ClearcasePart( TQObject *parent, const char *name, const TQStringList & )
- : KDevVersionControl( &data, parent, name ? name : "ClearcasePart" ),
+ : KDevVersionControl( &pluginData, parent, name ? name : "ClearcasePart" ),
default_checkin(""),
default_checkout(""),
default_uncheckout("-rm"),
@@ -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);
@@ -125,7 +125,7 @@ void ClearcasePart::slotCheckin()
dir = fi.dirPath();
name = fi.fileName();
- CcaseCommentDlg dlg(FALSE);
+ CcaseCommentDlg dlg(false);
if (dlg.exec() == TQDialog::Rejected)
return;
@@ -156,7 +156,7 @@ void ClearcasePart::slotCheckout()
dir = fi.dirPath();
name = fi.fileName();
- CcaseCommentDlg dlg(TRUE);
+ CcaseCommentDlg dlg(true);
if (dlg.exec() == TQDialog::Rejected)
return;
@@ -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/clearcasepart.h b/vcs/clearcase/clearcasepart.h
index be63e674..866e312c 100644
--- a/vcs/clearcase/clearcasepart.h
+++ b/vcs/clearcase/clearcasepart.h
@@ -18,7 +18,7 @@ class Context;
class TQPopupMenu;
class ClearcasePart : public KDevVersionControl {
- Q_OBJECT
+ TQ_OBJECT
public:
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);
diff --git a/vcs/clearcase/commentdlg.h b/vcs/clearcase/commentdlg.h
index 0ce9d5ce..9c1feb46 100644
--- a/vcs/clearcase/commentdlg.h
+++ b/vcs/clearcase/commentdlg.h
@@ -18,12 +18,12 @@
class CcaseCommentDlg : public TQDialog
{
-Q_OBJECT
+TQ_OBJECT
public:
- CcaseCommentDlg(bool = FALSE);
+ CcaseCommentDlg(bool = false);
TQString logMessage() { return _edit->text(); };
- bool isReserved() { return (_check) ? _check->isChecked() : FALSE; };
+ bool isReserved() { return (_check) ? _check->isChecked() : false; };
private:
TQMultiLineEdit *_edit;
diff --git a/vcs/clearcase/integrator/ccintegratordlg.h b/vcs/clearcase/integrator/ccintegratordlg.h
index f427b2b3..3242d5d4 100644
--- a/vcs/clearcase/integrator/ccintegratordlg.h
+++ b/vcs/clearcase/integrator/ccintegratordlg.h
@@ -24,7 +24,7 @@
#include <kdevvcsintegrator.h>
class CCIntegratorDlg: public CCIntegratorDlgBase, public VCSDialog {
-Q_OBJECT
+TQ_OBJECT
public:
CCIntegratorDlg(TQWidget *parent = 0, const char *name = 0);
diff --git a/vcs/clearcase/integrator/clearcaseintegrator.h b/vcs/clearcase/integrator/clearcaseintegrator.h
index 3859c1f9..ea8616a6 100644
--- a/vcs/clearcase/integrator/clearcaseintegrator.h
+++ b/vcs/clearcase/integrator/clearcaseintegrator.h
@@ -26,7 +26,7 @@
class ClearcaseIntegrator : public KDevVCSIntegrator
{
-Q_OBJECT
+TQ_OBJECT
public:
ClearcaseIntegrator(TQObject* parent, const char* name, const TQStringList args = TQStringList());
diff --git a/vcs/cvsservice/README.dox b/vcs/cvsservice/README.dox
index 9887fac9..4a4c5b8c 100644
--- a/vcs/cvsservice/README.dox
+++ b/vcs/cvsservice/README.dox
@@ -23,7 +23,7 @@ mailing list. Contributions are always welcome :-)
Implementation of this component is done by:
- class CvsServicePart, which does provide integration within tdevelop, set-up GUI
integration, forward cvs commands to the implementation (m_impl). It does also
- intercepts Q_SIGNALS like "new files added to project" and "... removed from ...".
+ intercepts signals like "new files added to project" and "... removed from ...".
- class CvsServicePartImpl implements the actual feature: more general speaking
functions (like checking for whether files are in repository, provide checks
on file lists, ...).
@@ -73,7 +73,7 @@ Implementation of this component is done by:
\todo Test with SSH repositories!
\todo Share a common outputview between VCS: CvsProcessWidget should be reworked :-/
-\todo Additional Q_SLOTS for more complex stuff as status, revert, patch creation, ...
+\todo Additional slots for more complex stuff as status, revert, patch creation, ...
\faq <b>Does cvsservicepart support login with :pserver: or :ext: ?</b>
Well, I dunno ;-) I have no ssh repositories to test so feel free to provide feedback on the subject :-)
diff --git a/vcs/cvsservice/annotatedialog.cpp b/vcs/cvsservice/annotatedialog.cpp
index ac9f293d..b7cbb749 100644
--- a/vcs/cvsservice/annotatedialog.cpp
+++ b/vcs/cvsservice/annotatedialog.cpp
@@ -33,8 +33,8 @@ AnnotateDialog::AnnotateDialog( CvsService_stub *cvsService, TQWidget *parent, c
TQVBox *vbox = addVBoxPage( i18n("Annotate") );
m_cvsAnnotatePage = new AnnotatePage( m_cvsService, vbox );
- connect( m_cvsAnnotatePage, TQT_SIGNAL(requestAnnotate(const TQString)),
- this, TQT_SLOT(slotAnnotate(const TQString)) );
+ connect( m_cvsAnnotatePage, TQ_SIGNAL(requestAnnotate(const TQString)),
+ this, TQ_SLOT(slotAnnotate(const TQString)) );
}
AnnotateDialog::~AnnotateDialog()
@@ -61,8 +61,8 @@ void AnnotateDialog::slotAnnotate(const TQString rev)
AnnotatePage * page = new AnnotatePage( m_cvsService, vbox );
page->startAnnotate(m_pathName, rev);
- connect( page, TQT_SIGNAL(requestAnnotate(const TQString)),
- this, TQT_SLOT(slotAnnotate(const TQString)) );
+ connect( page, TQ_SIGNAL(requestAnnotate(const TQString)),
+ this, TQ_SLOT(slotAnnotate(const TQString)) );
}
#include "annotatedialog.moc"
diff --git a/vcs/cvsservice/annotatedialog.h b/vcs/cvsservice/annotatedialog.h
index 67218dea..4d6b7f18 100644
--- a/vcs/cvsservice/annotatedialog.h
+++ b/vcs/cvsservice/annotatedialog.h
@@ -29,7 +29,7 @@ class AnnotatePage;
*/
class AnnotateDialog : public KDialogBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
AnnotateDialog( CvsService_stub *cvsService, TQWidget *parent=0, const char *name=0, int flags=0 );
diff --git a/vcs/cvsservice/annotatepage.cpp b/vcs/cvsservice/annotatepage.cpp
index e044db54..9ecf8279 100644
--- a/vcs/cvsservice/annotatepage.cpp
+++ b/vcs/cvsservice/annotatepage.cpp
@@ -59,10 +59,10 @@ AnnotatePage::AnnotatePage( CvsService_stub *cvsService, TQWidget *parent, const
dialogLayout->add( LayoutWidget );
- connect( m_btnAnnotate, TQT_SIGNAL(clicked()),
- this, TQT_SLOT(slotNewAnnotate()) );
- connect( m_leRevision, TQT_SIGNAL( returnPressed() ),
- m_btnAnnotate, TQT_SLOT( setFocus() ) );
+ connect( m_btnAnnotate, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(slotNewAnnotate()) );
+ connect( m_leRevision, TQ_SIGNAL( returnPressed() ),
+ m_btnAnnotate, TQ_SLOT( setFocus() ) );
//Nest create the AnnotateView; it will do the actual displaying
m_annotateView = new AnnotateView(this, "annotateview");
@@ -227,7 +227,7 @@ void AnnotatePage::parseAnnotateOutput(TQStringList& lines)
//so we pass it as TQDateTime to the AnnotateView below
TQString dateString = line.mid(23, 9);
if( !dateString.isEmpty() )
- logDate.setTime_t(KRFCDate::parseDate(dateString), Qt::UTC);
+ logDate.setTime_t(KRFCDate::parseDate(dateString), TQt::UTC);
rev = line.left(13).stripWhiteSpace();
author = line.mid(14, 8).stripWhiteSpace();
diff --git a/vcs/cvsservice/annotatepage.h b/vcs/cvsservice/annotatepage.h
index 569ed935..932587f9 100644
--- a/vcs/cvsservice/annotatepage.h
+++ b/vcs/cvsservice/annotatepage.h
@@ -36,7 +36,7 @@ class KPushButton;
*/
class AnnotatePage : public TQWidget, virtual public CVSServiceDCOPIface
{
- Q_OBJECT
+ TQ_OBJECT
friend class AnnotateDialog;
diff --git a/vcs/cvsservice/annotateview.cpp b/vcs/cvsservice/annotateview.cpp
index 89aa7f01..55f9b8fd 100644
--- a/vcs/cvsservice/annotateview.cpp
+++ b/vcs/cvsservice/annotateview.cpp
@@ -157,8 +157,8 @@ AnnotateView::AnnotateView(AnnotatePage *parent, const char *name)
setSorting(AnnotateViewItem::LineNumberColumn);
setColumnAlignment(AnnotateViewItem::LineNumberColumn, TQt::AlignRight);
- connect( this, TQT_SIGNAL(executed(TQListViewItem*)),
- this, TQT_SLOT(itemClicked(TQListViewItem*)) );
+ connect( this, TQ_SIGNAL(executed(TQListViewItem*)),
+ this, TQ_SLOT(itemClicked(TQListViewItem*)) );
}
diff --git a/vcs/cvsservice/annotateview.h b/vcs/cvsservice/annotateview.h
index 6bc97bf2..82741b2e 100644
--- a/vcs/cvsservice/annotateview.h
+++ b/vcs/cvsservice/annotateview.h
@@ -32,7 +32,7 @@ class AnnotatePage;
*/
class AnnotateView : public TDEListView, public TQToolTip
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/vcs/cvsservice/checkoutdialog.cpp b/vcs/cvsservice/checkoutdialog.cpp
index e6bcbd05..ff14eb20 100644
--- a/vcs/cvsservice/checkoutdialog.cpp
+++ b/vcs/cvsservice/checkoutdialog.cpp
@@ -77,10 +77,10 @@ CheckoutDialog::CheckoutDialog( CvsService_stub *cvsService,
m_base = new CheckoutDialogBase( this, "checkoutdialogbase" );
setMainWidget( m_base );
- connect( m_base->fetchModulesButton, TQT_SIGNAL(clicked()),
- this, TQT_SLOT(slotFetchModulesList()) );
- connect( m_base->modulesListView, TQT_SIGNAL(executed(TQListViewItem*)),
- this, TQT_SLOT(slotModuleSelected(TQListViewItem*)) );
+ connect( m_base->fetchModulesButton, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(slotFetchModulesList()) );
+ connect( m_base->modulesListView, TQ_SIGNAL(executed(TQListViewItem*)),
+ this, TQ_SLOT(slotModuleSelected(TQListViewItem*)) );
// Avoid displaying 'file:/' when displaying the file
m_base->workURLRequester->setShowLocalProtocol( false );
@@ -89,7 +89,7 @@ CheckoutDialog::CheckoutDialog( CvsService_stub *cvsService,
// Grab the entries from $HOME/.cvspass
fetchUserCvsRepositories();
// And suggest to use the default projects dir set in KDevelop's preferences
- TDEConfig *config = kapp->config();
+ TDEConfig *config = tdeApp->config();
config->setGroup("General Options");
TQString defaultProjectsDir = config->readPathEntry("DefaultProjectsDir", TQDir::homeDirPath()+"/");
setWorkDir( defaultProjectsDir );
diff --git a/vcs/cvsservice/checkoutdialog.h b/vcs/cvsservice/checkoutdialog.h
index 51388bc5..9aef6483 100644
--- a/vcs/cvsservice/checkoutdialog.h
+++ b/vcs/cvsservice/checkoutdialog.h
@@ -29,7 +29,7 @@ class TQListViewItem;
*/
class CheckoutDialog : public KDialogBase, virtual public CVSServiceDCOPIface
{
- Q_OBJECT
+ TQ_OBJECT
public:
CheckoutDialog( CvsService_stub *cvsService, TQWidget *parent = 0,
diff --git a/vcs/cvsservice/commitdialogbase.ui b/vcs/cvsservice/commitdialogbase.ui
index 12844638..667176f2 100644
--- a/vcs/cvsservice/commitdialogbase.ui
+++ b/vcs/cvsservice/commitdialogbase.ui
@@ -132,9 +132,6 @@
<property name="text">
<string>&amp;Cancel</string>
</property>
- <property name="accel">
- <string></string>
- </property>
<property name="autoDefault">
<bool>true</bool>
</property>
diff --git a/vcs/cvsservice/commitdlg.cpp b/vcs/cvsservice/commitdlg.cpp
index f47516ed..206fe754 100644
--- a/vcs/cvsservice/commitdlg.cpp
+++ b/vcs/cvsservice/commitdlg.cpp
@@ -33,8 +33,8 @@
CommitDialog::CommitDialog( const TQString &changeLogfileNamePath, TQWidget *parent )
: CommitDialogBase( parent, "commitdialog", true )
{
- connect( buttonOk, TQT_SIGNAL(clicked()), TQT_SLOT(accept()) );
- connect( buttonCancel, TQT_SIGNAL(clicked()), TQT_SLOT(reject()) );
+ connect( buttonOk, TQ_SIGNAL(clicked()), TQ_SLOT(accept()) );
+ connect( buttonCancel, TQ_SIGNAL(clicked()), TQ_SLOT(reject()) );
setChangeLogFileName( changeLogfileNamePath );
}
diff --git a/vcs/cvsservice/commitdlg.h b/vcs/cvsservice/commitdlg.h
index c955836f..5d01ff20 100644
--- a/vcs/cvsservice/commitdlg.h
+++ b/vcs/cvsservice/commitdlg.h
@@ -23,7 +23,7 @@ class TQCheckBox;
class CommitDialog : public CommitDialogBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
CommitDialog( const TQString &changeLogfileNamePath, TQWidget *parent = 0 );
diff --git a/vcs/cvsservice/cvsdiffpage.h b/vcs/cvsservice/cvsdiffpage.h
index ec3e4f36..4adfbb9c 100644
--- a/vcs/cvsservice/cvsdiffpage.h
+++ b/vcs/cvsservice/cvsdiffpage.h
@@ -28,7 +28,7 @@ Implementation for the form displaying 'cvs diff' output.
*/
class CVSDiffPage : public TQWidget, virtual public CVSServiceDCOPIface
{
- Q_OBJECT
+ TQ_OBJECT
public:
CVSDiffPage( CvsService_stub *cvsService, TQWidget *parent=0, const char *name=0, int flags=0 );
diff --git a/vcs/cvsservice/cvsentry.cpp b/vcs/cvsservice/cvsentry.cpp
index 79f83deb..c30e15a8 100644
--- a/vcs/cvsservice/cvsentry.cpp
+++ b/vcs/cvsservice/cvsentry.cpp
@@ -97,7 +97,7 @@ void CVSEntry::parse( const TQString &aLine, const CVSDir& dir )
{
TQDateTime date( TQDateTime::fromString( timeStamp() ) );
TQDateTime fileDateUTC;
- fileDateUTC.setTime_t( TQFileInfo(dir, fileName()).lastModified().toTime_t(), Qt::UTC );
+ fileDateUTC.setTime_t( TQFileInfo(dir, fileName()).lastModified().toTime_t(), TQt::UTC );
if ( date != fileDateUTC )
m_state = Modified;
}
diff --git a/vcs/cvsservice/cvsfileinfoprovider.cpp b/vcs/cvsservice/cvsfileinfoprovider.cpp
index 8eb77b71..e71e8a28 100644
--- a/vcs/cvsservice/cvsfileinfoprovider.cpp
+++ b/vcs/cvsservice/cvsfileinfoprovider.cpp
@@ -35,7 +35,7 @@ CVSFileInfoProvider::CVSFileInfoProvider( CvsServicePart *parent, CvsService_stu
: KDevVCSFileInfoProvider( parent, "cvsfileinfoprovider" ),
m_requestStatusJob( 0 ), m_cvsService( cvsService ), m_cachedDirEntries( 0 )
{
- connect( this, TQT_SIGNAL(needStatusUpdate(const CVSDir&)), this, TQT_SLOT(updateStatusFor(const CVSDir&)));
+ connect( this, TQ_SIGNAL(needStatusUpdate(const CVSDir&)), this, TQ_SLOT(updateStatusFor(const CVSDir&)));
}
///////////////////////////////////////////////////////////////////////////////
@@ -146,7 +146,7 @@ void CVSFileInfoProvider::updateStatusFor(const CVSDir& dir)
* item conains any childs. Therefor we need to give FileTree some time
* to update the directory item before we give the status infos.
*/
- TQTimer::singleShot( 1000, this, TQT_SLOT(propagateUpdate()) );
+ TQTimer::singleShot( 1000, this, TQ_SLOT(propagateUpdate()) );
}
///////////////////////////////////////////////////////////////////////////////
diff --git a/vcs/cvsservice/cvsfileinfoprovider.h b/vcs/cvsservice/cvsfileinfoprovider.h
index 4cc9f4f2..be2ff803 100644
--- a/vcs/cvsservice/cvsfileinfoprovider.h
+++ b/vcs/cvsservice/cvsfileinfoprovider.h
@@ -30,7 +30,7 @@ Provider for CVS file information
*/
class CVSFileInfoProvider : public KDevVCSFileInfoProvider, virtual public CVSServiceDCOPIface
{
- Q_OBJECT
+ TQ_OBJECT
public:
CVSFileInfoProvider( CvsServicePart *parent, CvsService_stub *cvsService );
diff --git a/vcs/cvsservice/cvsform.h b/vcs/cvsservice/cvsform.h
index b8fe6acd..280565cf 100644
--- a/vcs/cvsservice/cvsform.h
+++ b/vcs/cvsservice/cvsform.h
@@ -20,7 +20,7 @@ information about setting up the cvs repository.
*/
class CvsForm : public CvsFormBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
CvsForm( TQWidget *parent = 0, const char *name = 0, WFlags f = 0 );
diff --git a/vcs/cvsservice/cvslogdialog.cpp b/vcs/cvsservice/cvslogdialog.cpp
index 21169346..fb189234 100644
--- a/vcs/cvsservice/cvslogdialog.cpp
+++ b/vcs/cvsservice/cvslogdialog.cpp
@@ -42,8 +42,8 @@ CVSLogDialog::CVSLogDialog( CvsService_stub *cvsService, TQWidget *parent, const
TQVBox *vbox = addVBoxPage( i18n("Log From CVS") );
m_cvsLogPage = new CVSLogPage( m_cvsService, vbox );
- connect( m_cvsLogPage, TQT_SIGNAL(diffRequested(const TQString&, const TQString&, const TQString&)),
- this, TQT_SLOT(slotDiffRequested(const TQString&, const TQString&, const TQString&)) );
+ connect( m_cvsLogPage, TQ_SIGNAL(diffRequested(const TQString&, const TQString&, const TQString&)),
+ this, TQ_SLOT(slotDiffRequested(const TQString&, const TQString&, const TQString&)) );
}
///////////////////////////////////////////////////////////////////////////////
@@ -66,8 +66,8 @@ void CVSLogDialog::startLog( const TQString &workDir, const TQString &pathName )
m_cvsLogPage = new CVSLogPage( m_cvsService, vbox );
this->resize( m_cvsLogPage->size() );
- connect( m_cvsLogPage, TQT_SIGNAL(linkClicked(const TQString&, const TQString&)),
- this, TQT_SLOT(slotDiffRequested(const TQString&, const TQString&)) );
+ connect( m_cvsLogPage, TQ_SIGNAL(linkClicked(const TQString&, const TQString&)),
+ this, TQ_SLOT(slotDiffRequested(const TQString&, const TQString&)) );
*/
m_cvsLogPage->startLog( workDir, pathName );
}
diff --git a/vcs/cvsservice/cvslogdialog.h b/vcs/cvsservice/cvslogdialog.h
index e3d3614e..6faf8f59 100644
--- a/vcs/cvsservice/cvslogdialog.h
+++ b/vcs/cvsservice/cvslogdialog.h
@@ -25,7 +25,7 @@ Implementation for the form displaying 'cvs log' output.
*/
class CVSLogDialog : public KDialogBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
CVSLogDialog( CvsService_stub *cvsService, TQWidget *parent=0, const char *name=0, int flags=0 );
diff --git a/vcs/cvsservice/cvslogpage.cpp b/vcs/cvsservice/cvslogpage.cpp
index 4b2d7fb4..756d28d1 100644
--- a/vcs/cvsservice/cvslogpage.cpp
+++ b/vcs/cvsservice/cvslogpage.cpp
@@ -46,7 +46,7 @@ CVSLogPage::CVSLogPage( CvsService_stub *cvsService, TQWidget *parent, const cha
m_textBrowser->setMinimumWidth(fontMetrics().width('X')*50);
m_textBrowser->setMinimumHeight(fontMetrics().width('X')*43);
- connect( m_textBrowser, TQT_SIGNAL(linkClicked( const TQString& )), this, TQT_SLOT(slotLinkClicked( const TQString& )) );
+ connect( m_textBrowser, TQ_SIGNAL(linkClicked( const TQString& )), this, TQ_SLOT(slotLinkClicked( const TQString& )) );
}
///////////////////////////////////////////////////////////////////////////////
diff --git a/vcs/cvsservice/cvslogpage.h b/vcs/cvsservice/cvslogpage.h
index badfcfd6..63c63a14 100644
--- a/vcs/cvsservice/cvslogpage.h
+++ b/vcs/cvsservice/cvslogpage.h
@@ -27,7 +27,7 @@ Implementation for the form displaying 'cvs log' output.
*/
class CVSLogPage : public TQWidget, virtual public CVSServiceDCOPIface
{
- Q_OBJECT
+ TQ_OBJECT
public:
CVSLogPage( CvsService_stub *cvsService, TQWidget *parent=0, const char *name=0, int flags=0 );
diff --git a/vcs/cvsservice/cvsoptionswidget.h b/vcs/cvsservice/cvsoptionswidget.h
index dd58797a..5794d22e 100644
--- a/vcs/cvsservice/cvsoptionswidget.h
+++ b/vcs/cvsservice/cvsoptionswidget.h
@@ -22,7 +22,7 @@ class TQVBoxLayout;
class CvsOptionsWidget : public CvsOptionsWidgetBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
CvsOptionsWidget( TQWidget *parent, const char *name=0 );
diff --git a/vcs/cvsservice/cvspart.cpp b/vcs/cvsservice/cvspart.cpp
index 2bda55f1..1f510d16 100644
--- a/vcs/cvsservice/cvspart.cpp
+++ b/vcs/cvsservice/cvspart.cpp
@@ -22,13 +22,13 @@
#include <tdelocale.h>
#include <tdemessagebox.h>
#include <kdialogbase.h>
-#include <kstandarddirs.h>
+#include <tdestandarddirs.h>
#include <tdeaction.h>
#include <kurl.h>
#include <tdeapplication.h>
#include <tdemainwindow.h>
// Because of KShellProcess::quote()
-#include <kprocess.h>
+#include <tdeprocess.h>
#include <kiconloader.h>
#include <dcopref.h>
@@ -72,16 +72,16 @@ bool g_projectWasJustCreated = false;
// Plugin factory
///////////////////////////////////////////////////////////////////////////////
-static const KDevPluginInfo data("kdevcvsservice");
+static const KDevPluginInfo pluginData("kdevcvsservice");
typedef KDevGenericFactory<CvsServicePart> CvsFactory;
-K_EXPORT_COMPONENT_FACTORY( libkdevcvsservice, CvsFactory( data ) )
+K_EXPORT_COMPONENT_FACTORY( libkdevcvsservice, CvsFactory( pluginData ) )
///////////////////////////////////////////////////////////////////////////////
// class CvsServicePart
///////////////////////////////////////////////////////////////////////////////
CvsServicePart::CvsServicePart( TQObject *parent, const char *name, const TQStringList & )
- : KDevVersionControl( &data, parent,
+ : KDevVersionControl( &pluginData, parent,
name ? name : "CvsService" ),
actionCommit( 0 ), actionDiff( 0 ), actionLog( 0 ), actionAnnotate(0), actionAdd( 0 ),
actionAddBinary( 0 ), actionRemove( 0 ), actionUpdate( 0 ),
@@ -96,10 +96,10 @@ CvsServicePart::CvsServicePart( TQObject *parent, const char *name, const TQStri
m_impl = new CvsServicePartImpl( this );
// Load / store project configuration every time project is opened/closed
- connect( core(), TQT_SIGNAL(projectOpened()), this, TQT_SLOT(slotProjectOpened()) );
- connect( core(), TQT_SIGNAL(projectClosed()), this, TQT_SLOT(slotProjectClosed()) );
+ connect( core(), TQ_SIGNAL(projectOpened()), this, TQ_SLOT(slotProjectOpened()) );
+ connect( core(), TQ_SIGNAL(projectClosed()), this, TQ_SLOT(slotProjectClosed()) );
- TQTimer::singleShot(0, this, TQT_SLOT(init()));
+ TQTimer::singleShot(0, this, TQ_SLOT(init()));
}
///////////////////////////////////////////////////////////////////////////////
@@ -119,15 +119,15 @@ void CvsServicePart::init()
setupActions();
// Re-route our implementation signal for when check-out finishes to the standard signal
- connect( m_impl, TQT_SIGNAL(checkoutFinished(TQString)), TQT_SIGNAL(finishedFetching(TQString)) );
+ connect( m_impl, TQ_SIGNAL(checkoutFinished(TQString)), TQ_SIGNAL(finishedFetching(TQString)) );
// Context menu
- connect( core(), TQT_SIGNAL(contextMenu(TQPopupMenu *, const Context *)),
- this, TQT_SLOT(contextMenu(TQPopupMenu *, const Context *)) );
- connect( core(), TQT_SIGNAL(projectConfigWidget(KDialogBase*)),
- this, TQT_SLOT(projectConfigWidget(KDialogBase*)) );
- connect( core(), TQT_SIGNAL(stopButtonClicked(KDevPlugin*)),
- this, TQT_SLOT(slotStopButtonClicked(KDevPlugin*)) );
+ connect( core(), TQ_SIGNAL(contextMenu(TQPopupMenu *, const Context *)),
+ this, TQ_SLOT(contextMenu(TQPopupMenu *, const Context *)) );
+ connect( core(), TQ_SIGNAL(projectConfigWidget(KDialogBase*)),
+ this, TQ_SLOT(projectConfigWidget(KDialogBase*)) );
+ connect( core(), TQ_SIGNAL(stopButtonClicked(KDevPlugin*)),
+ this, TQ_SLOT(slotStopButtonClicked(KDevPlugin*)) );
m_impl->m_widget->setIcon( UserIcon( "kdev_cvs", TDEIcon::DefaultState, CvsFactory::instance()) );
TQWhatsThis::add( m_impl->processWidget(), i18n("<b>CVS</b><p>Concurrent Versions System operations window. Shows output of Cervisia CVS Service.") );
@@ -144,92 +144,92 @@ void CvsServicePart::setupActions()
// context at runtime. See CvsServicePart::contextMenu().
actionCommit = new TDEAction( i18n("&Commit to Repository"), 0, this,
- TQT_SLOT(slotActionCommit()), actionCollection(), "cvsservice_commit" );
+ TQ_SLOT(slotActionCommit()), actionCollection(), "cvsservice_commit" );
actionCommit->setToolTip( i18n("Commit file(s)") );
actionCommit->setWhatsThis( i18n("<b>Commit file(s)</b><p>Commits file to repository if modified.") );
- actionDiff = new TDEAction( i18n("&Difference Between Revisions"), 0, this, TQT_SLOT(slotActionDiff()),
+ actionDiff = new TDEAction( i18n("&Difference Between Revisions"), 0, this, TQ_SLOT(slotActionDiff()),
actionCollection(), "cvsservice_diff" );
actionDiff->setToolTip( i18n("Build difference") );
actionDiff->setWhatsThis( i18n("<b>Build difference</b><p>Builds difference between releases.") );
- actionLog = new TDEAction( i18n("Generate &Log"), 0, this, TQT_SLOT(slotActionLog()),
+ actionLog = new TDEAction( i18n("Generate &Log"), 0, this, TQ_SLOT(slotActionLog()),
actionCollection(), "cvsservice_log" );
actionLog->setToolTip( i18n("Generate log") );
actionLog->setWhatsThis( i18n("<b>Generate log</b><p>Produces log for this file.") );
- actionAnnotate = new TDEAction( i18n("&Annotate"), 0, this, TQT_SLOT(slotActionAnnotate()),
+ actionAnnotate = new TDEAction( i18n("&Annotate"), 0, this, TQ_SLOT(slotActionAnnotate()),
actionCollection(), "cvsservice_annotate" );
actionAnnotate->setToolTip( i18n("Generate annotations") );
actionAnnotate->setWhatsThis( i18n("<b>Annotate</b><p>Produces annotations for this file.") );
- actionAdd = new TDEAction( i18n("&Add to Repository"), 0, this, TQT_SLOT(slotActionAdd()),
+ actionAdd = new TDEAction( i18n("&Add to Repository"), 0, this, TQ_SLOT(slotActionAdd()),
actionCollection(), "cvsservice_add" );
actionAdd->setToolTip( i18n("Add file to repository") );
actionAdd->setWhatsThis( i18n("<b>Add to repository</b><p>Adds file to repository.") );
- actionEdit = new TDEAction( i18n("&Edit Files"), 0, this, TQT_SLOT(slotActionEdit()),
+ actionEdit = new TDEAction( i18n("&Edit Files"), 0, this, TQ_SLOT(slotActionEdit()),
actionCollection(), "cvsservice_edit" );
actionEdit->setToolTip( i18n("Mark as being edited") );
actionEdit->setWhatsThis( i18n("<b>Mark as being edited</b><p>Mark the files as being edited.") );
- actionUnEdit = new TDEAction( i18n("&Unedit Files"), 0, this, TQT_SLOT(slotActionUnEdit()),
+ actionUnEdit = new TDEAction( i18n("&Unedit Files"), 0, this, TQ_SLOT(slotActionUnEdit()),
actionCollection(), "cvsservice_unedit" );
actionUnEdit->setToolTip( i18n("Remove editing mark from files") );
actionUnEdit->setWhatsThis( i18n("<b>Remove editing mark</b><p>Remove the editing mark from the files.") );
- actionEditors = new TDEAction( i18n("&Show Editors"), 0, this, TQT_SLOT(slotActionEditors()),
+ actionEditors = new TDEAction( i18n("&Show Editors"), 0, this, TQ_SLOT(slotActionEditors()),
actionCollection(), "cvsservice_editors" );
actionEditors->setToolTip( i18n("Show editors") );
actionEditors->setWhatsThis( i18n("<b>Show editors</b><p>Shows the list of users who are editing files.") );
actionAddBinary = new TDEAction( i18n("Add to Repository as &Binary"), 0, this,
- TQT_SLOT(slotActionAddBinary()), actionCollection(), "cvsservice_add_bin" );
+ TQ_SLOT(slotActionAddBinary()), actionCollection(), "cvsservice_add_bin" );
actionAddBinary->setToolTip( i18n("Add file to repository as binary") );
actionAddBinary->setWhatsThis( i18n("<b>Add to repository as binary</b><p>Adds file to repository as binary (-kb option).") );
actionRemove = new TDEAction( i18n("&Remove From Repository"), 0, this,
- TQT_SLOT(slotActionRemove()), actionCollection(), "cvsservice_remove" );
+ TQ_SLOT(slotActionRemove()), actionCollection(), "cvsservice_remove" );
actionRemove->setToolTip( i18n("Remove from repository") );
actionRemove->setWhatsThis( i18n("<b>Remove from repository</b><p>Removes file(s) from repository.") );
actionUpdate = new TDEAction( i18n("&Update/Revert to Another Release"), 0, this,
- TQT_SLOT(slotActionUpdate()), actionCollection(), "cvsservice_update" );
+ TQ_SLOT(slotActionUpdate()), actionCollection(), "cvsservice_update" );
actionUpdate->setToolTip( i18n("Update/revert") );
actionUpdate->setWhatsThis( i18n("<b>Update/revert to another release</b><p>Updates/reverts file(s) to another release.") );
actionRemoveSticky = new TDEAction( i18n("R&emove Sticky Flag"), 0,
- this, TQT_SLOT(slotActionRemoveSticky()), actionCollection(), "cvsservice_removesticky" );
+ this, TQ_SLOT(slotActionRemoveSticky()), actionCollection(), "cvsservice_removesticky" );
actionRemoveSticky->setToolTip( i18n("Remove sticky flag") );
actionRemoveSticky->setWhatsThis( i18n("<b>Remove sticky flag</b><p>Removes sticky flag from file(s).") );
actionTag = new TDEAction( i18n("Make &Tag/Branch"), 0,
- this, TQT_SLOT(slotActionTag()), actionCollection(), "cvsservice_tag" );
+ this, TQ_SLOT(slotActionTag()), actionCollection(), "cvsservice_tag" );
actionTag->setToolTip( i18n("Make tag/branch") );
actionTag->setWhatsThis( i18n("<b>Make tag/branch</b><p>Tags/branches selected file(s).") );
actionUnTag = new TDEAction( i18n("&Delete Tag"), 0,
- this, TQT_SLOT(slotActionUnTag()), actionCollection(), "cvsservice_untag" );
+ this, TQ_SLOT(slotActionUnTag()), actionCollection(), "cvsservice_untag" );
actionUnTag->setToolTip( i18n("Delete tag") );
actionUnTag->setWhatsThis( i18n("<b>Delete tag</b><p>Delete tag from selected file(s).") );
actionAddToIgnoreList = new TDEAction( i18n("&Ignore in CVS Operations"), 0,
- this, TQT_SLOT(slotActionAddToIgnoreList()), actionCollection(), "cvsservice_ignore" );
+ this, TQ_SLOT(slotActionAddToIgnoreList()), actionCollection(), "cvsservice_ignore" );
actionAddToIgnoreList->setToolTip( i18n("Ignore in CVS operations") );
actionAddToIgnoreList->setWhatsThis( i18n("<b>Ignore in CVS operations</b><p>Ignore file(s) by adding it to .cvsignore file.") );
actionRemoveFromIgnoreList = new TDEAction( i18n("Do &Not Ignore in CVS Operations"), 0,
- this, TQT_SLOT(slotActionRemoveFromIgnoreList()), actionCollection(), "cvsservice_donot_ignore" );
+ this, TQ_SLOT(slotActionRemoveFromIgnoreList()), actionCollection(), "cvsservice_donot_ignore" );
actionRemoveFromIgnoreList->setToolTip( i18n("Do not ignore in CVS operations") );
actionRemoveFromIgnoreList->setWhatsThis( i18n("<b>Do not ignore in CVS operations</b><p>Do not ignore file(s) by removing\nit from .cvsignore file.") );
actionLogin = new TDEAction( i18n("&Log to Server"), 0, this,
- TQT_SLOT(slotActionLogin()), actionCollection(), "cvsservice_login" );
+ TQ_SLOT(slotActionLogin()), actionCollection(), "cvsservice_login" );
actionLogin->setToolTip( i18n("Login to server") );
actionLogin->setWhatsThis( i18n("<b>Login to server</b><p>Logs in to the CVS server.") );
actionLogout = new TDEAction( i18n("L&ogout From Server"), 0, this,
- TQT_SLOT(slotActionLogout()), actionCollection(), "cvsservice_logout" );
+ TQ_SLOT(slotActionLogout()), actionCollection(), "cvsservice_logout" );
actionLogout->setToolTip( i18n("Logout from server") );
actionLogout->setWhatsThis( i18n("<b>Logout from server</b><p>Logs out from the CVS server.") );
}
@@ -278,7 +278,7 @@ void CvsServicePart::projectConfigWidget( KDialogBase *dlg )
{
TQVBox *vbox = dlg->addVBoxPage( i18n("CvsService"), i18n("CvsService"), BarIcon( info()->icon(), TDEIcon::SizeMedium) );
CvsOptionsWidget *w = new CvsOptionsWidget( (TQWidget *)vbox, "cvs config widget" );
- connect( dlg, TQT_SIGNAL(okClicked()), w, TQT_SLOT(accept()) );
+ connect( dlg, TQ_SIGNAL(okClicked()), w, TQ_SLOT(accept()) );
}
///////////////////////////////////////////////////////////////////////////////
@@ -320,45 +320,45 @@ void CvsServicePart::contextMenu( TQPopupMenu *popup, const Context *context )
if (context->hasType( Context::FileContext ))
popup->insertSeparator();
- int id = subMenu->insertItem( actionCommit->text(), this, TQT_SLOT(slotCommit()) );
+ int id = subMenu->insertItem( actionCommit->text(), this, TQ_SLOT(slotCommit()) );
subMenu->setWhatsThis(id, i18n("<b>Commit file(s)</b><p>Commits file to repository if modified."));
// CvsService let to do log and diff operations only on one file (or directory) at time
if (m_urls.count() == 1)
{
- id = subMenu->insertItem( actionDiff->text(), this, TQT_SLOT(slotDiff()) );
+ id = subMenu->insertItem( actionDiff->text(), this, TQ_SLOT(slotDiff()) );
subMenu->setWhatsThis(id, i18n("<b>Build difference</b><p>Builds difference between releases."));
- id = subMenu->insertItem( actionLog->text(), this, TQT_SLOT(slotLog()) );
+ id = subMenu->insertItem( actionLog->text(), this, TQ_SLOT(slotLog()) );
subMenu->setWhatsThis(id, i18n("<b>Generate log</b><p>Produces log for this file."));
- id = subMenu->insertItem( actionAnnotate->text(), this, TQT_SLOT(slotAnnotate()) );
+ id = subMenu->insertItem( actionAnnotate->text(), this, TQ_SLOT(slotAnnotate()) );
subMenu->setWhatsThis(id, i18n("<b>Generate Annotate</b><p>Produces annotation output for this file."));
}
- id = subMenu->insertItem( actionEditors->text(), this, TQT_SLOT(slotEditors()) );
+ id = subMenu->insertItem( actionEditors->text(), this, TQ_SLOT(slotEditors()) );
subMenu->setWhatsThis(id, i18n("<b>Show editors</b><p>Shows the list of users who are editing files."));
- id = subMenu->insertItem( actionEdit->text(), this, TQT_SLOT(slotEdit()) );
+ id = subMenu->insertItem( actionEdit->text(), this, TQ_SLOT(slotEdit()) );
subMenu->setWhatsThis(id, i18n("<b>Mark as beeing edited</b><p>Mark the files as beeing edited."));
- id = subMenu->insertItem( actionUnEdit->text(), this, TQT_SLOT(slotUnEdit()) );
+ id = subMenu->insertItem( actionUnEdit->text(), this, TQ_SLOT(slotUnEdit()) );
subMenu->setWhatsThis(id, i18n("<b>Remove editing mark</b><p>Remove the editing mark from the files."));
- id = subMenu->insertItem( actionAdd->text(), this, TQT_SLOT(slotAdd()) );
+ id = subMenu->insertItem( actionAdd->text(), this, TQ_SLOT(slotAdd()) );
subMenu->setWhatsThis(id, i18n("<b>Add to repository</b><p>Adds file to repository."));
- id = subMenu->insertItem( actionAddBinary->text(), this, TQT_SLOT(slotAddBinary()) );
+ id = subMenu->insertItem( actionAddBinary->text(), this, TQ_SLOT(slotAddBinary()) );
subMenu->setWhatsThis(id, i18n("<b>Add to repository as binary</b><p>Adds file to repository as binary (-kb option)."));
- id = subMenu->insertItem( actionRemove->text(), this, TQT_SLOT(slotRemove()) );
+ id = subMenu->insertItem( actionRemove->text(), this, TQ_SLOT(slotRemove()) );
subMenu->setWhatsThis(id, i18n("<b>Remove from repository</b><p>Removes file(s) from repository."));
subMenu->insertSeparator();
- id = subMenu->insertItem( actionTag->text(), this, TQT_SLOT(slotTag()) );
+ id = subMenu->insertItem( actionTag->text(), this, TQ_SLOT(slotTag()) );
subMenu->setWhatsThis(id, i18n("<b>Make tag/branch</b><p>Tags/branches selected file(s)."));
- id = subMenu->insertItem( actionUnTag->text(), this, TQT_SLOT(slotUnTag()) );
+ id = subMenu->insertItem( actionUnTag->text(), this, TQ_SLOT(slotUnTag()) );
subMenu->setWhatsThis(id, i18n("<b>Delete tag</b><p>Delete tag from selected file(s)."));
- id = subMenu->insertItem( actionUpdate->text(), this, TQT_SLOT(slotUpdate()) );
+ id = subMenu->insertItem( actionUpdate->text(), this, TQ_SLOT(slotUpdate()) );
subMenu->setWhatsThis(id, i18n("<b>Update/revert to another release</b><p>Updates/reverts file(s) to another release."));
- id = subMenu->insertItem( actionRemoveSticky->text(), this, TQT_SLOT(slotRemoveSticky()) );
+ id = subMenu->insertItem( actionRemoveSticky->text(), this, TQ_SLOT(slotRemoveSticky()) );
subMenu->setWhatsThis(id, i18n("<b>Remove sticky flag</b><p>Removes sticky flag from file(s)."));
subMenu->insertSeparator();
- id = subMenu->insertItem( actionAddToIgnoreList->text(), this, TQT_SLOT(slotAddToIgnoreList()) );
+ id = subMenu->insertItem( actionAddToIgnoreList->text(), this, TQ_SLOT(slotAddToIgnoreList()) );
subMenu->setWhatsThis(id, i18n("<b>Ignore in CVS operations</b><p>Ignore file(s) by adding it to .cvsignore file."));
- id = subMenu->insertItem( actionRemoveFromIgnoreList->text(), this, TQT_SLOT(slotRemoveFromIgnoreList()) );
+ id = subMenu->insertItem( actionRemoveFromIgnoreList->text(), this, TQ_SLOT(slotRemoveFromIgnoreList()) );
subMenu->setWhatsThis(id, i18n("<b>Do not ignore in CVS operations</b><p>Do not ignore file(s) by removing\nit from .cvsignore file."));
// Now insert in parent menu
@@ -750,8 +750,8 @@ void CvsServicePart::slotProjectOpened()
options->load( project() );
// When files are added to project they may be added to/removed from repository too
- connect( project(), TQT_SIGNAL(addedFilesToProject(const TQStringList&)), this, TQT_SLOT(slotAddFilesToProject(const TQStringList &)) );
- connect( project(), TQT_SIGNAL(removedFilesFromProject(const TQStringList&)), this, TQT_SLOT(slotRemovedFilesFromProject(const TQStringList &)) );
+ connect( project(), TQ_SIGNAL(addedFilesToProject(const TQStringList&)), this, TQ_SLOT(slotAddFilesToProject(const TQStringList &)) );
+ connect( project(), TQ_SIGNAL(removedFilesFromProject(const TQStringList&)), this, TQ_SLOT(slotRemovedFilesFromProject(const TQStringList &)) );
}
///////////////////////////////////////////////////////////////////////////////
@@ -772,8 +772,8 @@ void CvsServicePart::slotProjectClosed()
delete options;
// We don't have a project anymore ...
- disconnect( project(), TQT_SIGNAL(addedFilesToProject(const TQStringList&)), this, TQT_SLOT(slotAddFilesToProject(const TQStringList &)) );
- disconnect( project(), TQT_SIGNAL(removedFilesFromProject(const TQStringList&)), this, TQT_SLOT(slotRemovedFilesFromProject(const TQStringList &)) );
+ disconnect( project(), TQ_SIGNAL(addedFilesToProject(const TQStringList&)), this, TQ_SLOT(slotAddFilesToProject(const TQStringList &)) );
+ disconnect( project(), TQ_SIGNAL(removedFilesFromProject(const TQStringList&)), this, TQ_SLOT(slotRemovedFilesFromProject(const TQStringList &)) );
}
#include "cvspart.moc"
diff --git a/vcs/cvsservice/cvspart.h b/vcs/cvsservice/cvspart.h
index e2df8ce0..99008dc8 100644
--- a/vcs/cvsservice/cvspart.h
+++ b/vcs/cvsservice/cvspart.h
@@ -36,7 +36,7 @@ class CvsServicePartImpl;
class CvsServicePart : public KDevVersionControl
{
- Q_OBJECT
+ TQ_OBJECT
friend class CvsServicePartImpl;
diff --git a/vcs/cvsservice/cvspartimpl.cpp b/vcs/cvsservice/cvspartimpl.cpp
index 01c85df3..36d9a498 100644
--- a/vcs/cvsservice/cvspartimpl.cpp
+++ b/vcs/cvsservice/cvspartimpl.cpp
@@ -19,8 +19,8 @@
#include <kdebug.h>
#include <tdeversion.h>
#include <tdelocale.h>
-#include <kprocess.h>
-#include <kstandarddirs.h>
+#include <tdeprocess.h>
+#include <tdestandarddirs.h>
#include <tdemainwindow.h>
#include <dcopref.h>
// CvsService stuff
@@ -80,7 +80,7 @@ CvsServicePartImpl::CvsServicePartImpl( CvsServicePart *part, const char *name )
m_scheduler = new DirectScheduler( m_widget );
m_fileInfoProvider = new CVSFileInfoProvider( part, m_cvsService );
- connect( core(), TQT_SIGNAL(projectOpened()), this, TQT_SLOT(slotProjectOpened()) );
+ connect( core(), TQ_SIGNAL(projectOpened()), this, TQ_SLOT(slotProjectOpened()) );
}
else
{
@@ -374,7 +374,7 @@ bool CvsServicePartImpl::checkout()
modulePath = dlg.workDir() + dlg.module();
m_scheduler->schedule( job );
- connect( processWidget(), TQT_SIGNAL(jobFinished(bool,int)), this, TQT_SLOT(slotCheckoutFinished(bool,int)) );
+ connect( processWidget(), TQ_SIGNAL(jobFinished(bool,int)), this, TQ_SLOT(slotCheckoutFinished(bool,int)) );
return true;
}
}
@@ -406,7 +406,7 @@ void CvsServicePartImpl::commit( const KURL::List& urlList )
}
m_scheduler->schedule( cvsJob );
- connect( processWidget(), TQT_SIGNAL(jobFinished(bool,int)), this, TQT_SLOT(slotJobFinished(bool,int)) );
+ connect( processWidget(), TQ_SIGNAL(jobFinished(bool,int)), this, TQ_SLOT(slotJobFinished(bool,int)) );
// 2. if requested to do so, add an entry to the Changelog too
if (dlg.mustAddToChangeLog())
@@ -448,7 +448,7 @@ void CvsServicePartImpl::update( const KURL::List& urlList )
additionalOptions );
m_scheduler->schedule( cvsJob );
- connect( processWidget(), TQT_SIGNAL(jobFinished(bool,int)), this, TQT_SLOT(slotJobFinished(bool,int)) );
+ connect( processWidget(), TQ_SIGNAL(jobFinished(bool,int)), this, TQ_SLOT(slotJobFinished(bool,int)) );
doneOperation();
}
@@ -465,7 +465,7 @@ void CvsServicePartImpl::add( const KURL::List& urlList, bool binary )
DCOPRef cvsJob = m_cvsService->add( fileList(), binary );
m_scheduler->schedule( cvsJob );
- connect( processWidget(), TQT_SIGNAL(jobFinished(bool,int)), this, TQT_SLOT(slotJobFinished(bool,int)) );
+ connect( processWidget(), TQ_SIGNAL(jobFinished(bool,int)), this, TQ_SLOT(slotJobFinished(bool,int)) );
doneOperation();
}
@@ -531,7 +531,7 @@ void CvsServicePartImpl::unedit( const KURL::List& urlList)
DCOPRef cvsJob = m_cvsService->unedit( fileList() );
m_scheduler->schedule( cvsJob );
- connect( processWidget(), TQT_SIGNAL(jobFinished(bool,int)), this, TQT_SLOT(slotJobFinished(bool,int)) );
+ connect( processWidget(), TQ_SIGNAL(jobFinished(bool,int)), this, TQ_SLOT(slotJobFinished(bool,int)) );
doneOperation();
}
@@ -548,7 +548,7 @@ void CvsServicePartImpl::edit( const KURL::List& urlList)
DCOPRef cvsJob = m_cvsService->edit( fileList() );
m_scheduler->schedule( cvsJob );
- connect( processWidget(), TQT_SIGNAL(jobFinished(bool,int)), this, TQT_SLOT(slotJobFinished(bool,int)) );
+ connect( processWidget(), TQ_SIGNAL(jobFinished(bool,int)), this, TQ_SLOT(slotJobFinished(bool,int)) );
doneOperation();
}
@@ -582,8 +582,8 @@ void CvsServicePartImpl::remove( const KURL::List& urlList )
DCOPRef cvsJob = m_cvsService->remove( fileList(), true );
m_scheduler->schedule( cvsJob );
- connect( processWidget(), TQT_SIGNAL(jobFinished(bool,int)),
- this, TQT_SLOT(slotJobFinished(bool,int)) );
+ connect( processWidget(), TQ_SIGNAL(jobFinished(bool,int)),
+ this, TQ_SLOT(slotJobFinished(bool,int)) );
doneOperation();
}
@@ -606,8 +606,8 @@ void CvsServicePartImpl::removeStickyFlag( const KURL::List& urlList )
"-A" );
m_scheduler->schedule( cvsJob );
- connect( processWidget(), TQT_SIGNAL(jobFinished(bool,int)),
- this, TQT_SLOT(slotJobFinished(bool,int)) );
+ connect( processWidget(), TQ_SIGNAL(jobFinished(bool,int)),
+ this, TQ_SLOT(slotJobFinished(bool,int)) );
doneOperation();
}
@@ -656,8 +656,8 @@ void CvsServicePartImpl::diff( const KURL::List& urlList )
}
m_scheduler->schedule( cvsJob );
- connect( processWidget(), TQT_SIGNAL(jobFinished(bool,int)),
- this, TQT_SLOT(slotDiffFinished(bool,int)) );
+ connect( processWidget(), TQ_SIGNAL(jobFinished(bool,int)),
+ this, TQ_SLOT(slotDiffFinished(bool,int)) );
doneOperation();
}
@@ -680,8 +680,8 @@ void CvsServicePartImpl::tag( const KURL::List& urlList )
dlg.isBranch(), dlg.force() );
m_scheduler->schedule( cvsJob );
- connect( processWidget(), TQT_SIGNAL(jobFinished(bool,int)),
- this, TQT_SLOT(slotJobFinished(bool,int)) );
+ connect( processWidget(), TQ_SIGNAL(jobFinished(bool,int)),
+ this, TQ_SLOT(slotJobFinished(bool,int)) );
doneOperation();
}
@@ -705,8 +705,8 @@ void CvsServicePartImpl::unTag( const KURL::List& urlList )
dlg.isBranch(), dlg.force() );
m_scheduler->schedule( cvsJob );
- connect( processWidget(), TQT_SIGNAL(jobFinished(bool,int)),
- this, TQT_SLOT(slotJobFinished(bool,int)) );
+ connect( processWidget(), TQ_SIGNAL(jobFinished(bool,int)),
+ this, TQ_SLOT(slotJobFinished(bool,int)) );
doneOperation();
}
@@ -747,7 +747,7 @@ void CvsServicePartImpl::createNewProject( const TQString &dirName,
DCOPRef cvsJob = m_cvsService->import( dirName, location, module, filesToIgnore, message, vendor, release, false );
m_scheduler->schedule( cvsJob );
- connect( processWidget(), TQT_SIGNAL(jobFinished(bool,int)), this, TQT_SLOT(slotCheckoutFinished(bool,int)) );
+ connect( processWidget(), TQ_SIGNAL(jobFinished(bool,int)), this, TQ_SLOT(slotCheckoutFinished(bool,int)) );
*/
TQString rsh_preamble;
if ( !options->cvsRshEnvVar().isEmpty() )
diff --git a/vcs/cvsservice/cvspartimpl.h b/vcs/cvsservice/cvspartimpl.h
index ade7ffe4..d64ad625 100644
--- a/vcs/cvsservice/cvspartimpl.h
+++ b/vcs/cvsservice/cvspartimpl.h
@@ -45,7 +45,7 @@ class CvsServicePartImpl : public TQObject
{
friend class CvsServicePart;
- Q_OBJECT
+ TQ_OBJECT
public:
//! Available Cvs operations
diff --git a/vcs/cvsservice/cvsprocesswidget.cpp b/vcs/cvsservice/cvsprocesswidget.cpp
index bb8fb459..87e917a5 100644
--- a/vcs/cvsservice/cvsprocesswidget.cpp
+++ b/vcs/cvsservice/cvsprocesswidget.cpp
@@ -140,7 +140,7 @@ bool CvsProcessWidget::startJob( const DCOPRef &aJob )
kdDebug(9006) << "Running: " << cmdLine << endl;
// disconnect 3rd party slots from our signals
- disconnect( TQT_SIGNAL(jobFinished(bool, int)) );
+ disconnect( TQ_SIGNAL(jobFinished(bool, int)) );
showInfo( i18n("Started job: %1").arg( cmdLine ) );
diff --git a/vcs/cvsservice/cvsprocesswidget.h b/vcs/cvsservice/cvsprocesswidget.h
index c8f9c8af..7a9337f8 100644
--- a/vcs/cvsservice/cvsprocesswidget.h
+++ b/vcs/cvsservice/cvsprocesswidget.h
@@ -26,7 +26,7 @@ class TQStyleSheetItem;
class CvsProcessWidget : public TQTextEdit, virtual public CVSServiceDCOPIface
{
- Q_OBJECT
+ TQ_OBJECT
public:
CvsProcessWidget( CvsService_stub *service, CvsServicePart *part,
diff --git a/vcs/cvsservice/diffdialog.h b/vcs/cvsservice/diffdialog.h
index 28b0c181..b1e630f3 100644
--- a/vcs/cvsservice/diffdialog.h
+++ b/vcs/cvsservice/diffdialog.h
@@ -22,7 +22,7 @@
*/
class DiffDialog : public DiffDialogBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
DiffDialog(const CVSEntry &entry, TQWidget *parent = 0, const char *name = 0, WFlags f = 0 );
diff --git a/vcs/cvsservice/diffdialogbase.ui b/vcs/cvsservice/diffdialogbase.ui
index 97bbd918..06c9b11c 100644
--- a/vcs/cvsservice/diffdialogbase.ui
+++ b/vcs/cvsservice/diffdialogbase.ui
@@ -201,9 +201,6 @@
<property name="text">
<string>&amp;OK</string>
</property>
- <property name="accel">
- <string></string>
- </property>
<property name="autoDefault">
<bool>true</bool>
</property>
@@ -218,9 +215,6 @@
<property name="text">
<string>&amp;Cancel</string>
</property>
- <property name="accel">
- <string></string>
- </property>
<property name="autoDefault">
<bool>true</bool>
</property>
diff --git a/vcs/cvsservice/diffwidget.cpp b/vcs/cvsservice/diffwidget.cpp
index 008dc867..0b92b200 100644
--- a/vcs/cvsservice/diffwidget.cpp
+++ b/vcs/cvsservice/diffwidget.cpp
@@ -41,7 +41,7 @@ TQStringList KDiffTextEdit::extPartsTranslated;
KDiffTextEdit::KDiffTextEdit( TQWidget* parent, const char* name ): TQTextEdit( parent, name )
{
- TDEConfig* config = kapp->config();
+ TDEConfig* config = tdeApp->config();
config->setGroup( "Diff" );
_highlight = config->readBoolEntry( "Highlight", true );
@@ -50,7 +50,7 @@ KDiffTextEdit::KDiffTextEdit( TQWidget* parent, const char* name ): TQTextEdit(
KDiffTextEdit::~KDiffTextEdit()
{
- TDEConfig* config = kapp->config();
+ TDEConfig* config = tdeApp->config();
config->setGroup( "Diff" );
config->writeEntry( "Highlight", _highlight );
@@ -75,14 +75,14 @@ TQPopupMenu* KDiffTextEdit::createPopupMenu( const TQPoint& p )
}
if ( !extPartsTranslated.isEmpty() )
popup->insertSeparator( i );
- connect( popup, TQT_SIGNAL(activated(int)), this, TQT_SLOT(popupActivated(int)) );
+ connect( popup, TQ_SIGNAL(activated(int)), this, TQ_SLOT(popupActivated(int)) );
- popup->insertItem( SmallIconSet( "document-save-as" ), i18n( "&Save As..." ), this, TQT_SLOT(saveAs()), CTRL + Key_S, POPUP_BASE - 2, 0 );
+ popup->insertItem( SmallIconSet( "document-save-as" ), i18n( "&Save As..." ), this, TQ_SLOT(saveAs()), CTRL + Key_S, POPUP_BASE - 2, 0 );
popup->setItemEnabled( POPUP_BASE - 2, length() > 0 );
popup->insertSeparator( 1 );
- popup->insertItem( i18n( "Highlight Syntax" ), this, TQT_SLOT(toggleSyntaxHighlight()), 0, POPUP_BASE - 1, 2 );
+ popup->insertItem( i18n( "Highlight Syntax" ), this, TQ_SLOT(toggleSyntaxHighlight()), 0, POPUP_BASE - 1, 2 );
popup->setItemChecked( POPUP_BASE - 1, _highlight );
popup->insertSeparator( 3 );
@@ -184,7 +184,7 @@ DiffWidget::DiffWidget( TQWidget *parent, const char *name, WFlags f ):
te->setReadOnly( true );
te->setTextFormat( TQTextEdit::PlainText );
// te->setMinimumSize( 300, 200 );
- connect( te, TQT_SIGNAL(externalPartRequested(const TQString&)), this, TQT_SLOT(loadExtPart(const TQString&)) );
+ connect( te, TQ_SIGNAL(externalPartRequested(const TQString&)), this, TQ_SLOT(loadExtPart(const TQString&)) );
TQVBoxLayout* layout = new TQVBoxLayout( this );
layout->addWidget( te );
@@ -222,7 +222,7 @@ void DiffWidget::loadExtPart( const TQString& partName )
if ( !extService )
return;
- extPart = KParts::ComponentFactory::createPartInstanceFromService<KParts::ReadOnlyPart>( extService, this, 0, TQT_TQOBJECT(this), 0 );
+ extPart = KParts::ComponentFactory::createPartInstanceFromService<KParts::ReadOnlyPart>( extService, this, 0, this, 0 );
if ( !extPart || !extPart->widget() )
return;
@@ -301,10 +301,10 @@ void DiffWidget::openURL( const KURL& url )
if ( !job )
return;
- connect( job, TQT_SIGNAL(data( TDEIO::Job *, const TQByteArray & )),
- this, TQT_SLOT(slotAppend( TDEIO::Job*, const TQByteArray& )) );
- connect( job, TQT_SIGNAL(result( TDEIO::Job * )),
- this, TQT_SLOT(slotFinished()) );
+ connect( job, TQ_SIGNAL(data( TDEIO::Job *, const TQByteArray & )),
+ this, TQ_SLOT(slotAppend( TDEIO::Job*, const TQByteArray& )) );
+ connect( job, TQ_SIGNAL(result( TDEIO::Job * )),
+ this, TQ_SLOT(slotFinished()) );
}
void DiffWidget::contextMenuEvent( TQContextMenuEvent* /* e */ )
@@ -312,7 +312,7 @@ void DiffWidget::contextMenuEvent( TQContextMenuEvent* /* e */ )
TQPopupMenu* popup = new TQPopupMenu( this );
if ( !te->isVisible() )
- popup->insertItem( i18n("Display &Raw Output"), this, TQT_SLOT(showTextEdit()) );
+ popup->insertItem( i18n("Display &Raw Output"), this, TQ_SLOT(showTextEdit()) );
popup->exec( TQCursor::pos() );
delete popup;
diff --git a/vcs/cvsservice/diffwidget.h b/vcs/cvsservice/diffwidget.h
index 9142aa8a..b14f5860 100644
--- a/vcs/cvsservice/diffwidget.h
+++ b/vcs/cvsservice/diffwidget.h
@@ -31,7 +31,7 @@ namespace KParts {
// Helper class that displays a modified RMB popup menu
class KDiffTextEdit: public TQTextEdit
{
- Q_OBJECT
+ TQ_OBJECT
public:
KDiffTextEdit( TQWidget* parent = 0, const char* name = 0 );
@@ -60,7 +60,7 @@ private:
class DiffWidget : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/vcs/cvsservice/editorsdialog.cpp b/vcs/cvsservice/editorsdialog.cpp
index 199ffdc6..4dea5db1 100644
--- a/vcs/cvsservice/editorsdialog.cpp
+++ b/vcs/cvsservice/editorsdialog.cpp
@@ -25,7 +25,7 @@
#include <cvsservice_stub.h>
EditorsDialog::EditorsDialog(CvsService_stub *cvsService, TQWidget *parent, const char *name)
- : DCOPObject( "CvsEditorsDCOPIface"), EditorsDialogBase(parent, name, TRUE, TQt::WDestructiveClose),
+ : DCOPObject( "CvsEditorsDCOPIface"), EditorsDialogBase(parent, name, true, TQt::WDestructiveClose),
m_cvsService(cvsService), m_cvsJob(0)
{
}
diff --git a/vcs/cvsservice/editorsdialog.h b/vcs/cvsservice/editorsdialog.h
index 5bf19b65..86030c14 100644
--- a/vcs/cvsservice/editorsdialog.h
+++ b/vcs/cvsservice/editorsdialog.h
@@ -21,7 +21,7 @@ class TQStringList;
class EditorsDialog: public EditorsDialogBase, virtual public CVSServiceDCOPIface
{
-Q_OBJECT
+TQ_OBJECT
public:
EditorsDialog(CvsService_stub *cvsService, TQWidget *parent = 0, const char *name = 0);
diff --git a/vcs/cvsservice/editorsdialogbase.ui b/vcs/cvsservice/editorsdialogbase.ui
index 37af7c1b..7e1fa65f 100644
--- a/vcs/cvsservice/editorsdialogbase.ui
+++ b/vcs/cvsservice/editorsdialogbase.ui
@@ -60,9 +60,6 @@
<property name="text">
<string>&amp;Cancel</string>
</property>
- <property name="accel">
- <string></string>
- </property>
<property name="autoDefault">
<bool>true</bool>
</property>
diff --git a/vcs/cvsservice/integrator/cvsserviceintegrator.h b/vcs/cvsservice/integrator/cvsserviceintegrator.h
index ebf4224e..70b18751 100644
--- a/vcs/cvsservice/integrator/cvsserviceintegrator.h
+++ b/vcs/cvsservice/integrator/cvsserviceintegrator.h
@@ -25,7 +25,7 @@
#include <tqstringlist.h>
class CVSServiceIntegrator: public KDevVCSIntegrator {
-Q_OBJECT
+TQ_OBJECT
public:
CVSServiceIntegrator(TQObject* parent, const char* name, const TQStringList args = TQStringList());
diff --git a/vcs/cvsservice/integrator/integratordlg.cpp b/vcs/cvsservice/integrator/integratordlg.cpp
index e44ed9e7..b2605bf7 100644
--- a/vcs/cvsservice/integrator/integratordlg.cpp
+++ b/vcs/cvsservice/integrator/integratordlg.cpp
@@ -30,7 +30,7 @@
#include <tdeapplication.h>
#include <kdialogbase.h>
#include <kurlrequester.h>
-#include <kprocess.h>
+#include <tdeprocess.h>
#include <tdelocale.h>
#include <tdemessagebox.h>
#include <kdebug.h>
diff --git a/vcs/cvsservice/integrator/integratordlg.h b/vcs/cvsservice/integrator/integratordlg.h
index ac6d7f9d..817fc622 100644
--- a/vcs/cvsservice/integrator/integratordlg.h
+++ b/vcs/cvsservice/integrator/integratordlg.h
@@ -26,7 +26,7 @@
class TQDomDocument;
class IntegratorDlg: public IntegratorDlgBase, public VCSDialog {
-Q_OBJECT
+TQ_OBJECT
public:
IntegratorDlg(CVSServiceIntegrator *integrator, TQWidget *parent = 0, const char *name = 0);
diff --git a/vcs/cvsservice/integrator/integratordlgbase.ui b/vcs/cvsservice/integrator/integratordlgbase.ui
index 6660faab..5dc8ae11 100644
--- a/vcs/cvsservice/integrator/integratordlgbase.ui
+++ b/vcs/cvsservice/integrator/integratordlgbase.ui
@@ -389,11 +389,11 @@
<tabstop>login</tabstop>
<tabstop>init</tabstop>
</tabstops>
-<Q_SLOTS>
+<slots>
<slot>init_clicked()</slot>
<slot>login_clicked()</slot>
<slot>createModule_clicked()</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
<includes>
<include location="global" impldecl="in implementation">klineedit.h</include>
diff --git a/vcs/cvsservice/releaseinputdialog.h b/vcs/cvsservice/releaseinputdialog.h
index dc5597af..7e4befd2 100644
--- a/vcs/cvsservice/releaseinputdialog.h
+++ b/vcs/cvsservice/releaseinputdialog.h
@@ -20,7 +20,7 @@
*/
class ReleaseInputDialog : public ReleaseInputDialogBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/vcs/cvsservice/releaseinputdialogbase.ui b/vcs/cvsservice/releaseinputdialogbase.ui
index 92687fb8..1132e928 100644
--- a/vcs/cvsservice/releaseinputdialogbase.ui
+++ b/vcs/cvsservice/releaseinputdialogbase.ui
@@ -188,9 +188,6 @@
<property name="text">
<string>&amp;OK</string>
</property>
- <property name="accel">
- <string></string>
- </property>
<property name="autoDefault">
<bool>true</bool>
</property>
@@ -205,9 +202,6 @@
<property name="text">
<string>&amp;Cancel</string>
</property>
- <property name="accel">
- <string></string>
- </property>
<property name="autoDefault">
<bool>true</bool>
</property>
diff --git a/vcs/cvsservice/tagdialog.h b/vcs/cvsservice/tagdialog.h
index d912c7ff..f20ab853 100644
--- a/vcs/cvsservice/tagdialog.h
+++ b/vcs/cvsservice/tagdialog.h
@@ -22,7 +22,7 @@
*/
class TagDialog : public TagDialogBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
TagDialog( const TQString &caption, TQWidget *parent = 0, const char *name = 0 );
diff --git a/vcs/cvsservice/tagdialogbase.ui b/vcs/cvsservice/tagdialogbase.ui
index dc12e6bc..e5e52848 100644
--- a/vcs/cvsservice/tagdialogbase.ui
+++ b/vcs/cvsservice/tagdialogbase.ui
@@ -113,9 +113,6 @@
<property name="text">
<string>&amp;OK</string>
</property>
- <property name="accel">
- <string></string>
- </property>
<property name="autoDefault">
<bool>true</bool>
</property>
@@ -130,9 +127,6 @@
<property name="text">
<string>&amp;Cancel</string>
</property>
- <property name="accel">
- <string></string>
- </property>
<property name="autoDefault">
<bool>true</bool>
</property>
diff --git a/vcs/perforce/commitdlg.cpp b/vcs/perforce/commitdlg.cpp
index c5706903..daa882d4 100644
--- a/vcs/perforce/commitdlg.cpp
+++ b/vcs/perforce/commitdlg.cpp
@@ -17,7 +17,7 @@
#include <tqtextedit.h>
#include <tqpushbutton.h>
#include <tqregexp.h>
-#include <kprocess.h>
+#include <tdeprocess.h>
#include <tdeapplication.h>
#include <tdelocale.h>
#include <klineedit.h>
@@ -103,9 +103,9 @@ void CommitDialog::setDepotFiles( const TQStringList& lst )
args << (*it);
}
- ExecCommand* cmd = new ExecCommand( "p4", args, TQString(), TQStringList(), TQT_TQOBJECT(this) );
- connect( cmd, TQT_SIGNAL(finished( const TQString&, const TQString& )),
- this, TQT_SLOT(getFilesFinished( const TQString&, const TQString& )) );
+ ExecCommand* cmd = new ExecCommand( "p4", args, TQString(), TQStringList(), this );
+ connect( cmd, TQ_SIGNAL(finished( const TQString&, const TQString& )),
+ this, TQ_SLOT(getFilesFinished( const TQString&, const TQString& )) );
}
void CommitDialog::getFilesFinished( const TQString& out, const TQString& /* err */ )
diff --git a/vcs/perforce/commitdlg.h b/vcs/perforce/commitdlg.h
index 7fa70404..a2dbf2fd 100644
--- a/vcs/perforce/commitdlg.h
+++ b/vcs/perforce/commitdlg.h
@@ -23,7 +23,7 @@ class TDEProcess;
class CommitDialog : public KDialogBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
CommitDialog( TQWidget *parent = 0, const char *name = 0 );
diff --git a/vcs/perforce/integrator/perforceintegrator.h b/vcs/perforce/integrator/perforceintegrator.h
index 2b82046f..4384d583 100644
--- a/vcs/perforce/integrator/perforceintegrator.h
+++ b/vcs/perforce/integrator/perforceintegrator.h
@@ -26,7 +26,7 @@
class PerforceIntegrator : public KDevVCSIntegrator
{
-Q_OBJECT
+TQ_OBJECT
public:
PerforceIntegrator(TQObject* parent, const char* name, const TQStringList args = TQStringList());
diff --git a/vcs/perforce/integrator/pfintegratordlg.h b/vcs/perforce/integrator/pfintegratordlg.h
index 3e7bf4de..71a48b11 100644
--- a/vcs/perforce/integrator/pfintegratordlg.h
+++ b/vcs/perforce/integrator/pfintegratordlg.h
@@ -24,7 +24,7 @@
#include <kdevvcsintegrator.h>
class PFIntegratorDlg: public PFIntegratorDlgBase, public VCSDialog {
-Q_OBJECT
+TQ_OBJECT
public:
PFIntegratorDlg(TQWidget *parent = 0, const char *name = 0);
diff --git a/vcs/perforce/perforcepart.cpp b/vcs/perforce/perforcepart.cpp
index f92666b6..e3229fb6 100644
--- a/vcs/perforce/perforcepart.cpp
+++ b/vcs/perforce/perforcepart.cpp
@@ -18,7 +18,7 @@
#include <tdepopupmenu.h>
#include <kdebug.h>
#include <kdevgenericfactory.h>
-#include <kprocess.h>
+#include <tdeprocess.h>
#include <tdemessagebox.h>
#include <tdeapplication.h>
#include <tdeaction.h>
@@ -33,19 +33,19 @@
#include "commitdlg.h"
#include "execcommand.h"
-static const KDevPluginInfo data("kdevperforce");
+static const KDevPluginInfo pluginData("kdevperforce");
typedef KDevGenericFactory<PerforcePart> PerforceFactory;
-K_EXPORT_COMPONENT_FACTORY( libkdevperforce, PerforceFactory( data ) )
+K_EXPORT_COMPONENT_FACTORY( libkdevperforce, PerforceFactory( pluginData ) )
PerforcePart::PerforcePart( TQObject *parent, const char *name, const TQStringList & )
- : KDevVersionControl( &data, parent, name ? name : "PerforcePart" )
+ : KDevVersionControl( &pluginData, parent, name ? name : "PerforcePart" )
{
setInstance(PerforceFactory::instance());
setupActions();
- 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 *)) );
}
@@ -54,31 +54,31 @@ PerforcePart::~PerforcePart()
void PerforcePart::setupActions()
{
- actionEdit = new TDEAction( i18n("Edit"), 0, this, TQT_SLOT(slotActionEdit()),
+ actionEdit = new TDEAction( i18n("Edit"), 0, this, TQ_SLOT(slotActionEdit()),
actionCollection(), "perforce_edit" );
actionEdit->setToolTip(i18n("Edit"));
actionEdit->setWhatsThis(i18n("<b>Edit</b><p>Opens file(s) in a client workspace for edit."));
- actionRevert = new TDEAction( i18n("Revert"), 0, this, TQT_SLOT(slotActionRevert()),
+ actionRevert = new TDEAction( i18n("Revert"), 0, this, TQ_SLOT(slotActionRevert()),
actionCollection(), "perforce_revert" );
actionRevert->setToolTip(i18n("Revert"));
actionRevert->setWhatsThis(i18n("<b>Revert</b><p>Discards changes made to open files."));
- actionSubmit = new TDEAction( i18n("Submit"), 0, this, TQT_SLOT(slotActionCommit()),
+ actionSubmit = new TDEAction( i18n("Submit"), 0, this, TQ_SLOT(slotActionCommit()),
actionCollection(), "perforce_submit" );
actionSubmit->setToolTip(i18n("Submit"));
actionSubmit->setWhatsThis(i18n("<b>Submit</b><p>Sends changes made to open files to the depot."));
- actionSync = new TDEAction( i18n("Sync"), 0, this, TQT_SLOT(slotActionUpdate()),
+ actionSync = new TDEAction( i18n("Sync"), 0, this, TQ_SLOT(slotActionUpdate()),
actionCollection(), "perforce_sync" );
actionSync->setToolTip(i18n("Sync"));
actionSync->setWhatsThis(i18n("<b>Sync</b><p>Copies files from the depot into the workspace."));
- actionDiff = new TDEAction( i18n("Diff Against Repository"), 0, this, TQT_SLOT(slotActionDiff()),
+ actionDiff = new TDEAction( i18n("Diff Against Repository"), 0, this, TQ_SLOT(slotActionDiff()),
actionCollection(), "perforce_diff" );
actionDiff->setToolTip(i18n("Diff against repository"));
actionDiff->setWhatsThis(i18n("<b>Diff against repository</b><p>Compares a client workspace file to a revision in the depot."));
- actionAdd = new TDEAction( i18n("Add to Repository"), 0, this, TQT_SLOT(slotActionAdd()),
+ actionAdd = new TDEAction( i18n("Add to Repository"), 0, this, TQ_SLOT(slotActionAdd()),
actionCollection(), "perforce_add" );
actionAdd->setToolTip(i18n("Add to repository"));
actionAdd->setWhatsThis(i18n("<b>Add to repository</b><p>Open file(s) in a client workspace for addition to the depot."));
- actionRemove = new TDEAction( i18n("Remove From Repository"), 0, this, TQT_SLOT(slotActionRemove()),
+ actionRemove = new TDEAction( i18n("Remove From Repository"), 0, this, TQ_SLOT(slotActionRemove()),
actionCollection(), "perforce_remove" );
actionRemove->setToolTip(i18n("Remove from repository"));
actionRemove->setWhatsThis(i18n("<b>Remove from repository</b><p>Open file(s) in a client workspace for deletion from the depot."));
@@ -97,26 +97,26 @@ void PerforcePart::contextMenu(TQPopupMenu *popup, const Context *context)
sub->insertTitle( i18n("Actions for %1").arg(name) );
int id = sub->insertItem( i18n("Edit"),
- this, TQT_SLOT(slotEdit()) );
+ this, TQ_SLOT(slotEdit()) );
sub->setWhatsThis(id, i18n("<b>Edit</b><p>Opens file(s) in a client workspace for edit."));
id = sub->insertItem( i18n("Revert"),
- this, TQT_SLOT(slotRevert()) );
+ this, TQ_SLOT(slotRevert()) );
sub->setWhatsThis(id, i18n("<b>Revert</b><p>Discards changes made to open files."));
id = sub->insertItem( i18n("Submit"),
- this, TQT_SLOT(slotCommit()) );
+ this, TQ_SLOT(slotCommit()) );
sub->setWhatsThis(id, i18n("<b>Submit</b><p>Sends changes made to open files to the depot."));
id = sub->insertItem( i18n("Sync"),
- this, TQT_SLOT(slotUpdate()) );
+ this, TQ_SLOT(slotUpdate()) );
sub->setWhatsThis(id, i18n("<b>Sync</b><p>Copies files from the depot into the workspace."));
sub->insertSeparator();
id = sub->insertItem( i18n("Diff Against Repository"),
- this, TQT_SLOT(slotDiff()) );
+ this, TQ_SLOT(slotDiff()) );
sub->setWhatsThis(id, i18n("<b>Diff against repository</b><p>Compares a client workspace file to a revision in the depot."));
id = sub->insertItem( i18n("Add to Repository"),
- this, TQT_SLOT(slotAdd()) );
+ this, TQ_SLOT(slotAdd()) );
sub->setWhatsThis(id, i18n("<b>Add to repository</b><p>Open file(s) in a client workspace for addition to the depot."));
id = sub->insertItem( i18n("Remove From Repository"),
- this, TQT_SLOT(slotRemove()) );
+ this, TQ_SLOT(slotRemove()) );
sub->setWhatsThis(id, i18n("<b>Remove from repository</b><p>Open file(s) in a client workspace for deletion from the depot."));
id = popup->insertItem(i18n("Perforce"), sub);
}
@@ -243,8 +243,8 @@ void PerforcePart::diff( const TQString& filename )
args << "-du";
args << name;
ExecCommand* cmv = new ExecCommand( "p4", args, TQString(), TQStringList(), 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& )) );
}
void PerforcePart::slotDiffFinished( const TQString& diff, const TQString& err )
diff --git a/vcs/perforce/perforcepart.h b/vcs/perforce/perforcepart.h
index 7c034424..6980eaab 100644
--- a/vcs/perforce/perforcepart.h
+++ b/vcs/perforce/perforcepart.h
@@ -22,7 +22,7 @@ class TDEAction;
class PerforcePart : public KDevVersionControl
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/vcs/subversion/commitdlg.cpp b/vcs/subversion/commitdlg.cpp
index b342da09..f1987250 100644
--- a/vcs/subversion/commitdlg.cpp
+++ b/vcs/subversion/commitdlg.cpp
@@ -32,7 +32,7 @@ bool CommitDlg::eventFilter( TQObject* obj, TQEvent* ev )
{
if( ev->type() == TQEvent::KeyPress )
{
- TQKeyEvent* k = TQT_TQKEYEVENT(ev);
+ TQKeyEvent* k = static_cast<TQKeyEvent*>(ev);
if( ( k->key() == TQt::Key_Return || k->key() == TQt::Key_Enter ) && k->state() == TQt::ControlButton )
{
accept();
diff --git a/vcs/subversion/commitdlg.h b/vcs/subversion/commitdlg.h
index 4636c198..f4fc320e 100644
--- a/vcs/subversion/commitdlg.h
+++ b/vcs/subversion/commitdlg.h
@@ -25,7 +25,7 @@
class CommitDlg : public CommitDlgBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
CommitDlg( TQWidget* = 0 );
diff --git a/vcs/subversion/integrator/subversionintegrator.h b/vcs/subversion/integrator/subversionintegrator.h
index 01c43516..b7fa9731 100644
--- a/vcs/subversion/integrator/subversionintegrator.h
+++ b/vcs/subversion/integrator/subversionintegrator.h
@@ -26,7 +26,7 @@
class SubversionIntegrator : public KDevVCSIntegrator
{
-Q_OBJECT
+TQ_OBJECT
public:
SubversionIntegrator(TQObject* parent, const char* name, const TQStringList args = TQStringList());
diff --git a/vcs/subversion/integrator/svnintegratordlg.cpp b/vcs/subversion/integrator/svnintegratordlg.cpp
index 87ccf488..468170b9 100644
--- a/vcs/subversion/integrator/svnintegratordlg.cpp
+++ b/vcs/subversion/integrator/svnintegratordlg.cpp
@@ -20,7 +20,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
#include "svnintegratordlg.h"
-#include "blockingkprocess.h"
+#include "blockingtdeprocess.h"
#include <kurl.h>
#include <tdeio/jobclasses.h>
#include <tdeio/job.h>
@@ -28,7 +28,7 @@
#include <kdebug.h>
#include <tqradiobutton.h>
#include <tdeio/scheduler.h>
-#include <kprocess.h>
+#include <tdeprocess.h>
#include <tdeversion.h>
#include <tdemessagebox.h>
#include <tdelocale.h>
diff --git a/vcs/subversion/integrator/svnintegratordlg.h b/vcs/subversion/integrator/svnintegratordlg.h
index ccf1686f..dfdb7aa6 100644
--- a/vcs/subversion/integrator/svnintegratordlg.h
+++ b/vcs/subversion/integrator/svnintegratordlg.h
@@ -24,7 +24,7 @@
#include <kdevvcsintegrator.h>
class SvnIntegratorDlg: public SvnIntegratorDlgBase, public VCSDialog {
-Q_OBJECT
+TQ_OBJECT
public:
SvnIntegratorDlg(TQWidget *parent = 0, const char *name = 0);
diff --git a/vcs/subversion/kdevsvnd.cpp b/vcs/subversion/kdevsvnd.cpp
index 1fc4afc8..30e76f0e 100644
--- a/vcs/subversion/kdevsvnd.cpp
+++ b/vcs/subversion/kdevsvnd.cpp
@@ -36,7 +36,7 @@
#include "commitdlg.h"
extern "C" {
- KDE_EXPORT KDEDModule *create_kdevsvnd(const TQCString &name) {
+ TDE_EXPORT KDEDModule *create_kdevsvnd(const TQCString &name) {
return new KDevSvnd(name);
}
}
diff --git a/vcs/subversion/kdevsvnd.h b/vcs/subversion/kdevsvnd.h
index a3a1c2f6..2066b5f3 100644
--- a/vcs/subversion/kdevsvnd.h
+++ b/vcs/subversion/kdevsvnd.h
@@ -28,7 +28,7 @@
class KDevSvnd : public KDEDModule
{
-Q_OBJECT
+TQ_OBJECT
//
K_DCOP
diff --git a/vcs/subversion/kdevsvnd_widgets.cpp b/vcs/subversion/kdevsvnd_widgets.cpp
index 0fd2c20b..9f3eb3f9 100644
--- a/vcs/subversion/kdevsvnd_widgets.cpp
+++ b/vcs/subversion/kdevsvnd_widgets.cpp
@@ -27,9 +27,9 @@ SvnSSLTrustPrompt::SvnSSLTrustPrompt( TQWidget* parent, const char* name, bool m
btnPermanent->setText(i18n("Accept Permanently"));
btnTemporary->setText(i18n("Accept Temporarily"));
btnReject->setText(i18n("Reject"));
- connect( btnPermanent, TQT_SIGNAL(clicked()), this, TQT_SLOT(setPermanent()) );
- connect( btnTemporary, TQT_SIGNAL(clicked()), this, TQT_SLOT(setTemporary()) );
- connect( btnReject, TQT_SIGNAL(clicked()), this, TQT_SLOT(setRejected ()) );
+ connect( btnPermanent, TQ_SIGNAL(clicked()), this, TQ_SLOT(setPermanent()) );
+ connect( btnTemporary, TQ_SIGNAL(clicked()), this, TQ_SLOT(setTemporary()) );
+ connect( btnReject, TQ_SIGNAL(clicked()), this, TQ_SLOT(setRejected ()) );
}
SvnSSLTrustPrompt::~SvnSSLTrustPrompt()
{}
diff --git a/vcs/subversion/kdevsvnd_widgets.h b/vcs/subversion/kdevsvnd_widgets.h
index 3967cb35..48a11372 100644
--- a/vcs/subversion/kdevsvnd_widgets.h
+++ b/vcs/subversion/kdevsvnd_widgets.h
@@ -18,7 +18,7 @@
#include "svnssltrustpromptbase.h"
class SvnSSLTrustPrompt : public SvnSSLTrustPromptBase{
-Q_OBJECT
+TQ_OBJECT
public:
SvnSSLTrustPrompt( TQWidget* parent=0, const char* name=0, bool modal=true, WFlags f=0 );
diff --git a/vcs/subversion/subversion_core.cpp b/vcs/subversion/subversion_core.cpp
index e9c89ece..5a82c88b 100644
--- a/vcs/subversion/subversion_core.cpp
+++ b/vcs/subversion/subversion_core.cpp
@@ -38,8 +38,8 @@
#include <tdeapplication.h>
#include <dcopclient.h>
#include <tdetempfile.h>
-#include <kprocess.h>
-#include <kstandarddirs.h>
+#include <tdeprocess.h>
+#include <tdestandarddirs.h>
#include <tqtextcodec.h>
#include <tqtextstream.h>
#include <tqtextbrowser.h>
@@ -48,7 +48,7 @@
#include <tqregexp.h>
#include <tdeapplication.h>
-#include <kinstance.h>
+#include <tdeinstance.h>
#include <tdeaboutdata.h>
using namespace TDEIO;
@@ -127,7 +127,7 @@ void subversionCore::resolve( const KURL::List& list ) {
s << cmd << *it << recurse;
SimpleJob * job = TDEIO::special(servURL, parms, true);
job->setWindow( m_part->mainWindow()->main() );
- connect( job, TQT_SIGNAL( result( TDEIO::Job * ) ), this, TQT_SLOT( slotResult( TDEIO::Job * ) ) );
+ connect( job, TQ_SIGNAL( result( TDEIO::Job * ) ), this, TQ_SLOT( slotResult( TDEIO::Job * ) ) );
}
}
@@ -142,7 +142,7 @@ void subversionCore::update( const KURL::List& list ) {
s << cmd << list << rev << TQString( "HEAD" );
SimpleJob * job = TDEIO::special(servURL, parms, false);
- connect( job, TQT_SIGNAL( result( TDEIO::Job * ) ), this, TQT_SLOT( slotResult( TDEIO::Job * ) ) );
+ connect( job, TQ_SIGNAL( result( TDEIO::Job * ) ), this, TQ_SLOT( slotResult( TDEIO::Job * ) ) );
initProcessDlg( (TDEIO::Job*)job, i18n("Subversion Update") , i18n("Subversion Update") );
}
@@ -160,7 +160,7 @@ void subversionCore::diff( const KURL::List& list, const TQString& where){
TQString revkind2 = "WORKING";
s << cmd << *it << *it << rev1 << revkind1 << rev2 << revkind2 << true ;
TDEIO::SimpleJob * job = TDEIO::special(servURL, parms, true);
- connect( job, TQT_SIGNAL( result( TDEIO::Job * ) ), this, TQT_SLOT( slotResult( TDEIO::Job * ) ) );
+ connect( job, TQ_SIGNAL( result( TDEIO::Job * ) ), this, TQ_SLOT( slotResult( TDEIO::Job * ) ) );
TDEIO::NetAccess::synchronousRun( job, 0 );
if ( diffresult.count() > 0 ) {
//check kompare is available
@@ -241,7 +241,7 @@ void subversionCore::diffAsync( const KURL &pathOrUrl1, const KURL &pathOrUrl2,
s << cmd << pathOrUrl1 << pathOrUrl2 << rev1 << revKind1 << rev2 << revKind2 << recurse;
s << pegdiff;
TDEIO::SimpleJob * job = TDEIO::special(servURL, parms, false);
- connect( job, TQT_SIGNAL( result( TDEIO::Job * ) ), this, TQT_SLOT( slotDiffResult( TDEIO::Job * ) ) );
+ connect( job, TQ_SIGNAL( result( TDEIO::Job * ) ), this, TQ_SLOT( slotDiffResult( TDEIO::Job * ) ) );
initProcessDlg( (TDEIO::Job*)job, pathOrUrl1.prettyURL(), pathOrUrl2.prettyURL() );
}
@@ -261,7 +261,7 @@ void subversionCore::commit( const KURL::List& list, bool recurse, bool keeplock
s << *it;
}
SimpleJob * job = TDEIO::special(servURL, parms, false);
- connect( job, TQT_SIGNAL( result( TDEIO::Job * ) ), this, TQT_SLOT( slotResult( TDEIO::Job * ) ) );
+ connect( job, TQ_SIGNAL( result( TDEIO::Job * ) ), this, TQ_SLOT( slotResult( TDEIO::Job * ) ) );
if( list.count() == 1 )
initProcessDlg( (TDEIO::Job*)job, (*(list.begin())).prettyURL() , i18n("Commit to remote repository") );
else if( list.count() > 1 )
@@ -295,7 +295,7 @@ void subversionCore::svnLog( const KURL::List& list,
s << *it;
}
SimpleJob * job = TDEIO::special(servURL, parms, false);
- connect( job, TQT_SIGNAL( result( TDEIO::Job * ) ), this, TQT_SLOT( slotLogResult( TDEIO::Job * ) ) );
+ connect( job, TQ_SIGNAL( result( TDEIO::Job * ) ), this, TQ_SLOT( slotLogResult( TDEIO::Job * ) ) );
// progress info. LogView is allowed and meaninful only for one url in KDev3.4
initProcessDlg( (TDEIO::Job*)job, (*(list.begin())).prettyURL() , i18n("Subversion Log View") );
}
@@ -316,7 +316,7 @@ void subversionCore::blame( const KURL &url, UrlMode mode, int revstart, TQStrin
s << revstart << revKindStart << revend << revKindEnd ;
SimpleJob * job = TDEIO::special(servURL, parms, false);
- connect( job, TQT_SIGNAL( result( TDEIO::Job * ) ), this, TQT_SLOT( slotBlameResult( TDEIO::Job * ) ) );
+ connect( job, TQ_SIGNAL( result( TDEIO::Job * ) ), this, TQ_SLOT( slotBlameResult( TDEIO::Job * ) ) );
initProcessDlg( (TDEIO::Job*)job, url.prettyURL() , i18n("Subversion Blame") );
}
@@ -332,7 +332,7 @@ void subversionCore::add( const KURL::List& list ) {
// add/delete/revert works on local copy. Don't need to show progress dialog
SimpleJob * job = TDEIO::special(servURL, parms, false);
job->setWindow( m_part->mainWindow()->main() );
- connect( job, TQT_SIGNAL( result( TDEIO::Job * ) ), this, TQT_SLOT( slotResult( TDEIO::Job * ) ) );
+ connect( job, TQ_SIGNAL( result( TDEIO::Job * ) ), this, TQ_SLOT( slotResult( TDEIO::Job * ) ) );
}
void subversionCore::del( const KURL::List& list ) {
@@ -346,7 +346,7 @@ void subversionCore::del( const KURL::List& list ) {
// add/delete/revert works on local copy. Don't need to show progress dialog
SimpleJob * job = TDEIO::special(servURL, parms, false);
job->setWindow( m_part->mainWindow()->main() );
- connect( job, TQT_SIGNAL( result( TDEIO::Job * ) ), this, TQT_SLOT( slotResult( TDEIO::Job * ) ) );
+ connect( job, TQ_SIGNAL( result( TDEIO::Job * ) ), this, TQ_SLOT( slotResult( TDEIO::Job * ) ) );
}
void subversionCore::revert( const KURL::List& list ) {
@@ -359,7 +359,7 @@ void subversionCore::revert( const KURL::List& list ) {
s << cmd << list;
SimpleJob * job = TDEIO::special(servURL, parms, false);
job->setWindow( m_part->mainWindow()->main() );
- connect( job, TQT_SIGNAL( result( TDEIO::Job * ) ), this, TQT_SLOT( slotResult( TDEIO::Job * ) ) );
+ connect( job, TQ_SIGNAL( result( TDEIO::Job * ) ), this, TQ_SLOT( slotResult( TDEIO::Job * ) ) );
}
void subversionCore::checkout() {
@@ -377,7 +377,7 @@ void subversionCore::checkout() {
servURL.setProtocol( "kdevsvn+" + servURL.protocol() ); //make sure it starts with "svn"
SimpleJob * job = TDEIO::special(servURL,parms, true);
job->setWindow( m_part->mainWindow()->main() );
- connect( job, TQT_SIGNAL( result( TDEIO::Job * ) ), this, TQT_SLOT( slotEndCheckout( TDEIO::Job * ) ) );
+ connect( job, TQ_SIGNAL( result( TDEIO::Job * ) ), this, TQ_SLOT( slotEndCheckout( TDEIO::Job * ) ) );
}
}
@@ -393,7 +393,7 @@ void subversionCore::switchTree( const KURL &path, const KURL &repositUrl,
s << recurse << revNum << revKind;
SimpleJob * job = TDEIO::special(servURL, parms, false);
- connect( job, TQT_SIGNAL( result( TDEIO::Job * ) ), this, TQT_SLOT( slotResult( TDEIO::Job * ) ) );
+ connect( job, TQ_SIGNAL( result( TDEIO::Job * ) ), this, TQ_SLOT( slotResult( TDEIO::Job * ) ) );
initProcessDlg( (TDEIO::Job*)job, repositUrl.prettyURL() , path.prettyURL() );
}
@@ -408,7 +408,7 @@ void subversionCore::switchRelocate( const KURL &path,
s << cmd << path << currentUrl << newUrl << recurse;
SimpleJob * job = TDEIO::special(servURL, parms, false);
- connect( job, TQT_SIGNAL( result( TDEIO::Job * ) ), this, TQT_SLOT( slotResult( TDEIO::Job * ) ) );
+ connect( job, TQ_SIGNAL( result( TDEIO::Job * ) ), this, TQ_SLOT( slotResult( TDEIO::Job * ) ) );
// this doesn't contact repository
}
@@ -423,7 +423,7 @@ void subversionCore::svnCopy( const KURL &src, int srcRev, const TQString &srcRe
s << cmd << src << srcRev << srcRevKind << dest;
SimpleJob * job = TDEIO::special(servURL, parms, false);
- connect( job, TQT_SIGNAL( result( TDEIO::Job * ) ), this, TQT_SLOT( slotResult( TDEIO::Job * ) ) );
+ connect( job, TQ_SIGNAL( result( TDEIO::Job * ) ), this, TQ_SLOT( slotResult( TDEIO::Job * ) ) );
initProcessDlg( (TDEIO::Job*)job, src.prettyURL(), dest.prettyURL() );
}
@@ -440,7 +440,7 @@ void subversionCore::merge( const KURL &src1, int rev1, TQString revKind1,
s << recurse << ignore_ancestry << force << dry_run;
SimpleJob * job = TDEIO::special(servURL, parms, false);
- connect( job, TQT_SIGNAL( result( TDEIO::Job * ) ), this, TQT_SLOT( slotResult( TDEIO::Job * ) ) );
+ connect( job, TQ_SIGNAL( result( TDEIO::Job * ) ), this, TQ_SLOT( slotResult( TDEIO::Job * ) ) );
initProcessDlg( (TDEIO::Job*)job, src1.prettyURL() + "\n" + src2.prettyURL() ,
wc_path.prettyURL() );
}
@@ -722,10 +722,10 @@ void subversionCore::initProcessDlg( TDEIO::Job *job, const TQString &src, const
progress->setSourceUrl( src );
progress->setDestUrl( dest );
progress->setJob( job );
- connect( job, TQT_SIGNAL( totalSize(TDEIO::Job*, TDEIO::filesize_t) ),
- progress, TQT_SLOT( slotTotalSize (TDEIO::Job*, TDEIO::filesize_t) ) );
- connect( job, TQT_SIGNAL( processedSize(TDEIO::Job*, TDEIO::filesize_t) ),
- progress, TQT_SLOT( slotProcessedSize(TDEIO::Job*, TDEIO::filesize_t) ) );
+ connect( job, TQ_SIGNAL( totalSize(TDEIO::Job*, TDEIO::filesize_t) ),
+ progress, TQ_SLOT( slotTotalSize (TDEIO::Job*, TDEIO::filesize_t) ) );
+ connect( job, TQ_SIGNAL( processedSize(TDEIO::Job*, TDEIO::filesize_t) ),
+ progress, TQ_SLOT( slotProcessedSize(TDEIO::Job*, TDEIO::filesize_t) ) );
}
void subversionCore::createNewProject( const TQString& // dirName
diff --git a/vcs/subversion/subversion_core.h b/vcs/subversion/subversion_core.h
index f2f3f6da..e67f845f 100644
--- a/vcs/subversion/subversion_core.h
+++ b/vcs/subversion/subversion_core.h
@@ -39,7 +39,7 @@ class SvnLogViewWidget;
// class subversionCore : public TQObject, public DCOPObject
class subversionCore : public TQObject {
- Q_OBJECT
+ TQ_OBJECT
// K_DCOP
diff --git a/vcs/subversion/subversion_fileinfo.cpp b/vcs/subversion/subversion_fileinfo.cpp
index 45d44d1e..f845c035 100644
--- a/vcs/subversion/subversion_fileinfo.cpp
+++ b/vcs/subversion/subversion_fileinfo.cpp
@@ -155,7 +155,7 @@ bool SVNFileInfoProvider::requestStatus( const TQString &dirPath, void *callerDa
s << cmd << KURL( TQFileInfo( rPath ).absFilePath() ) << checkRepos << recursive;
KURL servURL = "kdevsvn+http://fakeserver_this_is_normal_behavior/";
job = TDEIO::special(servURL, parms, false);
- connect( job, TQT_SIGNAL( result( TDEIO::Job * ) ), this, TQT_SLOT( slotResult( TDEIO::Job * ) ) );
+ connect( job, TQ_SIGNAL( result( TDEIO::Job * ) ), this, TQ_SLOT( slotResult( TDEIO::Job * ) ) );
if( checkRepos )
m_part->svncore()->initProcessDlg( job, dirPath, i18n("Subversion File/Directory Status") );
return true;
diff --git a/vcs/subversion/subversion_fileinfo.h b/vcs/subversion/subversion_fileinfo.h
index 9b322463..b41bb0b1 100644
--- a/vcs/subversion/subversion_fileinfo.h
+++ b/vcs/subversion/subversion_fileinfo.h
@@ -36,7 +36,7 @@ Provider for SVN file information
*/
class SVNFileInfoProvider : public KDevVCSFileInfoProvider, public DCOPObject/*, virtual public DCOPClient*/
{
- Q_OBJECT
+ TQ_OBJECT
//
K_DCOP
diff --git a/vcs/subversion/subversion_part.cpp b/vcs/subversion/subversion_part.cpp
index f3f43cd9..be5f2b24 100644
--- a/vcs/subversion/subversion_part.cpp
+++ b/vcs/subversion/subversion_part.cpp
@@ -56,15 +56,15 @@
using namespace SvnGlobal;
-static const KDevPluginInfo data("kdevsubversion");
+static const KDevPluginInfo pluginData("kdevsubversion");
typedef KDevGenericFactory<subversionPart> subversionFactory;
-K_EXPORT_COMPONENT_FACTORY( libkdevsubversion, subversionFactory( data ) )
+K_EXPORT_COMPONENT_FACTORY( libkdevsubversion, subversionFactory( pluginData ) )
//bool g_projectWasJustCreated = false;
subversionPart::subversionPart(TQObject *parent, const char *name, const TQStringList& )
- : KDevVersionControl(&data, parent, name ? name : "Subversion" ) {
+ : KDevVersionControl(&pluginData, parent, name ? name : "Subversion" ) {
setInstance(subversionFactory::instance());
m_projWidget = 0;
@@ -74,14 +74,14 @@ subversionPart::subversionPart(TQObject *parent, const char *name, const TQStrin
setupActions();
- connect( m_impl, TQT_SIGNAL(checkoutFinished(TQString)), TQT_SIGNAL(finishedFetching(TQString)) );
+ connect( m_impl, TQ_SIGNAL(checkoutFinished(TQString)), TQ_SIGNAL(finishedFetching(TQString)) );
// Context menu
- connect( core(), TQT_SIGNAL(contextMenu(TQPopupMenu *, const Context *)), this, TQT_SLOT(contextMenu(TQPopupMenu *, const Context *)) );
- connect( core(), TQT_SIGNAL(projectConfigWidget(KDialogBase*)), this, TQT_SLOT(projectConfigWidget(KDialogBase*)) );
- connect( core(), TQT_SIGNAL(stopButtonClicked(KDevPlugin*)), this, TQT_SLOT(slotStopButtonClicked(KDevPlugin*)) );
- connect( core(), TQT_SIGNAL(projectOpened()), this, TQT_SLOT(slotProjectOpened()) );
- connect( core(), TQT_SIGNAL(projectClosed()), this, TQT_SLOT(slotProjectClosed()) );
+ connect( core(), TQ_SIGNAL(contextMenu(TQPopupMenu *, const Context *)), this, TQ_SLOT(contextMenu(TQPopupMenu *, const Context *)) );
+ connect( core(), TQ_SIGNAL(projectConfigWidget(KDialogBase*)), this, TQ_SLOT(projectConfigWidget(KDialogBase*)) );
+ connect( core(), TQ_SIGNAL(stopButtonClicked(KDevPlugin*)), this, TQ_SLOT(slotStopButtonClicked(KDevPlugin*)) );
+ connect( core(), TQ_SIGNAL(projectOpened()), this, TQ_SLOT(slotProjectOpened()) );
+ connect( core(), TQ_SIGNAL(projectClosed()), this, TQ_SLOT(slotProjectClosed()) );
m_impl->processWidget()->setCaption(i18n( "Subversion Output" ));
mainWindow()->embedOutputView( (TQWidget*)m_impl->processWidget(), i18n( "Subversion" ), i18n( "Subversion messages" ) );
@@ -98,65 +98,65 @@ subversionPart::~subversionPart() {
}
void subversionPart::setupActions() {
- actionCommit = new TDEAction( i18n("&Commit to Repository..."), 0, this, TQT_SLOT(slotActionCommit()), actionCollection(), "subversion_commit" );
+ actionCommit = new TDEAction( i18n("&Commit to Repository..."), 0, this, TQ_SLOT(slotActionCommit()), actionCollection(), "subversion_commit" );
actionCommit->setToolTip( i18n("Commit file(s)") );
actionCommit->setWhatsThis( i18n("<b>Commit file(s)</b><p>Commits file to repository if modified.") );
- /* actionDiff = new TDEAction( i18n("&Difference Between Revisions"), 0, this, TQT_SLOT(slotActionDiff()),
+ /* actionDiff = new TDEAction( i18n("&Difference Between Revisions"), 0, this, TQ_SLOT(slotActionDiff()),
actionCollection(), "subversion_diff" );
actionDiff->setToolTip( i18n("Build difference") );
actionDiff->setWhatsThis( i18n("<b>Build difference</b><p>Builds difference between releases.") );
*/
- actionAdd = new TDEAction( i18n("&Add to Repository"), 0, this, TQT_SLOT(slotActionAdd()), actionCollection(), "subversion_add" );
+ actionAdd = new TDEAction( i18n("&Add to Repository"), 0, this, TQ_SLOT(slotActionAdd()), actionCollection(), "subversion_add" );
actionAdd->setToolTip( i18n("Add file to repository") );
actionAdd->setWhatsThis( i18n("<b>Add file to repository</b><p>Adds file to repository.") );
- actionLog = new TDEAction( i18n("Show logs..."), 0, this, TQT_SLOT(slotLog()), actionCollection(), "subversion_log" );
- actionBlame = new TDEAction( i18n("Blame..."), 0, this, TQT_SLOT(slotBlame()), actionCollection(), "subversion_blame");
+ actionLog = new TDEAction( i18n("Show logs..."), 0, this, TQ_SLOT(slotLog()), actionCollection(), "subversion_log" );
+ actionBlame = new TDEAction( i18n("Blame..."), 0, this, TQ_SLOT(slotBlame()), actionCollection(), "subversion_blame");
- actionRemove = new TDEAction( i18n("&Remove From Repository"), 0, this, TQT_SLOT(slotActionDel()), actionCollection(), "subversion_remove" );
+ actionRemove = new TDEAction( i18n("&Remove From Repository"), 0, this, TQ_SLOT(slotActionDel()), actionCollection(), "subversion_remove" );
actionRemove->setToolTip( i18n("Remove from repository") );
actionRemove->setWhatsThis( i18n("<b>Remove from repository</b><p>Removes file(s) from repository.") );
- actionUpdate = new TDEAction( i18n("&Update"), 0, this, TQT_SLOT(slotActionUpdate()), actionCollection(), "subversion_update" );
+ actionUpdate = new TDEAction( i18n("&Update"), 0, this, TQ_SLOT(slotActionUpdate()), actionCollection(), "subversion_update" );
actionUpdate->setToolTip( i18n("Update") );
actionUpdate->setWhatsThis( i18n("<b>Update</b><p>Updates file(s) from repository.") );
- actionDiffLocal = new TDEAction( i18n("&Diff to BASE"), 0, this, TQT_SLOT(slotActionDiffLocal()), actionCollection(), "subversion_diff_local" );
+ actionDiffLocal = new TDEAction( i18n("&Diff to BASE"), 0, this, TQ_SLOT(slotActionDiffLocal()), actionCollection(), "subversion_diff_local" );
actionDiffLocal->setToolTip( i18n("Diff to BASE") );
actionDiffLocal->setWhatsThis( i18n("<b>Diff to disk</b><p>Diff current file to the BASE checked out copy.") );
- actionDiffHead = new TDEAction( i18n("&Diff to HEAD"), 0, this, TQT_SLOT(slotActionDiffLocal()), actionCollection(), "subversion_diff_head" );
+ actionDiffHead = new TDEAction( i18n("&Diff to HEAD"), 0, this, TQ_SLOT(slotActionDiffLocal()), actionCollection(), "subversion_diff_head" );
actionDiffHead->setToolTip( i18n("Diff to HEAD") );
actionDiffHead->setWhatsThis( i18n("<b>Diff HEAD</b><p>Diff the current file to HEAD in svn.") );
- actionRevert = new TDEAction( i18n("&Revert"), 0, this, TQT_SLOT(slotActionRevert()), actionCollection(), "subversion_revert" );
+ actionRevert = new TDEAction( i18n("&Revert"), 0, this, TQ_SLOT(slotActionRevert()), actionCollection(), "subversion_revert" );
actionRevert->setToolTip( i18n("Revert") );
actionRevert->setWhatsThis( i18n("<b>Revert</b><p>Undo local changes.") );
/*
actionAddToIgnoreList = new TDEAction( i18n("&Ignore in Subversion Operations"), 0,
- this, TQT_SLOT(slotActionAddToIgnoreList()), actionCollection(), "subversion_ignore" );
+ this, TQ_SLOT(slotActionAddToIgnoreList()), actionCollection(), "subversion_ignore" );
actionAddToIgnoreList->setToolTip( i18n("Ignore in Subversion operations") );
actionAddToIgnoreList->setWhatsThis( i18n("<b>Ignore in Subversion operations</b><p>Ignores file(s).") );
actionRemoveFromIgnoreList = new TDEAction( i18n("Do &Not Ignore in Subversion Operations"), 0,
- this, TQT_SLOT(slotActionRemoveFromIgnoreList()), actionCollection(), "subversion_donot_ignore" );
+ this, TQ_SLOT(slotActionRemoveFromIgnoreList()), actionCollection(), "subversion_donot_ignore" );
actionRemoveFromIgnoreList->setToolTip( i18n("Do not ignore in Subversion operations") );
actionRemoveFromIgnoreList->setWhatsThis( i18n("<b>Do not ignore in Subversion operations</b><p>Do not ignore file(s).") );
*/
actionResolve = new TDEAction( i18n("Re&solve Conflicting State"), 0,
- this, TQT_SLOT(slotActionResolve()), actionCollection(), "subversion_resolve" );
+ this, TQ_SLOT(slotActionResolve()), actionCollection(), "subversion_resolve" );
actionResolve->setToolTip( i18n("Resolve the conflicting state of a file after a merge") );
actionResolve->setWhatsThis( i18n("<b>Resolve the conflicting state</b><p>Remove the conflict state that can be set on a file after a merge failed.") );
actionSwitch = new TDEAction( i18n("Switch this working copy to URL.."), 0,
- this, TQT_SLOT(slotSwitch()), actionCollection(), "subversion_switch" );
+ this, TQ_SLOT(slotSwitch()), actionCollection(), "subversion_switch" );
// warn slogCopy(), slotMerge only works on context menu. There is no main-menu action
actionCopy = new TDEAction( i18n("Copy this working copy to URL.."), 0,
- this, TQT_SLOT(slotCopy()), actionCollection(), "subversion_copy" );
+ this, TQ_SLOT(slotCopy()), actionCollection(), "subversion_copy" );
actionMerge = new TDEAction( i18n("Merge difference to working copy"), 0,
- this, TQT_SLOT(slotMerge()), actionCollection(), "subversion_merge" );
+ this, TQ_SLOT(slotMerge()), actionCollection(), "subversion_merge" );
}
TQWidget* subversionPart::newProjectWidget( TQWidget* parent ) {
@@ -213,48 +213,48 @@ if(!project())
if (context->hasType( Context::FileContext ))
popup->insertSeparator();
- int id = subMenu->insertItem( actionCommit->text(), this, TQT_SLOT(slotCommit()) );
+ int id = subMenu->insertItem( actionCommit->text(), this, TQ_SLOT(slotCommit()) );
// CvsService let to do log and diff operations only on one file (or directory) at time
/* if (m_urls.count() == 1)
{
- subMenu->insertItem( actionDiff->text(), this, TQT_SLOT(slotDiff()) );
- subMenu->insertItem( actionLog->text(), this, TQT_SLOT(slotLog()) );
+ subMenu->insertItem( actionDiff->text(), this, TQ_SLOT(slotDiff()) );
+ subMenu->insertItem( actionLog->text(), this, TQ_SLOT(slotLog()) );
}*/
subMenu->setWhatsThis(id, i18n("<b>Commit file(s)</b><p>Commits file to repository if modified."));
- id = subMenu->insertItem( actionAdd->text(), this, TQT_SLOT(slotAdd()) );
+ id = subMenu->insertItem( actionAdd->text(), this, TQ_SLOT(slotAdd()) );
subMenu->setWhatsThis(id, i18n("<b>Add file to repository</b><p>Adds file to repository."));
- id = subMenu->insertItem( actionRemove->text(), this, TQT_SLOT(slotDel()) );
+ id = subMenu->insertItem( actionRemove->text(), this, TQ_SLOT(slotDel()) );
subMenu->setWhatsThis(id, i18n("<b>Remove from repository</b><p>Removes file(s) from repository."));
- id = subMenu->insertItem( actionLog->text(), this, TQT_SLOT(slotLog()) );
+ id = subMenu->insertItem( actionLog->text(), this, TQ_SLOT(slotLog()) );
subMenu->setWhatsThis(id, i18n("<b>Show logs..</b><p>View Logs"));
- id = subMenu->insertItem( actionBlame->text(), this, TQT_SLOT(slotBlame()) );
+ id = subMenu->insertItem( actionBlame->text(), this, TQ_SLOT(slotBlame()) );
subMenu->setWhatsThis(id, i18n("<b>Blame 0:HEAD </b><p>Show Annotate"));
subMenu->insertSeparator();
- id = subMenu->insertItem( actionDiffLocal->text(), this, TQT_SLOT(slotDiffLocal()) );
+ id = subMenu->insertItem( actionDiffLocal->text(), this, TQ_SLOT(slotDiffLocal()) );
subMenu->setWhatsThis(id, i18n("<b>Diff</b><p>Diff file to local disk."));
- id = subMenu->insertItem( actionDiffHead->text(), this, TQT_SLOT(slotDiffHead()) );
+ id = subMenu->insertItem( actionDiffHead->text(), this, TQ_SLOT(slotDiffHead()) );
subMenu->setWhatsThis(id, i18n("<b>Diff</b><p>Diff file to repository."));
- id = subMenu->insertItem( actionUpdate->text(), this, TQT_SLOT(slotUpdate()) );
+ id = subMenu->insertItem( actionUpdate->text(), this, TQ_SLOT(slotUpdate()) );
subMenu->setWhatsThis(id, i18n("<b>Update</b><p>Updates file(s) from repository."));
- id = subMenu->insertItem( actionRevert->text(), this, TQT_SLOT(slotRevert()) );
+ id = subMenu->insertItem( actionRevert->text(), this, TQ_SLOT(slotRevert()) );
subMenu->setWhatsThis(id, i18n("<b>Revert</b><p>Undo local changes.") );
- id = subMenu->insertItem( actionResolve->text(), this, TQT_SLOT(slotResolve()) );
+ id = subMenu->insertItem( actionResolve->text(), this, TQ_SLOT(slotResolve()) );
subMenu->setWhatsThis(id, i18n("<b>Resolve</b><p>Resolve conflicting state.") );
- id = subMenu->insertItem( actionSwitch->text(), this, TQT_SLOT(slotSwitch()) );
+ id = subMenu->insertItem( actionSwitch->text(), this, TQ_SLOT(slotSwitch()) );
subMenu->setWhatsThis(id, i18n("<b>Switch</b><p>Switch working tree.") );
- id = subMenu->insertItem( actionCopy->text(), this, TQT_SLOT(slotCopy()) );
+ id = subMenu->insertItem( actionCopy->text(), this, TQ_SLOT(slotCopy()) );
subMenu->setWhatsThis(id, i18n("<b>Copy</b><p>Copy from/between path/URLs") );
- id = subMenu->insertItem( actionMerge->text(), this, TQT_SLOT(slotMerge()) );
+ id = subMenu->insertItem( actionMerge->text(), this, TQ_SLOT(slotMerge()) );
subMenu->setWhatsThis(id, i18n("<b>Merge</b><p>Merge difference to working copy") );
/*
subMenu->insertSeparator();
- id = subMenu->insertItem( actionAddToIgnoreList->text(), this, TQT_SLOT(slotAddToIgnoreList()) );
+ id = subMenu->insertItem( actionAddToIgnoreList->text(), this, TQ_SLOT(slotAddToIgnoreList()) );
subMenu->setWhatsThis(id, i18n("<b>Ignore in Subversion operations</b><p>Ignores file(s)."));
- id = subMenu->insertItem( actionRemoveFromIgnoreList->text(), this, TQT_SLOT(slotRemoveFromIgnoreList()) );
+ id = subMenu->insertItem( actionRemoveFromIgnoreList->text(), this, TQ_SLOT(slotRemoveFromIgnoreList()) );
subMenu->setWhatsThis(id, i18n("<b>Do not ignore in Subversion operations</b><p>Do not ignore file(s)."));
*/
// Now insert in parent menu
@@ -529,16 +529,16 @@ void subversionPart::slotProjectOpened() {
} */
//loadOptions();
/// \FIXME slots
- //connect( project(), TQT_SIGNAL(addedFilesToProject(const TQStringList&)), this, TQT_SLOT(slotAddFilesToProject(const TQStringList &)) );
- //connect( project(), TQT_SIGNAL(removedFilesFromProject(const TQStringList&)), this, TQT_SLOT(slotRemovedFilesFromProject(const TQStringList &)) );
+ //connect( project(), TQ_SIGNAL(addedFilesToProject(const TQStringList&)), this, TQ_SLOT(slotAddFilesToProject(const TQStringList &)) );
+ //connect( project(), TQ_SIGNAL(removedFilesFromProject(const TQStringList&)), this, TQ_SLOT(slotRemovedFilesFromProject(const TQStringList &)) );
}
void subversionPart::slotProjectClosed() {
kdDebug(9036) << "subversion :projectClosed" << endl;
//saveOptions();
/// \FIXME slots
- //disconnect( project(), TQT_SIGNAL(addedFilesToProject(const TQStringList&)), this, TQT_SLOT(slotAddFilesToProject(const TQStringList &)) );
- //disconnect( project(), TQT_SIGNAL(removedFilesFromProject(const TQStringList&)), this, TQT_SLOT(slotRemovedFilesFromProject(const TQStringList &)) );
+ //disconnect( project(), TQ_SIGNAL(addedFilesToProject(const TQStringList&)), this, TQ_SLOT(slotAddFilesToProject(const TQStringList &)) );
+ //disconnect( project(), TQ_SIGNAL(removedFilesFromProject(const TQStringList&)), this, TQ_SLOT(slotRemovedFilesFromProject(const TQStringList &)) );
}
void subversionPart::savePartialProjectSession(TQDomElement* dom) {
diff --git a/vcs/subversion/subversion_part.h b/vcs/subversion/subversion_part.h
index 1847567d..12289623 100644
--- a/vcs/subversion/subversion_part.h
+++ b/vcs/subversion/subversion_part.h
@@ -38,7 +38,7 @@ class SvnInfoHolder;
class subversionPart : public KDevVersionControl
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/vcs/subversion/subversion_widget.cpp b/vcs/subversion/subversion_widget.cpp
index 95b31f6b..f0438082 100644
--- a/vcs/subversion/subversion_widget.cpp
+++ b/vcs/subversion/subversion_widget.cpp
@@ -34,12 +34,12 @@ subversionWidget::subversionWidget( subversionPart *part, TQWidget *parent, cons
{
m_part = part;
m_edit = new KTextEdit( this );
- m_edit->setReadOnly( TRUE );
+ m_edit->setReadOnly( true );
tab()->addTab( m_edit, i18n("Notification") );
m_closeButton = new TQPushButton( tab() );
m_closeButton->setText( i18n("Close") );
tab()->setCornerWidget(m_closeButton);
- connect( m_closeButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(closeCurrentTab()) );
+ connect( m_closeButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(closeCurrentTab()) );
}
subversionWidget::~subversionWidget()
diff --git a/vcs/subversion/subversion_widget.h b/vcs/subversion/subversion_widget.h
index d59f8394..a987dc84 100644
--- a/vcs/subversion/subversion_widget.h
+++ b/vcs/subversion/subversion_widget.h
@@ -40,7 +40,7 @@ class TQPushButton;
// class subversionWidget : public SvnOutputWidgetBase
class subversionWidget : public KTabWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
subversionWidget(subversionPart *part, TQWidget *parent, const char* name);
diff --git a/vcs/subversion/subversiondiff.ui b/vcs/subversion/subversiondiff.ui
index a624e6bb..5d92a4bb 100644
--- a/vcs/subversion/subversiondiff.ui
+++ b/vcs/subversion/subversiondiff.ui
@@ -74,9 +74,6 @@
<property name="text">
<string>&amp;OK</string>
</property>
- <property name="accel">
- <string></string>
- </property>
<property name="autoDefault">
<bool>true</bool>
</property>
diff --git a/vcs/subversion/svn_blamewidget.cpp b/vcs/subversion/svn_blamewidget.cpp
index 87647525..d48edc43 100644
--- a/vcs/subversion/svn_blamewidget.cpp
+++ b/vcs/subversion/svn_blamewidget.cpp
@@ -31,7 +31,7 @@ SvnBlameWidget::SvnBlameWidget( TQWidget *parent, const char* name, bool modal,
m_layout->setMargin(1);
m_listView = new TQListView( this );
- outView()->setAllColumnsShowFocus( TRUE );
+ outView()->setAllColumnsShowFocus( true );
outView()->addColumn( i18n("Line") );
outView()->addColumn( i18n("Rev") );
outView()->addColumn( i18n("Date") );
@@ -99,8 +99,8 @@ SvnBlameFileSelectDlg::SvnBlameFileSelectDlg( TQWidget *parent )
m_layout->addWidget( m_okBtn, 1, 0 );
m_layout->addWidget( m_cancelBtn, 1, 1 );
- connect( m_okBtn, TQT_SIGNAL(clicked()), this, TQT_SLOT(accept()) );
- connect( m_cancelBtn, TQT_SIGNAL(clicked()), this, TQT_SLOT(reject()) );
+ connect( m_okBtn, TQ_SIGNAL(clicked()), this, TQ_SLOT(accept()) );
+ connect( m_cancelBtn, TQ_SIGNAL(clicked()), this, TQ_SLOT(reject()) );
}
SvnBlameFileSelectDlg::~SvnBlameFileSelectDlg()
{}
diff --git a/vcs/subversion/svn_blamewidget.h b/vcs/subversion/svn_blamewidget.h
index c0ea42af..50301cf9 100644
--- a/vcs/subversion/svn_blamewidget.h
+++ b/vcs/subversion/svn_blamewidget.h
@@ -39,10 +39,10 @@ public:
class TQListView;
class SvnBlameWidget : public TQWidget {
- Q_OBJECT
+ TQ_OBJECT
public:
- SvnBlameWidget( TQWidget * parent = 0, const char * name = 0, bool modal = FALSE, WFlags f = 0 );
+ SvnBlameWidget( TQWidget * parent = 0, const char * name = 0, bool modal = false, WFlags f = 0 );
virtual ~SvnBlameWidget();
void copyBlameData( TQValueList<SvnBlameHolder> *blamelist );
void show();
@@ -55,7 +55,7 @@ protected:
};
class SvnBlameFileSelectDlg : public TQDialog {
- Q_OBJECT
+ TQ_OBJECT
public:
SvnBlameFileSelectDlg( TQWidget *parent = 0L );
diff --git a/vcs/subversion/svn_commitdlgbase.ui b/vcs/subversion/svn_commitdlgbase.ui
index 75937324..465f171b 100644
--- a/vcs/subversion/svn_commitdlgbase.ui
+++ b/vcs/subversion/svn_commitdlgbase.ui
@@ -70,9 +70,6 @@
<property name="text">
<string>Keep Locks</string>
</property>
- <property name="accel">
- <string></string>
- </property>
</widget>
<widget class="TQLayoutWidget" row="2" column="2">
<property name="name">
@@ -107,9 +104,6 @@
<property name="text">
<string>Recursive</string>
</property>
- <property name="accel">
- <string></string>
- </property>
</widget>
</grid>
</widget>
diff --git a/vcs/subversion/svn_copywidget.cpp b/vcs/subversion/svn_copywidget.cpp
index 30b25fd7..094b9684 100644
--- a/vcs/subversion/svn_copywidget.cpp
+++ b/vcs/subversion/svn_copywidget.cpp
@@ -13,10 +13,10 @@ SvnCopyDialog::SvnCopyDialog( const TQString &reqPath, SvnGlobal::SvnInfoHolder
{
reqEdit->setText( reqPath );
- connect( urlRadio, TQT_SIGNAL(clicked()), this, TQT_SLOT(setSourceAsUrl()) );
- connect( pathRadio, TQT_SIGNAL(clicked()), this, TQT_SLOT(setSourceAsLocalPath()) );
- connect( revnumRadio, TQT_SIGNAL(toggled(bool)), revnumInput, TQT_SLOT(setEnabled(bool)) );
- connect( revnumRadio, TQT_SIGNAL(toggled(bool)), revkindCombo, TQT_SLOT(setDisabled(bool)) );
+ connect( urlRadio, TQ_SIGNAL(clicked()), this, TQ_SLOT(setSourceAsUrl()) );
+ connect( pathRadio, TQ_SIGNAL(clicked()), this, TQ_SLOT(setSourceAsLocalPath()) );
+ connect( revnumRadio, TQ_SIGNAL(toggled(bool)), revnumInput, TQ_SLOT(setEnabled(bool)) );
+ connect( revnumRadio, TQ_SIGNAL(toggled(bool)), revkindCombo, TQ_SLOT(setDisabled(bool)) );
// In many cases, users copy from reository to repository. This is for making tag/branche.
// The case where copying from local path to repository may be lesser than the above one.
diff --git a/vcs/subversion/svn_copywidget.h b/vcs/subversion/svn_copywidget.h
index 8dd9826f..1d03fa99 100644
--- a/vcs/subversion/svn_copywidget.h
+++ b/vcs/subversion/svn_copywidget.h
@@ -11,7 +11,7 @@ class KURL;
class SvnCopyDialog : public SvnCopyDialogBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
SvnCopyDialog( const TQString &reqPath, SvnGlobal::SvnInfoHolder *holder, TQWidget *parent );
diff --git a/vcs/subversion/svn_fileselectdlg_commit.cpp b/vcs/subversion/svn_fileselectdlg_commit.cpp
index e042df84..b12fdee4 100644
--- a/vcs/subversion/svn_fileselectdlg_commit.cpp
+++ b/vcs/subversion/svn_fileselectdlg_commit.cpp
@@ -60,7 +60,7 @@ SVNFileSelectDlgCommit::SVNFileSelectDlgCommit( KURL::List &urls, subversionPart
if (fileInfo.isFile()){
KURL base_url( part->project()->projectDirectory()+"/" );
- TQString dirPath = KURL::relativeURL( base_url, fileInfo.dirPath(TRUE) );
+ TQString dirPath = KURL::relativeURL( base_url, fileInfo.dirPath(true) );
vcsMap = ((SVNFileInfoProvider*)part->fileInfoProvider()) ->
statusExt(dirPath, false/*repository access*/, true/*recurse*/, false/*getall*/, true/*noIgnore*/);
vcsInfo = (*vcsMap)[fileInfo.fileName()];
diff --git a/vcs/subversion/svn_fileselectdlg_commit.h b/vcs/subversion/svn_fileselectdlg_commit.h
index a2cf07e7..94ed2a54 100644
--- a/vcs/subversion/svn_fileselectdlg_commit.h
+++ b/vcs/subversion/svn_fileselectdlg_commit.h
@@ -32,7 +32,7 @@ class subversionPart;
class SVNFileSelectDlgCommit : public SvnCommitDlgBase{
-Q_OBJECT
+TQ_OBJECT
public:
diff --git a/vcs/subversion/svn_logviewoptiondlgbase.ui b/vcs/subversion/svn_logviewoptiondlgbase.ui
index 25ed4987..45b34a95 100644
--- a/vcs/subversion/svn_logviewoptiondlgbase.ui
+++ b/vcs/subversion/svn_logviewoptiondlgbase.ui
@@ -34,9 +34,6 @@
<property name="text">
<string>Do not show logs before branching point</string>
</property>
- <property name="accel">
- <string></string>
- </property>
</widget>
<widget class="TQButtonGroup" row="1" column="0" rowspan="1" colspan="2">
<property name="name">
diff --git a/vcs/subversion/svn_logviewwidget.cpp b/vcs/subversion/svn_logviewwidget.cpp
index 10e55a9f..5aa1aa40 100644
--- a/vcs/subversion/svn_logviewwidget.cpp
+++ b/vcs/subversion/svn_logviewwidget.cpp
@@ -44,7 +44,7 @@ SvnLogViewWidget::SvnLogViewWidget(subversionPart *part, TQWidget *parent)
m_layout = new TQGridLayout( this, 1, 1, 11, 6, "SvnLogViewWidgetBaseLayout");
splitter1 = new TQSplitter( this, "splitter1" );
- splitter1->setOrientation( Qt::Horizontal );
+ splitter1->setOrientation( TQt::Horizontal );
splitter1->setMargin(1);
listView1 = new TQListView( splitter1, "listView1" );
@@ -56,16 +56,16 @@ SvnLogViewWidget::SvnLogViewWidget(subversionPart *part, TQWidget *parent)
TQFont listView1_font( listView1->font() );
listView1_font.setPointSize( 9 );
listView1->setFont( listView1_font );
- listView1->setAllColumnsShowFocus( TRUE );
- listView1->setShowSortIndicator( TRUE );
+ listView1->setAllColumnsShowFocus( true );
+ listView1->setShowSortIndicator( true );
textEdit1 = new KTextEdit( splitter1, "textEdit1" );
textEdit1->resize( TQSize(1, 1).expandedTo(minimumSizeHint()) );
TQFont textEdit1_font( textEdit1->font() );
textEdit1_font.setPointSize( 9 );
textEdit1->setFont( textEdit1_font );
- textEdit1->setFocusPolicy( TQ_WheelFocus );
- textEdit1->setReadOnly( TRUE );
+ textEdit1->setFocusPolicy( TQWidget::WheelFocus );
+ textEdit1->setReadOnly( true );
m_layout->addWidget( splitter1, 0, 0 );
m_layout->setMargin(1);
@@ -73,9 +73,9 @@ SvnLogViewWidget::SvnLogViewWidget(subversionPart *part, TQWidget *parent)
resize( TQSize(692, 343).expandedTo(minimumSizeHint()) );
clearWState( WState_Polished );
- connect( listView1, TQT_SIGNAL(clicked( TQListViewItem *)), this, TQT_SLOT(slotClicked(TQListViewItem*)) );
- connect( listView1, TQT_SIGNAL(contextMenuRequested( TQListViewItem*, const TQPoint&, int )),
- this, TQT_SLOT(contextMenuRequested(TQListViewItem*, const TQPoint&, int)) );
+ connect( listView1, TQ_SIGNAL(clicked( TQListViewItem *)), this, TQ_SLOT(slotClicked(TQListViewItem*)) );
+ connect( listView1, TQ_SIGNAL(contextMenuRequested( TQListViewItem*, const TQPoint&, int )),
+ this, TQ_SLOT(contextMenuRequested(TQListViewItem*, const TQPoint&, int)) );
}
SvnLogViewWidget::~SvnLogViewWidget()
{
@@ -128,8 +128,8 @@ void SvnLogViewWidget::contextMenuRequested( TQListViewItem *item, const TQPoint
if( !m_ctxLogItem )
return;
TQPopupMenu *menu = new TQPopupMenu(this);
- menu->insertItem( i18n("Blame this revision"), this, TQT_SLOT(blameThis()) );
- menu->insertItem( i18n("Difference to previous revision"), this, TQT_SLOT(diffToPrevious()) );
+ menu->insertItem( i18n("Blame this revision"), this, TQ_SLOT(blameThis()) );
+ menu->insertItem( i18n("Difference to previous revision"), this, TQ_SLOT(diffToPrevious()) );
menu->exec( pos );
}
void SvnLogViewWidget::blameThis()
@@ -195,10 +195,10 @@ SvnLogViewOptionDlg::SvnLogViewOptionDlg( TQWidget *parent, const char* name, bo
radio4->setChecked(true); //start revistion by revision keyword
radio5->setChecked(true); //end revision by revision number
reinstallRevisionSpecifiers();
- connect( intInput1, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(setStartRevnumRadio()) );
- connect( comboBox1, TQT_SIGNAL(activated(const TQString&)), this, TQT_SLOT(setStartRevkindRadio()) );
- connect( intInput2, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(setEndRevnumRadio()) );
- connect( comboBox2, TQT_SIGNAL(activated(const TQString&)), this, TQT_SLOT(setEndRevkindRadio()) );
+ connect( intInput1, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(setStartRevnumRadio()) );
+ connect( comboBox1, TQ_SIGNAL(activated(const TQString&)), this, TQ_SLOT(setStartRevkindRadio()) );
+ connect( intInput2, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(setEndRevnumRadio()) );
+ connect( comboBox2, TQ_SIGNAL(activated(const TQString&)), this, TQ_SLOT(setEndRevkindRadio()) );
}
SvnLogViewOptionDlg::~SvnLogViewOptionDlg()
{}
diff --git a/vcs/subversion/svn_logviewwidget.h b/vcs/subversion/svn_logviewwidget.h
index acd9b1f0..c5bd77d6 100644
--- a/vcs/subversion/svn_logviewwidget.h
+++ b/vcs/subversion/svn_logviewwidget.h
@@ -46,7 +46,7 @@ class SvnLogHolder{
};
class SvnLogViewWidget : public /*SvnLogViewWidgetBase*/ TQWidget {
- Q_OBJECT
+ TQ_OBJECT
public:
SvnLogViewWidget(subversionPart *part, TQWidget *parent);
@@ -73,10 +73,10 @@ private:
};
class SvnLogViewOptionDlg : public SvnLogViewOptionDlgBase {
- Q_OBJECT
+ TQ_OBJECT
public:
- SvnLogViewOptionDlg(TQWidget *parent=0, const char* name=0, bool modal=TRUE, WFlags f=0);
+ SvnLogViewOptionDlg(TQWidget *parent=0, const char* name=0, bool modal=true, WFlags f=0);
~SvnLogViewOptionDlg();
int revstart();
TQString revKindStart();
diff --git a/vcs/subversion/svn_mergewidget.cpp b/vcs/subversion/svn_mergewidget.cpp
index 50731690..5885e6b7 100644
--- a/vcs/subversion/svn_mergewidget.cpp
+++ b/vcs/subversion/svn_mergewidget.cpp
@@ -33,10 +33,10 @@ SvnMergeDialog::SvnMergeDialog( const KURL &wcTarget, TQWidget *parent )
{
dest->setURL( wcTarget.prettyURL() );
- connect( revnumbtn1, TQT_SIGNAL(toggled(bool)), revnum1, TQT_SLOT(setEnabled(bool)) );
- connect( revnumbtn1, TQT_SIGNAL(toggled(bool)), revkind1, TQT_SLOT(setDisabled(bool)) );
- connect( revnumbtn2, TQT_SIGNAL(toggled(bool)), revnum2, TQT_SLOT(setEnabled(bool)) );
- connect( revnumbtn2, TQT_SIGNAL(toggled(bool)), revkind2, TQT_SLOT(setDisabled(bool)) );
+ connect( revnumbtn1, TQ_SIGNAL(toggled(bool)), revnum1, TQ_SLOT(setEnabled(bool)) );
+ connect( revnumbtn1, TQ_SIGNAL(toggled(bool)), revkind1, TQ_SLOT(setDisabled(bool)) );
+ connect( revnumbtn2, TQ_SIGNAL(toggled(bool)), revnum2, TQ_SLOT(setEnabled(bool)) );
+ connect( revnumbtn2, TQ_SIGNAL(toggled(bool)), revkind2, TQ_SLOT(setDisabled(bool)) );
revkind1->setDisabled(true);
revnum2->setDisabled(true);
}
diff --git a/vcs/subversion/svn_mergewidget.h b/vcs/subversion/svn_mergewidget.h
index 34439e58..8513beac 100644
--- a/vcs/subversion/svn_mergewidget.h
+++ b/vcs/subversion/svn_mergewidget.h
@@ -31,7 +31,7 @@ class KURL;
class SvnMergeDialog : public SvnMergeOptionDialogBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
SvnMergeDialog( const KURL &wcTarget, TQWidget *parent = NULL );
diff --git a/vcs/subversion/svn_switchdlgbase.ui b/vcs/subversion/svn_switchdlgbase.ui
index b1811858..9a4e9c38 100644
--- a/vcs/subversion/svn_switchdlgbase.ui
+++ b/vcs/subversion/svn_switchdlgbase.ui
@@ -196,9 +196,9 @@
<slot>accept()</slot>
</connection>
</connections>
-<Q_SLOTS>
+<slots>
<slot>Form1_destroyed( TQObject * )</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
<includes>
<include location="global" impldecl="in implementation">klineedit.h</include>
diff --git a/vcs/subversion/svn_switchwidget.cpp b/vcs/subversion/svn_switchwidget.cpp
index 7149cce2..490d20b7 100644
--- a/vcs/subversion/svn_switchwidget.cpp
+++ b/vcs/subversion/svn_switchwidget.cpp
@@ -11,8 +11,8 @@ SvnSwitchDlg::SvnSwitchDlg( const SvnGlobal::SvnInfoHolder *holder,
: SvnSwitchDlgBase( parent )
, m_info( holder )
{
- connect( switchOnlyRadio, TQT_SIGNAL(clicked()), this, TQT_SLOT(resetCurrentRepositoryUrlEdit()) );
- connect( relocationRadio , TQT_SIGNAL(clicked()), this, TQT_SLOT(resetCurrentRepositoryUrlEdit()) );
+ connect( switchOnlyRadio, TQ_SIGNAL(clicked()), this, TQ_SLOT(resetCurrentRepositoryUrlEdit()) );
+ connect( relocationRadio , TQ_SIGNAL(clicked()), this, TQ_SLOT(resetCurrentRepositoryUrlEdit()) );
// set switch only
switchOnlyRadio->setChecked( true );
wcUrlEdit->setText( wcPath );
diff --git a/vcs/subversion/svn_switchwidget.h b/vcs/subversion/svn_switchwidget.h
index 4aec67db..0d207657 100644
--- a/vcs/subversion/svn_switchwidget.h
+++ b/vcs/subversion/svn_switchwidget.h
@@ -10,7 +10,7 @@ namespace SvnGlobal
class SvnSwitchDlg : public SvnSwitchDlgBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
SvnSwitchDlg( const SvnGlobal::SvnInfoHolder *holder,
diff --git a/vcs/subversion/svn_tdeio.cpp b/vcs/subversion/svn_tdeio.cpp
index 80343d8c..507ef8fa 100644
--- a/vcs/subversion/svn_tdeio.cpp
+++ b/vcs/subversion/svn_tdeio.cpp
@@ -32,9 +32,9 @@
#include <tdeapplication.h>
#include <kdebug.h>
#include <tdemessagebox.h>
-#include <kinstance.h>
+#include <tdeinstance.h>
#include <tdeglobal.h>
-#include <kstandarddirs.h>
+#include <tdestandarddirs.h>
#include <tdelocale.h>
#include <kurl.h>
#include <ksock.h>
@@ -100,7 +100,7 @@ open_tmp_file (apr_file_t **fp,
/* Open a unique file; use APR_DELONCLOSE. */
SVN_ERR (svn_io_open_unique_file (fp, &ignored_filename,
- truepath, ".tmp", TRUE, pool));
+ truepath, ".tmp", true, pool));
return SVN_NO_ERROR;
}
@@ -135,7 +135,7 @@ apr_array_header_t* svn_sort__hash(apr_hash_t *ht,
ary = apr_array_make(pool, apr_hash_count(ht), sizeof(svn_sort_item_type));
/* loop over hash table and push all keys into the array */
- sorted = TRUE;
+ sorted = true;
prev_item = NULL;
for (hi = apr_hash_first(pool, ht); hi; hi = apr_hash_next(hi))
{
@@ -251,13 +251,13 @@ void tdeio_svnProtocol::initNotifier(bool is_checkout, bool is_export, bool supp
ctx->notify_func = tdeio_svnProtocol::notify;
struct notify_baton *nb = ( struct notify_baton* )apr_palloc(spool, sizeof( struct notify_baton ) );
nb->master = this;
- nb->received_some_change = FALSE;
- nb->sent_first_txdelta = FALSE;
+ nb->received_some_change = false;
+ nb->sent_first_txdelta = false;
nb->is_checkout = is_checkout;
nb->is_export = is_export;
nb->suppress_final_line = suppress_final_line;
- nb->in_external = FALSE;
- nb->had_print_error = FALSE;
+ nb->in_external = false;
+ nb->had_print_error = false;
nb->pool = svn_pool_create (spool);
ctx->notify_baton = nb;
@@ -1185,7 +1185,7 @@ void tdeio_svnProtocol::svn_diff(const KURL & url1, const KURL& url2,int rev1, i
<< endl ;
apr_pool_t *subpool = svn_pool_create (pool);
- apr_array_header_t *options = svn_cstring_split( "", "\t\r\n", TRUE, subpool );
+ apr_array_header_t *options = svn_cstring_split( "", "\t\r\n", true, subpool );
// KURL nurl1 = url1;
// KURL nurl2 = url2;
@@ -1801,7 +1801,7 @@ svn_error_t *tdeio_svnProtocol::clientCertSSLPrompt(
// kdWarning()<<" Communication with dcop failed - fail to get certfile "<<endl;
// return SVN_NO_ERROR;
// }
-// if (replyType != TQSTRING_OBJECT_NAME_STRING) {
+// if (replyType != "TQString") {
// kdWarning()<<" unexpected reply type "<<endl;
// return SVN_NO_ERROR;
// }
@@ -1918,7 +1918,7 @@ svn_error_t *tdeio_svnProtocol::commitLogPrompt( const char **log_msg, const cha
return err;
}
- if ( replyType != TQSTRING_OBJECT_NAME_STRING ) {
+ if ( replyType != "TQString" ) {
kdWarning() << "Unexpected reply type" << endl;
svn_error_t *err = svn_error_create( SVN_ERR_EXTERNAL_PROGRAM, NULL,
apr_pstrdup( pool, "Fail to call kded_kdevsvnd via DCOP." ) );
@@ -1959,7 +1959,7 @@ void tdeio_svnProtocol::notify(void *baton, const char *path, svn_wc_notify_acti
userstring = i18n( "Copied %1 " ).arg( path );
break;
case svn_wc_notify_delete: //delete
- nb->received_some_change = TRUE;
+ nb->received_some_change = true;
userstring = i18n( "D %1" ).arg( path );
break;
case svn_wc_notify_restore : //restore
@@ -1981,11 +1981,11 @@ void tdeio_svnProtocol::notify(void *baton, const char *path, svn_wc_notify_acti
userstring=i18n("Skipped %1.").arg( path );
break;
case svn_wc_notify_update_delete: //update_delete
- nb->received_some_change = TRUE;
+ nb->received_some_change = true;
userstring=i18n( "D %1" ).arg( path );
break;
case svn_wc_notify_update_add: //update_add
- nb->received_some_change = TRUE;
+ nb->received_some_change = true;
userstring=i18n( "A %1" ).arg( path );
break;
case svn_wc_notify_update_update: //update_update
@@ -1997,7 +1997,7 @@ void tdeio_svnProtocol::notify(void *baton, const char *path, svn_wc_notify_acti
&& ((prop_state == svn_wc_notify_state_inapplicable)
|| (prop_state == svn_wc_notify_state_unknown)
|| (prop_state == svn_wc_notify_state_unchanged)))) {
- nb->received_some_change = TRUE;
+ nb->received_some_change = true;
if (kind == svn_node_file) {
if (content_state == svn_wc_notify_state_conflicted)
@@ -2073,10 +2073,10 @@ void tdeio_svnProtocol::notify(void *baton, const char *path, svn_wc_notify_acti
}
}
if (nb->in_external)
- nb->in_external = FALSE;
+ nb->in_external = false;
break;
case svn_wc_notify_update_external: //update_external
- nb->in_external = TRUE;
+ nb->in_external = true;
userstring = i18n("Fetching external item into %1." ).arg( path );
break;
case svn_wc_notify_status_completed: //status_completed
@@ -2104,7 +2104,7 @@ void tdeio_svnProtocol::notify(void *baton, const char *path, svn_wc_notify_acti
break;
case svn_wc_notify_commit_postfix_txdelta: //commit_postfix_txdelta
if (! nb->sent_first_txdelta) {
- nb->sent_first_txdelta = TRUE;
+ nb->sent_first_txdelta = true;
userstring=i18n("Transmitting file data ");
} else {
userstring=".";
@@ -2186,7 +2186,7 @@ void tdeio_svnProtocol::wc_resolve( const KURL& wc, bool recurse ) {
extern "C"
{
- KDE_EXPORT int kdemain(int argc, char **argv) {
+ TDE_EXPORT int kdemain(int argc, char **argv) {
TDEInstance instance( "tdeio_kdevsvn" );
kdDebug(9036) << "*** Starting tdeio_kdevsvn " << endl;
diff --git a/vcs/subversion/svnssltrustpromptbase.ui b/vcs/subversion/svnssltrustpromptbase.ui
index fc72c0d5..26e70c41 100644
--- a/vcs/subversion/svnssltrustpromptbase.ui
+++ b/vcs/subversion/svnssltrustpromptbase.ui
@@ -26,9 +26,6 @@
<property name="text">
<string></string>
</property>
- <property name="accel">
- <string></string>
- </property>
</widget>
<widget class="TQListView" row="1" column="0" rowspan="1" colspan="3">
<column>
@@ -64,9 +61,6 @@
<property name="text">
<string></string>
</property>
- <property name="accel">
- <string></string>
- </property>
</widget>
<widget class="TQPushButton" row="2" column="1">
<property name="name">
@@ -75,9 +69,6 @@
<property name="text">
<string></string>
</property>
- <property name="accel">
- <string></string>
- </property>
</widget>
<widget class="TQLabel" row="0" column="0" rowspan="1" colspan="3">
<property name="name">