diff options
Diffstat (limited to 'kbabel/catalogmanager/libsvn/svnhandler.h')
-rw-r--r-- | kbabel/catalogmanager/libsvn/svnhandler.h | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/kbabel/catalogmanager/libsvn/svnhandler.h b/kbabel/catalogmanager/libsvn/svnhandler.h index 67c86d73..4933cb92 100644 --- a/kbabel/catalogmanager/libsvn/svnhandler.h +++ b/kbabel/catalogmanager/libsvn/svnhandler.h @@ -36,8 +36,8 @@ #define SVNHANDLER_H // Qt include files -#include <qmap.h> -#include <qobject.h> +#include <tqmap.h> +#include <tqobject.h> // Project specific include files #include "svndialog.h" #include "svnresources.h" @@ -68,17 +68,17 @@ class SVNHandler : public QObject ERROR_IN_WC ///< The working copy has data that cannot be handled }; - SVNHandler( const QString& poBaseDir = QString::null, const QString& potBaseDir = QString::null ); + SVNHandler( const TQString& poBaseDir = TQString::null, const TQString& potBaseDir = TQString::null ); - void setPOBaseDir( const QString& dir ); - void setPOTBaseDir( const QString& dir ); + void setPOBaseDir( const TQString& dir ); + void setPOTBaseDir( const TQString& dir ); - FileStatus fstatus( const QString& filename ) const; - QString fileStatus( const FileStatus status ) const; - QString svnStatus( const QString& filename ) const; + FileStatus fstatus( const TQString& filename ) const; + TQString fileStatus( const FileStatus status ) const; + TQString svnStatus( const TQString& filename ) const; - void execSVNCommand( QWidget* parent, SVN::Command cmd, const QString& filename, bool templates, KSharedConfig* config ); - void execSVNCommand( QWidget* parent, SVN::Command cmd, const QStringList& files, bool templates, KSharedConfig* config ); + 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 setAutoUpdateTemplates( bool update ); @@ -90,26 +90,26 @@ class SVNHandler : public QObject signals: void signalIsPORepository( bool ); void signalIsPOTRepository( bool ); - void signalFilesCommitted( const QStringList& ); + void signalFilesCommitted( const TQStringList& ); private: - void showDialog( QWidget* parent, SVN::Command cmd, const QStringList& files, const QString& commandLine, KSharedConfig* config ); + void showDialog( TQWidget* parent, SVN::Command cmd, const TQStringList& files, const TQString& commandLine, KSharedConfig* config ); /// Check quickly if the file is part of a SVN repository - bool isInSvn( const QString& path ); - void checkToAdd( const QStringList& files ); - void processStatusOutput( const QString& status ); - void processDiff( QString output ); + bool isInSvn( const TQString& path ); + void checkToAdd( const TQStringList& files ); + void processStatusOutput( const TQString& status ); + void processDiff( TQString output ); private: - QString _poBaseDir; - QString _potBaseDir; + TQString _poBaseDir; + TQString _potBaseDir; bool _isPORepository; bool _isPOTRepository; bool _autoUpdateTemplates; - QString _addCommand; + TQString _addCommand; /** Mapping the output of 'svn status' against the filename. */ - QMap<QString,QString> map; + TQMap<TQString,TQString> map; }; class SVNOutputCollector: public QObject @@ -120,18 +120,18 @@ class SVNOutputCollector: public QObject SVNOutputCollector( KProcess* ); void setProcess( KProcess* ); - const QString& getOutput() const { return m_gatheredOutput; } - const QString& getStderr() const { return m_stderrOutput; } - const QString& getStdout() const { return m_stdoutOutput; } + const TQString& getOutput() const { return m_gatheredOutput; } + const TQString& getStderr() const { return m_stderrOutput; } + const TQString& getStdout() const { return m_stdoutOutput; } private slots: void slotGatherStderr( KProcess*, char*, int ); void slotGatherStdout( KProcess*, char*, int ); private: - QString m_gatheredOutput; - QString m_stderrOutput; - QString m_stdoutOutput; + TQString m_gatheredOutput; + TQString m_stderrOutput; + TQString m_stdoutOutput; KProcess* m_process; }; |