summaryrefslogtreecommitdiffstats
path: root/kbabel/catalogmanager/libsvn
diff options
context:
space:
mode:
Diffstat (limited to 'kbabel/catalogmanager/libsvn')
-rw-r--r--kbabel/catalogmanager/libsvn/svndialog.cpp6
-rw-r--r--kbabel/catalogmanager/libsvn/svndialog.h6
-rw-r--r--kbabel/catalogmanager/libsvn/svnhandler.cpp6
-rw-r--r--kbabel/catalogmanager/libsvn/svnhandler.h8
4 files changed, 13 insertions, 13 deletions
diff --git a/kbabel/catalogmanager/libsvn/svndialog.cpp b/kbabel/catalogmanager/libsvn/svndialog.cpp
index 083ce22d..cd859d21 100644
--- a/kbabel/catalogmanager/libsvn/svndialog.cpp
+++ b/kbabel/catalogmanager/libsvn/svndialog.cpp
@@ -57,7 +57,7 @@
#include "svndialog.h"
-SVNDialog::SVNDialog( SVN::Command cmd, TQWidget * parent, KSharedConfig* config )
+SVNDialog::SVNDialog( SVN::Command cmd, TQWidget * parent, TDESharedConfig* config )
: KDialog( parent, "SVN DIALOG", true ), m_tempFile( 0 ), m_config( config )
{
_cmd = cmd;
@@ -352,7 +352,7 @@ TQString SVNDialog::statusOutput( )
void SVNDialog::readSettings( )
{
- KSharedConfig * config = m_config;
+ TDESharedConfig * config = m_config;
config->setGroup( "SVNSupport" );
if ( _cmd == SVN::Commit ) {
@@ -381,7 +381,7 @@ void SVNDialog::readSettings( )
void SVNDialog::saveSettings( )
{
- KSharedConfig * config = m_config;
+ TDESharedConfig * config = m_config;
config->setGroup( "SVNSupport" );
if ( _cmd == SVN::Commit ) {
config->writeEntry( "AutoAddFiles", autoAddBox->isChecked( ) );
diff --git a/kbabel/catalogmanager/libsvn/svndialog.h b/kbabel/catalogmanager/libsvn/svndialog.h
index 4190a172..6024d01c 100644
--- a/kbabel/catalogmanager/libsvn/svndialog.h
+++ b/kbabel/catalogmanager/libsvn/svndialog.h
@@ -50,7 +50,7 @@ class TQTextEdit;
// Forwarding KDE classes
class TDEProcess;
class KTempFile;
-class KSharedConfig;
+class TDESharedConfig;
/**
* This class represents the dialog which is used for executing SVN commands
@@ -72,7 +72,7 @@ class SVNDialog : public KDialog
* Constructor for creating the dialog.
* @param cmd The type of command to be executed.
*/
- SVNDialog( SVN::Command cmd, TQWidget * parent, KSharedConfig* config );
+ SVNDialog( SVN::Command cmd, TQWidget * parent, TDESharedConfig* config );
~SVNDialog();
/**
* Set the list of files which will be used for the SVN command.
@@ -146,7 +146,7 @@ class SVNDialog : public KDialog
KTempFile* m_tempFile;
/// Configuration data (of the KBabel project)
- KSharedConfig* m_config;
+ TDESharedConfig* m_config;
};
#endif // SVNDIALOG_H
diff --git a/kbabel/catalogmanager/libsvn/svnhandler.cpp b/kbabel/catalogmanager/libsvn/svnhandler.cpp
index a643f18a..18c08580 100644
--- a/kbabel/catalogmanager/libsvn/svnhandler.cpp
+++ b/kbabel/catalogmanager/libsvn/svnhandler.cpp
@@ -274,14 +274,14 @@ TQString SVNHandler::svnStatus( const TQString& filename ) const
return map[filename];
}
-void SVNHandler::execSVNCommand( TQWidget* parent, SVN::Command cmd, const TQString& filename, bool templates, KSharedConfig* config)
+void SVNHandler::execSVNCommand( TQWidget* parent, SVN::Command cmd, const TQString& filename, bool templates, TDESharedConfig* config)
{
// Unlike cvs, svn works also from outside the repository(as long as the path is in a repository of course!)
// ### FIXME: wrong, svn commit cannot work if the current directory is not a SVN one
execSVNCommand( parent, cmd, TQStringList( filename ), templates, config );
}
-void SVNHandler::execSVNCommand( TQWidget* parent, SVN::Command cmd, const TQStringList& files, bool templates, KSharedConfig* config )
+void SVNHandler::execSVNCommand( TQWidget* parent, SVN::Command cmd, const TQStringList& files, bool templates, TDESharedConfig* config )
{
if ( !_isPORepository ) {
// This message box should never be visible but who knows... ;-)
@@ -336,7 +336,7 @@ void SVNHandler::setAutoUpdateTemplates( bool update )
_autoUpdateTemplates = update;
}
-void SVNHandler::showDialog( TQWidget* parent, SVN::Command cmd, const TQStringList& files, const TQString& commandLine, KSharedConfig* config )
+void SVNHandler::showDialog( TQWidget* parent, SVN::Command cmd, const TQStringList& files, const TQString& commandLine, TDESharedConfig* config )
{
SVNDialog * dia = new SVNDialog( cmd, parent, config );
dia->setFiles( files );
diff --git a/kbabel/catalogmanager/libsvn/svnhandler.h b/kbabel/catalogmanager/libsvn/svnhandler.h
index 4f2cda5c..57cc79ae 100644
--- a/kbabel/catalogmanager/libsvn/svnhandler.h
+++ b/kbabel/catalogmanager/libsvn/svnhandler.h
@@ -45,7 +45,7 @@
class TQString;
class TQStringList;
-class KSharedConfig;
+class TDESharedConfig;
/**
* This class is the backend for SVN support in Catalog Manager.
@@ -78,8 +78,8 @@ class SVNHandler : public TQObject
TQString fileStatus( const FileStatus status ) const;
TQString svnStatus( const TQString& filename ) const;
- void execSVNCommand( TQWidget* parent, SVN::Command cmd, const TQString& filename, bool templates, KSharedConfig* config );
- void execSVNCommand( TQWidget* parent, SVN::Command cmd, const TQStringList& files, bool templates, KSharedConfig* config );
+ void execSVNCommand( TQWidget* parent, SVN::Command cmd, const TQString& filename, bool templates, TDESharedConfig* config );
+ void execSVNCommand( TQWidget* parent, SVN::Command cmd, const TQStringList& files, bool templates, TDESharedConfig* config );
void setAutoUpdateTemplates( bool update );
@@ -94,7 +94,7 @@ class SVNHandler : public TQObject
void signalFilesCommitted( const TQStringList& );
private:
- void showDialog( TQWidget* parent, SVN::Command cmd, const TQStringList& files, const TQString& commandLine, KSharedConfig* config );
+ void showDialog( TQWidget* parent, SVN::Command cmd, const TQStringList& files, const TQString& commandLine, TDESharedConfig* config );
/// Check quickly if the file is part of a SVN repository
bool isInSvn( const TQString& path );
void checkToAdd( const TQStringList& files );