summaryrefslogtreecommitdiffstats
path: root/src/svnqt/url.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/svnqt/url.hpp')
-rw-r--r--src/svnqt/url.hpp30
1 files changed, 9 insertions, 21 deletions
diff --git a/src/svnqt/url.hpp b/src/svnqt/url.hpp
index 795d4c8..44c06a3 100644
--- a/src/svnqt/url.hpp
+++ b/src/svnqt/url.hpp
@@ -34,22 +34,14 @@
#include "svnqt/svnqt_defines.hpp"
// qt
-#include <qglobal.h>
-#if QT_VERSION < 0x040000
-
-#include <qstring.h>
-#include <qvaluelist.h>
-
-#else
-
-#include <QtCore>
-
-#endif
+#include <tqglobal.h>
+#include <tqstring.h>
+#include <tqvaluelist.h>
namespace svn
{
- class SVNQT_EXPORT Url
+ class SVNTQT_EXPORT Url
{
public:
/** Constructor */
@@ -67,7 +59,7 @@ namespace svn
* /home/foo/bar
*/
static bool
- isValid (const QString& url);
+ isValid (const TQString& url);
/**
* Checks if @a url points to a local filesystem.
@@ -75,10 +67,10 @@ namespace svn
* @return true if url is accessed local without network.
*/
static bool
- isLocal(const QString& url);
+ isLocal(const TQString& url);
- static QString
- transformProtokoll(const QString&);
+ static TQString
+ transformProtokoll(const TQString&);
/**
* returns a vector with url schemas that are
@@ -86,11 +78,7 @@ namespace svn
*
* @return vector with entries like "file:", "http:"
*/
-#if QT_VERSION < 0x040000
- static QValueList<QString>
-#else
- static QList<QString>
-#endif
+ static TQValueList<TQString>
supportedSchemas ();
};
}