summaryrefslogtreecommitdiffstats
path: root/bibletime/bibletimeinterface.h
diff options
context:
space:
mode:
Diffstat (limited to 'bibletime/bibletimeinterface.h')
-rw-r--r--bibletime/bibletimeinterface.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/bibletime/bibletimeinterface.h b/bibletime/bibletimeinterface.h
index 0bab1f6..3eda81c 100644
--- a/bibletime/bibletimeinterface.h
+++ b/bibletime/bibletimeinterface.h
@@ -13,8 +13,8 @@
#define BIBLETIME_INTERFACE_H
//Qt includes
-#include <qstring.h>
-#include <qstringlist.h>
+#include <tqstring.h>
+#include <tqstringlist.h>
//KDE includes
#include <dcopobject.h>
@@ -33,25 +33,25 @@ class BibleTimeInterface : virtual public DCOPObject {
K_DCOP
public:
-BibleTimeInterface(QCString id) : DCOPObject(id) {}
+BibleTimeInterface(TQCString id) : DCOPObject(id) {}
k_dcop:
/** Sync all open Bible windows to the key.
* @param key The key which is set to all Bible windows.
*/
- virtual void syncAllBibles(const QString& key) = 0;
+ virtual void syncAllBibles(const TQString& key) = 0;
/** Sync all open commentary windows to the key.
* @param key The key which is set to all Commentary windows.
*/
- virtual void syncAllCommentaries(const QString& key) = 0;
+ virtual void syncAllCommentaries(const TQString& key) = 0;
/** Sync all open lexicon windows to the key.
* @param key The key which is set to all Lexicon windows.
*/
- virtual void syncAllLexicons(const QString& key) = 0;
+ virtual void syncAllLexicons(const TQString& key) = 0;
/** Sync all open verse based (i.e. Bibles and commentaries) windows to the key.
* @param key The key which is set to all Bible and Commentary windows.
*/
- virtual void syncAllVerseBasedModules(const QString& key) = 0;
+ virtual void syncAllVerseBasedModules(const TQString& key) = 0;
/** Reload all modules
*/
virtual void reloadModules() = 0;
@@ -59,11 +59,11 @@ k_dcop:
* @param moduleName The name of the module which is opened in a new module window.
* @param key The key to set to the newly opened window.
*/
- virtual void openWindow(const QString& moduleName, const QString& key) = 0;
+ virtual void openWindow(const TQString& moduleName, const TQString& key) = 0;
/** Open a new read window for the default Bible module using the given key
* @param key The key to set to the newly opened window.
*/
- virtual void openDefaultBible(const QString& key) = 0;
+ virtual void openDefaultBible(const TQString& key) = 0;
/** Close all open windows.
*/
virtual void closeAllModuleWindows() = 0;
@@ -80,32 +80,32 @@ k_dcop:
* [ISBE] [LEXICON] REDEMPTION
* @return The reference displayed in the currently active module window. Empty if none is active.
*/
- virtual QString getCurrentReference() = 0;
+ virtual TQString getCurrentReference() = 0;
/** Seach the searchText in the specified module.
* @param moduleName The module to search in
* @param searchText Search for this in the modules
* @return The search result. It's in the format [modulename] osis_ref_of_the_found_key. For example "[KJV] Gen.1.1".
*/
- virtual QStringList searchInModule(const QString& moduleName, const QString& searchText) = 0;
+ virtual TQStringList searchInModule(const TQString& moduleName, const TQString& searchText) = 0;
/** Search in all open modules and return the search result.
* The result is in the same format as searchInModule
* @param searchText Search for this in the modules
* @return The search result for a searchin all opened module windows
* @see searchInModule For the search result format.
*/
- virtual QStringList searchInOpenModules(const QString& searchText) = 0;
+ virtual TQStringList searchInOpenModules(const TQString& searchText) = 0;
/** Search in the default Bible module and return the search result.
* The result is in the same format as searchInModule
* @param searchText Search for this in the modules
* @return The search result for a search in the default Bible
* @see searchInModule
*/
- virtual QStringList searchInDefaultBible(const QString& searchText) = 0;
+ virtual TQStringList searchInDefaultBible(const TQString& searchText) = 0;
/** Return a list of modules of the given type.
* @param type One of BIBLES, COMMENTARIES, LEXICONS, BOOKS
* @return The list of modules of the given type, may be empty
*/
- virtual QStringList getModulesOfType(const QString& type) = 0;
+ virtual TQStringList getModulesOfType(const TQString& type) = 0;
};
#endif