diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-31 00:38:51 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-31 00:38:51 -0600 |
commit | 44ff5a3c798fe9c44df30cc898fbdffa44784d56 (patch) | |
tree | 7e804b8a5d5d8f4e653766a8a867972e5e39eb38 /kbabel/catalogmanager | |
parent | 5b6f5139f2f455cee37445c26a7036c76d7376bc (diff) | |
download | tdesdk-44ff5a3c798fe9c44df30cc898fbdffa44784d56.tar.gz tdesdk-44ff5a3c798fe9c44df30cc898fbdffa44784d56.zip |
Rename KShared
Diffstat (limited to 'kbabel/catalogmanager')
-rw-r--r-- | kbabel/catalogmanager/catalogmanagerview.cpp | 4 | ||||
-rw-r--r-- | kbabel/catalogmanager/libcvs/cvsdialog.cpp | 6 | ||||
-rw-r--r-- | kbabel/catalogmanager/libcvs/cvsdialog.h | 4 | ||||
-rw-r--r-- | kbabel/catalogmanager/libcvs/cvshandler.cpp | 6 | ||||
-rw-r--r-- | kbabel/catalogmanager/libcvs/cvshandler.h | 8 | ||||
-rw-r--r-- | kbabel/catalogmanager/libsvn/svndialog.cpp | 6 | ||||
-rw-r--r-- | kbabel/catalogmanager/libsvn/svndialog.h | 6 | ||||
-rw-r--r-- | kbabel/catalogmanager/libsvn/svnhandler.cpp | 6 | ||||
-rw-r--r-- | kbabel/catalogmanager/libsvn/svnhandler.h | 8 |
9 files changed, 27 insertions, 27 deletions
diff --git a/kbabel/catalogmanager/catalogmanagerview.cpp b/kbabel/catalogmanager/catalogmanagerview.cpp index de3ebf60..eab6c00e 100644 --- a/kbabel/catalogmanager/catalogmanagerview.cpp +++ b/kbabel/catalogmanager/catalogmanagerview.cpp @@ -1119,7 +1119,7 @@ void CatalogManagerView::cvsDiff( ) void CatalogManagerView::doCVSCommand( CVS::Command cmd, bool marked, bool templates ) { - KSharedConfig* config = _project->sharedConfig(); + TDESharedConfig* config = _project->sharedConfig(); if ( marked ) { if ( _markerList.isEmpty() ) return; TQStringList fileList; @@ -1231,7 +1231,7 @@ void CatalogManagerView::svnDiff( ) void CatalogManagerView::doSVNCommand( SVN::Command cmd, bool marked, bool templates ) { - KSharedConfig* config = _project->sharedConfig(); + TDESharedConfig* config = _project->sharedConfig(); if ( marked ) { if ( _markerList.isEmpty() ) return; TQStringList fileList; diff --git a/kbabel/catalogmanager/libcvs/cvsdialog.cpp b/kbabel/catalogmanager/libcvs/cvsdialog.cpp index 27eee88f..ce4c4985 100644 --- a/kbabel/catalogmanager/libcvs/cvsdialog.cpp +++ b/kbabel/catalogmanager/libcvs/cvsdialog.cpp @@ -60,7 +60,7 @@ #include "cvsdialog.h" -CVSDialog::CVSDialog( CVS::Command cmd, TQWidget * parent, KSharedConfig* config ) +CVSDialog::CVSDialog( CVS::Command cmd, TQWidget * parent, TDESharedConfig* config ) : KDialog( parent, "CVSDIALOG", true ), m_config( config ) { _cmd = cmd; @@ -373,7 +373,7 @@ TQString CVSDialog::statusOutput( ) void CVSDialog::readSettings( ) { - KSharedConfig * config = m_config; + TDESharedConfig * config = m_config; config->setGroup( "CVSSupport" ); if ( _cmd == CVS::Commit ) { @@ -404,7 +404,7 @@ void CVSDialog::readSettings( ) void CVSDialog::saveSettings( ) { - KSharedConfig * config = m_config; + TDESharedConfig * config = m_config; config->setGroup( "CVSSupport" ); if ( _cmd == CVS::Commit ) { config->writeEntry( "AutoAddFiles", autoAddBox->isChecked( ) ); diff --git a/kbabel/catalogmanager/libcvs/cvsdialog.h b/kbabel/catalogmanager/libcvs/cvsdialog.h index b62cccc9..3731148b 100644 --- a/kbabel/catalogmanager/libcvs/cvsdialog.h +++ b/kbabel/catalogmanager/libcvs/cvsdialog.h @@ -73,7 +73,7 @@ class CVSDialog : public KDialog * Constructor for creating the dialog. * @param cmd The type of command to be executed. */ - CVSDialog( CVS::Command cmd, TQWidget * parent, KSharedConfig* config ); + CVSDialog( CVS::Command cmd, TQWidget * parent, TDESharedConfig* config ); ~CVSDialog(); /** * Set the list of files which will be used for the CVS command. @@ -153,7 +153,7 @@ class CVSDialog : public KDialog KComboBox* m_encodingComboBox; /// Configuration data (of the KBabel project) - KSharedConfig* m_config; + TDESharedConfig* m_config; }; #endif // CVSDIALOG_H diff --git a/kbabel/catalogmanager/libcvs/cvshandler.cpp b/kbabel/catalogmanager/libcvs/cvshandler.cpp index d2b6c4eb..3b1c4b01 100644 --- a/kbabel/catalogmanager/libcvs/cvshandler.cpp +++ b/kbabel/catalogmanager/libcvs/cvshandler.cpp @@ -182,7 +182,7 @@ TQString CVSHandler::cvsStatus( const TQString& filename ) const return map[filename]; } -void CVSHandler::execCVSCommand( TQWidget* parent, CVS::Command cmd, const TQString& filename, bool templates, KSharedConfig* config ) +void CVSHandler::execCVSCommand( TQWidget* parent, CVS::Command cmd, const TQString& filename, bool templates, TDESharedConfig* config ) { if ( !_isPORepository ) { // This message box should never be visible but who knows... ;-) @@ -221,7 +221,7 @@ void CVSHandler::execCVSCommand( TQWidget* parent, CVS::Command cmd, const TQStr showDialog( parent, cmd, TQStringList( filename ), command, config ); } -void CVSHandler::execCVSCommand( TQWidget* parent, CVS::Command cmd, const TQStringList& files, bool templates, KSharedConfig* config ) +void CVSHandler::execCVSCommand( TQWidget* parent, CVS::Command cmd, const TQStringList& files, bool templates, TDESharedConfig* config ) { if ( !_isPORepository ) { // This message box should never be visible but who knows... ;-) @@ -270,7 +270,7 @@ void CVSHandler::setAutoUpdateTemplates( bool update ) _autoUpdateTemplates = update; } -void CVSHandler::showDialog( TQWidget* parent, CVS::Command cmd, const TQStringList& files, const TQString& commandLine, KSharedConfig* config ) +void CVSHandler::showDialog( TQWidget* parent, CVS::Command cmd, const TQStringList& files, const TQString& commandLine, TDESharedConfig* config ) { CVSDialog * dia = new CVSDialog( cmd, parent, config ); dia->setFiles( files ); diff --git a/kbabel/catalogmanager/libcvs/cvshandler.h b/kbabel/catalogmanager/libcvs/cvshandler.h index 8d3fb85f..f5a0b7a4 100644 --- a/kbabel/catalogmanager/libcvs/cvshandler.h +++ b/kbabel/catalogmanager/libcvs/cvshandler.h @@ -46,7 +46,7 @@ class TQString; class TQStringList; class TQWidget; -class KSharedConfig; +class TDESharedConfig; /** * This class is the backend for CVS support in Catalog Manager. @@ -79,8 +79,8 @@ class CVSHandler : public TQObject TQString fileStatus( const FileStatus status ) const; TQString cvsStatus( const TQString& filename ) const; - void execCVSCommand( TQWidget* parent, CVS::Command cmd, const TQString& filename, bool templates, KSharedConfig* config ); - void execCVSCommand( TQWidget* parent, CVS::Command cmd, const TQStringList& files, bool templates, KSharedConfig* config ); + void execCVSCommand( TQWidget* parent, CVS::Command cmd, const TQString& filename, bool templates, TDESharedConfig* config ); + void execCVSCommand( TQWidget* parent, CVS::Command cmd, const TQStringList& files, bool templates, TDESharedConfig* config ); void setAutoUpdateTemplates( bool update ); @@ -95,7 +95,7 @@ class CVSHandler : public TQObject void signalFilesCommitted( const TQStringList& ); private: - void showDialog( TQWidget* parent, CVS::Command cmd, const TQStringList& files, const TQString& commandLine, KSharedConfig* config ); + void showDialog( TQWidget* parent, CVS::Command cmd, const TQStringList& files, const TQString& commandLine, TDESharedConfig* config ); void checkToAdd( const TQStringList& files ); void processStatusOutput( const TQString& status ); void processDiff( TQString output ); 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 ); |