summaryrefslogtreecommitdiffstats
path: root/src/svnqt/exception.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/svnqt/exception.hpp')
-rw-r--r--src/svnqt/exception.hpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/svnqt/exception.hpp b/src/svnqt/exception.hpp
index b83269f..039f1a4 100644
--- a/src/svnqt/exception.hpp
+++ b/src/svnqt/exception.hpp
@@ -34,7 +34,7 @@
#include "svnqt/svnqt_defines.hpp"
// subversion api
#include "svn_client.h"
-#include <qstring.h>
+#include <tqstring.h>
namespace svn
{
@@ -42,33 +42,33 @@ namespace svn
/**
* Generic exception class.
*/
- class SVNQT_EXPORT Exception
+ class SVNTQT_EXPORT Exception
{
public:
/**
* Constructor. Assigns the exception reason.
*/
Exception (const char * message) throw ();
- Exception (const QString&message) throw();
+ Exception (const TQString&message) throw();
virtual ~Exception () throw ();
/**
* @return the exception message.
*/
- virtual const QString& msg() const;
+ virtual const TQString& msg() const;
/**
* @return the outermost error code.
*/
apr_status_t apr_err () const;
- static QString error2msg(svn_error_t*error);
+ static TQString error2msg(svn_error_t*error);
protected:
struct Data;
Data * m;
- void setMessage(const QString&);
+ void setMessage(const TQString&);
private:
@@ -83,7 +83,7 @@ namespace svn
/**
* Subversion client exception class.
*/
- class SVNQT_EXPORT ClientException : public Exception
+ class SVNTQT_EXPORT ClientException : public Exception
{
public:
/**
@@ -107,7 +107,7 @@ namespace svn
/**
* Constructor
*/
- ClientException (const QString&message) throw();
+ ClientException (const TQString&message) throw();
/**
* Copy constructor
@@ -120,11 +120,11 @@ namespace svn
ClientException () throw ();
ClientException & operator = (ClientException &);
- static QString getBackTrace();
+ static TQString getBackTrace();
void init();
/// backtrace from constructor;
- QString m_backTraceConstr;
+ TQString m_backTraceConstr;
};