summaryrefslogtreecommitdiffstats
path: root/bibletime/backend/creferencemanager.h
diff options
context:
space:
mode:
Diffstat (limited to 'bibletime/backend/creferencemanager.h')
-rw-r--r--bibletime/backend/creferencemanager.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/bibletime/backend/creferencemanager.h b/bibletime/backend/creferencemanager.h
index 343e3ef..496e629 100644
--- a/bibletime/backend/creferencemanager.h
+++ b/bibletime/backend/creferencemanager.h
@@ -13,7 +13,7 @@
#define CREFERENCEMANAGER_H
//Qt includes
-#include <qstring.h>
+#include <tqstring.h>
#include "cswordmoduleinfo.h"
@@ -44,7 +44,7 @@ public:
* @param key The string which will contain the key after decoding
* @param type The type param will contain the reference type after decoding
*/
- static const bool decodeHyperlink( const QString& hyperlink, QString& module, QString& key, Type& type);
+ static const bool decodeHyperlink( const TQString& hyperlink, TQString& module, TQString& key, Type& type);
/**
* Returns a hyperlink used to be imbedded in the display windows.
* At the moment the format is sword://module/key
@@ -53,7 +53,7 @@ public:
* @param type The type which is used to encode the hyperlink
* @return The encoded hyperlink
*/
- static const QString encodeHyperlink( const QString module, const QString key, const Type type);
+ static const TQString encodeHyperlink( const TQString module, const TQString key, const Type type);
/**
* Puts a module Name and a Reference together in the 'draggable' form
* (module)reference
@@ -62,24 +62,24 @@ public:
* @return The encoded reference using module and reference
* @author Martin Gruner
*/
- static const QString encodeReference(const QString &module, const QString &reference);
+ static const TQString encodeReference(const TQString &module, const TQString &reference);
/**
* decodes a 'draggable' reference into a modulename and a reference
* @author Martin Gruner
*/
- static void decodeReference(QString &dragreference, QString &module, QString &reference);
+ static void decodeReference(TQString &dragreference, TQString &module, TQString &reference);
/**
* Returns true if the parameter is a hyperlink.
* @param hyperlink The string which is tested
* @return True if the passed string is a hyperlink
*/
- static const bool isHyperlink( const QString& hyperlink );
+ static const bool isHyperlink( const TQString& hyperlink );
/**
* Returns the preferred module name for the given type.
* @param type The type which is used to find the module
* @return The default module name for the passed type
*/
- static const QString preferredModule( const Type type );
+ static const TQString preferredModule( const Type type );
/**
* Returns the type of the passed module type
* @param type The CSwordModuleInfo module typpe
@@ -89,10 +89,10 @@ public:
struct ParseOptions {
- QString refDestinationModule;
- QString refBase; /* only valid for verse based destination modules*/
- QString sourceLanguage; /* only valid for verse based destination modules*/
- QString destinationLanguage; /* only valid for verse based destination modules*/
+ TQString refDestinationModule;
+ TQString refBase; /* only valid for verse based destination modules*/
+ TQString sourceLanguage; /* only valid for verse based destination modules*/
+ TQString destinationLanguage; /* only valid for verse based destination modules*/
ParseOptions() {
destinationLanguage = "en";
@@ -105,7 +105,7 @@ public:
* @param lang The language of the verse reference
* @param newLang The language of the reference, which will be returned. For example: If BibleTime using an english environment parses a spanish ref (lang=es) the returned ref should be in english (newLang=en), because his english standard module only understands en.
*/
- static const QString parseVerseReference( const QString& ref, const ParseOptions& options);
+ static const TQString parseVerseReference( const TQString& ref, const ParseOptions& options);
};
#endif