summaryrefslogtreecommitdiffstats
path: root/vcs/subversion
diff options
context:
space:
mode:
Diffstat (limited to 'vcs/subversion')
-rw-r--r--vcs/subversion/commitdlg.cpp4
-rw-r--r--vcs/subversion/commitdlg.h4
-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
35 files changed, 146 insertions, 171 deletions
diff --git a/vcs/subversion/commitdlg.cpp b/vcs/subversion/commitdlg.cpp
index cd6fedab..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();
@@ -43,5 +43,3 @@ bool CommitDlg::eventFilter( TQObject* obj, TQEvent* ev )
}
#include "commitdlg.moc"
-
-//kate: space-indent on; indent-width 4; replace-tabs on; auto-insert-doxygen on; indent-mode cstyle;
diff --git a/vcs/subversion/commitdlg.h b/vcs/subversion/commitdlg.h
index 2f9d5a85..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 );
@@ -34,5 +34,3 @@ protected:
};
#endif
-
-//kate: space-indent on; indent-width 4; replace-tabs on; auto-insert-doxygen on; indent-mode cstyle;
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">